Welcome to the Treehouse Community
Looking to learn something new?
Stuck on a code challenge and can't figure out what I'm doing wrong.
This is the code I am writing and I keep getting the "bummer" notification.
//Select Input with the id of #fullName $( "#fullName" ).val();
I've checked the docs and asked a few friends but I can't find the problem.
Hey Andrea, you're doing everything right except passing a value.. The question is worded funny because the answer only needs to be on one line and it separates the question into two.
//Show Prompt Window and store value var fullName = prompt("What is your full name?");
//Select Input with the id of #fullName $("#fullname).val(); <---- this is correct, you've selected the input with the id of #fullName //Insert value in to full name input <-----this is what you didn't do
** The value you need to insert is the text from the prompt dialog box, which is stored where? In the var fullName ** SO, the value you need to insert is? fullName
Final Answer: $("fullName").val(fullName);
Hope this helps!
The help is much appreciated. :)
Thanks falk sorry bout the typo!