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 trialSAMUEL LAWRENCE
Courses Plus Student 8,447 Pointshi guys in this course on forms in the code challenge we were asked to "Set that text input to contain "Hello World".
hi guys in this course on forms in the code challenge we were asked to create an input form and "Set that text input to contain "Hello World". but I went back over the entire course looked at the transcript and there was nothing on how to do that. does anyone know?in the tip it said "Try setting the 'value' attribute on the text input.' I did like so,
<form>
<input type="text" name="username" value="Hello World." />
</form> but it says this is wrong.
2 Answers
Sreng Hong
15,083 PointsYour value should be "Hello World" without period
SAMUEL LAWRENCE
Courses Plus Student 8,447 PointsHi thanks for your reply. I already solved the problem. Thanks
Aurelian Spodarec
7,369 PointsAurelian Spodarec
7,369 PointsI dont know if you posted all but could you post your code on here or codepen?
Not sure what you need but from my look it looks like you have only one cosing tag </form> that should be at the end and it should start with <form>
Why do you need label? could you paste the link of the challenge here?
;d eather the code was modified or i had and page load error