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 trialSusan Stufflebean
7,466 PointsWhy is this not passing?
I believe I have the code written correctly and have the Jquery method calling the profile-header to html?
<!DOCTYPE html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<h1 class="profile-header"></h1>
<p class="profile-text"></p>
<script
src="jquery-3.2.1.min.js"></script>
<script src="app.js"></script>
</body>
</html>
$('.profile-text').text("I am a web developer");
$(".profile-header").html("Sudent <span>Profile</span>");
4 Answers
Steven Parker
231,261 PointsIt's just a typo. You have "Sudent" instead of "Student".
Otherwise, your code is good!
Susan Stufflebean
7,466 PointsOh my thanks so much! It can just be the smallest thing huh?
Steven Parker
231,261 PointsComputers are notoriously persnickety!
Susan Stufflebean
7,466 PointsLOL I can see where spelling is critical but I must say it gets frustrating when it is something that simple and I don't notice it. Ugh!!!!
love Bugs
2,121 Pointslooks like you spelt 'Student' wrong
$(".profile-header").html("Sudent <span>Profile</span>");