Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Arikaturika Tumojenko8,897 Points
Task 7 is no longer passing - what is wrong with my code?
I'm trying to add a button to my code after I passed the 7th step of the challenge but after I add it, I can't get pass the 8th step. This is my code. Thx.
<div> <h2>Shopping List</h2> <ol> <li></li> <li></li> <li></li> </ol> <p>This <strong>is</strong> some code.</p> <form> <input type="text" value="Hello world"> <input type="button" value="Submit"> </form> </div>
The issue is that task 7 specifically wants the
value to be set to "Hello World" (With both words starting with a capital letter). Since "World" is not capitalized in your code it does not accept it. Code challenges tend to be very picky about capitalization.
Your code for task 8 is not quite correct either though. There is a input type called submit which is explicitly designed to create a submit button which is what the task is looking for.
Jack Cummins17,417 Points
<input type="text" name="Hello World" value="Hello World"> /**Instead of**/ <input type="text" value="Hello world">