So maybe less visual progres today: I just made sure that if the score is 0, then you gotta confirm that you’re scoring a zero. I’m getting better at recognizing that when I have a lot of repeting code, to start using functions
But sadly not for this, because I though that itll do the function, and then just record a zero without waiting for my input, so I added event listeners everywhere, and it worked so I’m not complaining. I caught a bug that if you hit no multiple times, then if you hit yes it logs multiple 0s, but the fix was ___Score.innerhtml = Score instead of ___Score.innerhtml += Score Then there was an issue where the confirmation window vertically stacked Yes and no, which is not what I wanted, but I forgot to add Position: absolute And lastly theres a bug where if you click multiple sections that can be 0, when you eventually click yes on one of them, it logs 0 to all I clicked. But I aint fixing that today, thats a tomorrow problem, so see you all tomorrow.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.