It's sort of a blessing and a curse that spelling errors can break the code for everyone at any level.
Today, I had the console show me right where things were problematic (LPT: use the console), but I was so focused on trying to make sense of the function (BUT IT IS A FUNCTION, I SWEAR) that I didn't notice the addEventrListener
itself.
Easier said than done I'm sure, but I probably could've saved more time if I took things slow from the start.
Top comments (0)