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()

Treehouse is being weird...

Treehouse is being really weird on this objective. I get the first two tasks right, but when I get to the third one, it says it's wrong and then it displays a communication error pop-up. I tried this in many different places connected to wifi but the same thing always happens. What am I doing wrong?

<!DOCTYPE html>
<html lang="en">
    <h1 class="profile-header"></h1>
    <p class="profile-text"></p>

    <script src="app.js"></script>
$('.profile-header').html("Student <span>Profile</span>")

4 Answers

I did, but I wouldn't think it would matter

Rachel Lev
Rachel Lev
14,583 Points

I also got the communication error pop-up, but after trying a few times It was fine..

No I didn't delete it. The other two tasks work fine, but its this one I have issues with