Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

General Discussion

Perform Part4 code challenge question.

I am on chalenge 1 of 1 the question is as follows:On line 29 of app.js, add the text of captionText to the $caption paragraph.

I rewatched the video and checked the code in the app.js for the question and the code is the same.

In the video this task is accomplished by adding the below code: $captain.text(captainText);

When i do the same thing to the question it does not work.

May somebody help me with this please. Thank You in advance.

2 Answers

Naomi Freeman
STAFF
Naomi Freeman
Treehouse Guest Teacher

$caption.text(captionText);

down near the bottom (like 3 lines up from the bottom of the code), not in the top one.

Also, in your example, I see you typing "captain" not "caption".

Let me know if you need anything else :)

LOL thanks so much summerspirit this is what happens when u spend 2 much time around the sea :D .