The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Javacript Novice Reply To: Javacript Novice


While I agree with everyone else in that you would benefit on firming up your fundamentals on HTML/CSS before trying to tackle Javascript, I would advise you to eventually look up “Selectors”, as that is the terminology that you are looking for regarding how to have Javascript interact with specific Classes and IDs.

For example, in jQuery it might look like this:


In jQuery, this would take all instances where the class .btn-action was applied and hide that element.