JavaScript jQuery Basics Introducing jQuery Using text() and html()

Jim Thome
Jim Thome
16,791 Points

Please, fix this quiz; it is broken.

The third part won't let me complete it. It asks to select the h1 element by class name, but then fails and says I didn't use the .profile-text. Profile-text is the class name for the paragraph element. After changing that, it asks if you used the text method, even though the string contains an HTML element. After changing that, it asks if I used the string 'I am a web developer'. Then, if I change that, it asks if I used the .profile-header selector. It's a loop...Please fix!

1 Answer

Steven Parker
Steven Parker
204,004 Points

Did you perhaps overlook the part of the instructions that say "Important: In each task of this code challenge, the code you write should be added to the code from the previous task."? The code from tasks 1 and 2 should remain as-is when you add the task 3 code after it.

If that's not the issue, please show the whole code you are entering for task 3.