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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Tony Bourne](https://secure.gravatar.com/avatar/316813ada40cfabcdef88a41f4640012?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Tony Bourne
2,432 Pointsset that text input to contain "hello world".
Need help!
<!DOCTYPE html>
<html>
<head>
<title>HTML Mastery Challenge</title>
</head>
<body>
<h1>HTML Mastery Challenge</h1>
<!-- Write your code below -->
<div>
<h2>Shopping List</h2>
<ol>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
<p>A wild<strong>paragraph</strong>appears.</p>
<form>
<input type="text">
</form>
</div>
</body>
</html>
2 Answers
![Steven Parker](https://uploads.teamtreehouse.com/production/profile-photos/969492/micro_tool_chess_set_2.jpg)
Steven Parker
230,688 PointsUse the value attribute to give you input box initial contents.
<input type="text" value="Hello World">
Jason's example of using the placeholder attribute will make the text appear in the box, but it won't count as content.
![Eugene Hamric](https://secure.gravatar.com/avatar/1cbe68564b028018b72e8deac4c446f1?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Eugene Hamric
Courses Plus Student 273 PointsHere is the answer in full.
<!DOCTYPE html> <html> <head> <title>HTML Mastery Challenge</title> </head> <body> <h1>HTML Mastery Challenge</h1>
<!-- Write your code below -->
<div>
<h2>Shopping List</h2>
<ol>
<li>Apples</li>
<li>Bananas</li>
<li>Grapes</li>
</ol>
<p>I want to <strong>get me some chocolate</strong> now</p>
<form>
<input type="text" value="Hello World">
</form>
</div>
</body> </html>
Jason Egipto
9,185 PointsJason Egipto
9,185 PointsHey, try this:
<form> <input type="text" placeholder= "Hello World"> </form>
Goodluck!