DEV Community

Discussion on: Those silly mistakes we all make

Collapse
 
lewismenelaws profile image
Lewis Menelaws

Whenever I did jQuery code, I wouldn't understand why my code didn't execute. turns out I would forget the period in the selector... $('dropdown').show()

Collapse
 
philnash profile image
Phil Nash

I have the opposite! Now I have to kick myself every time I write document.getElementByID('#some-id'). 😅

Collapse
 
jonathanburnhill profile image
Jonathan Burnhill

I'm forever missing out the dot for a class so made a snippet that does it for me