DEV Community


Discussion on: Those silly mistakes we all make

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()

philnash profile image
Phil Nash Author

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

jonathanburnhill profile image
Jonathan Burnhill

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