Issues with first jQuery project (Bonsai)


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/en/courses/jquery-ext/projects/jquery-prj_bonsai

<In what way does your code behave incorrectly? Include ALL error messages.>
I’m not getting any error messages–it just doesn’t work.

```

('#top-text').keyup(function() { var topcaption = (’#top-text’).val();
$(‘top-caption’).text(topcaption);
});

('#bottom-text').keyup(function() { var bottomcaption = (’#bottom-text’).val();
$(‘bottom-caption’).text(bottomcaption);
});

('#image-url').keyup(function() { var imageurl = (’#image-url’).val();
$(‘img’).attr(‘source’,imageurl);
});

<do not remove the three backticks above>

#2

Which exercise are you on?


#3

I guess it would be considered Exercise 6? It’s the first project in the jQuery Projects section of the syllabus–after all of the exercises.


#4

Sorry, I’m not a Codecademy Pro user. Try asking around.


#5

you forgot the . in ('.top-caption') *line 3* as well as in (’.bottom-caption’). not entirely sure what’s wrong with the image portion. If I figure it out I’ll post it here.

** So you do just need to change ('img') to (’.img’) Once you do that click save, then click the link in the objective section (Here’s what it looks like). It will show up correct there, mine still doesn’t work in the preview window though.