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 HTML Forms HTML Mastery

Yomi Huang
Yomi Huang
1,134 Points

Form challenge task: value attribute?

Hello, I just finished learning how to make forms. However I encountered a problem during the Challenge task. The task requires me to set the text input to contain "Hello, world."

But it says that: Bummer!Try setting the 'value' attribute on the text input.

Can anyone tells me what happens? Thanks for helping me

This is my code:

    <form>
        <input type="text" value="Hello World.">
    </form>

    ```

1 Answer

Hello Hsin-Yi,

Make sure the punctuation is correct. You can fail the challenge if it is not. Also, I noticed there is no name attribute in your code. That has to be there.

Jeff

Yomi Huang
Yomi Huang
1,134 Points

Thank you so much! I found out why i'm wrong cause I included the punctuation mark in it, which is a stupid typo. Thank you for your reply!