DEV Community

Discussion on: Looking for JavaScript/jQuery Resources to Write Cleaner, Concise Code (Code Examples Provided)

Collapse
 
mjericsson profile image
Matt Ericsson

This is exactly what I was hoping to hear.

The add/remove class recommendation makes total sense, I just hadn't thought of it that way. The chaning is something I want to try and avoid and make the code more generic. Good point on the document ready, I'll have to make an adjustment.

Excellent point on string literals, I could definitely utilize that to improve the readability.

Appreciate the insight!