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

HTML HTML Forms HTML Mastery

Alison Hjul
Alison Hjul
2,355 Points

Forms Code Challenge

I'm stuck on question 7 - Set that text input to contain "Hello World". I'm sure I'm overlooking something obvious and basic but I keep trying things and they don't work.

3 Answers

Callum King
Callum King
6,470 Points

You need to add the value attribute inside your input tag, and the value would be Hello World.

<input type="text" value="Hello World" />
Alison Hjul
Alison Hjul
2,355 Points

Many thanks. I had been overcomplicating things by adding other attributes as well...