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 trialCAMERON MCTAGGART
Courses Plus Student 1,031 PointsCannot Finish Code Challenge!!!!
Hi Guys,
I am stuck on HTML Mastery code challenge task 7. It asks for me to "Set that text input to contain "Hello World". I am assuming it means the <textarea>
tag??? I have tried everything I can think of but have come up with nothing :(
Please Help!!!
5 Answers
Chase Lee
29,275 PointsYou want to have input
tag(s) I'm not sure if it's a self closing tag.
If it is a self closing tag then put in the key word value
an =
and in between quotes place the value of Hello World
.
I hope that's right
Matt Campbell
9,767 PointsIs it asking you to give a placeholder VALUE to the input box so that there's something there before someone starts typing?
CAMERON MCTAGGART
Courses Plus Student 1,031 PointsI've tried the placeholder option, this is the error message: Bummer! Try setting the 'value' attribute on the text input.
Jacob Miranda
19,392 Pointsthat is correct, the attribute you are looking to use is "value" try putting that within the input element and giving it the appropriate value. For example
<a href="www.teamtreehouse.com"> </a>
the 'href' portion is the attribute and "www.teamtreehouse.com" is the value.
Unfortunately, I can't give you the answer, I want you to learn by understand and working through it yourself, but the above tips and help should get you where you need. Good luck and happy coding!
CAMERON MCTAGGART
Courses Plus Student 1,031 PointsThanks for all your help!