Toggling Cl*sses Error


The instructions ask me to simply change .addClass to .toggleClass. Simple. However, when I do that ONE THING and submit the code, there's an error, "Oops, try again. Did you replace your .addClass() with a .toggleClass()?", that is preventing me from continuing the course. Help!


can you please post your .html and .js code here?


The html and js code are the same from the lesson right before this one. The only change was .addClass to .toggleClass.



Try changing 'div#text' in the parenthesis to only '#text' .


THANK YOU THANK YOU THANK YOU!!! That worked! I thought I was dead in the water with this.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.