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 trial

General Discussion

Set that text input to contain "Hello World"

Can someone please help me with this stupid question? I have been on this question now for almost an hour and I feel like quitting and get off this service. I've tried everything and there are people on here saying that they have found the solution, well, it would be nice if you could share it.

Sorry for the rant. I'm just frustrated.

5 Answers

Hey Phil,

Sorry to hear that you're having problems, but we'll need more information on the problem that you're facing. What challenge and track are you on?

Hey David,

Actually, this is like the second to last question (task 7 of 8) from the HTML code challenge. Sorry for the lack of info.

I went back through and did the quiz real quick to make sure I knew what it was asking for myself.

I'm sure somewhere in the lesson they probably covered this, but on an input element, there are many different attributes we can give it, to do different things.

One way we can set text inside of an input element is through the value attribute. I want to teach you to fish, not just give you a fish, so without giving you the answer, but now knowing you need to set the value attribute of the input field to equal the text "Hello World" can you figure it out?

Thanks for the assist Kevin Korte .

Thanks! I figured it out!

i have try <input type="text" value="Hello World"> <input type="submit" value="Hello World"> and this <input type="text" name="Hello World" value="Hello World"> .Still give me Bummer! Try setting the 'value' attribute on the text input.