I need help number 6


#1


#2

Hi Shelby,

The dot (.) in front of a class name signifies that it's a class, rather than an #id or a tag name. But with add/remove/toggleClass(), the program knows it's getting a class as an input, so the dot isn't necessary :)

Also, make sure you're clicking #text in the full preview page, and waiting two seconds between each action (full preview page opens > 2s > click #text > 2s > go back to the editor)


#3

i dont understand


#4

Sorry, I should've been more clear I guess :)

               /* ↓ no dot here */
$(this).addClass('highlighted');
    /* ↑ dot here */

#5

oh ok thanks for the help