Adding and Removing Classes


Oops, try again. Please follow the instructions on the Full Preview page to test your code.

I ran this code, the text was highlighted before I clicked on it. Not sure what I am doing wrong.
I followed the hint in the exercise and I looked at zystvan's solution.


Continuing the discussion from 6. Adding and Removing classes:


Your jQuery code is fine and with this jQuery code it shouldn't be highlighted before clicked on so probably an error in HTML or CSS ..

Please paste in your HTML and CSS code


3 posts were split to a new topic: Exercise doesn't work for me right now