Toggling Cl*sses Error


#1

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!


#2

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


#3

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


#4


#5

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


#6

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


#7

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