Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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

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
231,269 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.