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 Organizing Forms The Label Element

Keith Corona
Keith Corona
9,553 Points

"Name" input field is not grey or sized like the other input boxes, problem?

My code is ok from what I can tell, is this just a bug?

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Sign Up Form</title>
        <link rel="stylesheet" href="css/normalize.css">
        <link href='http://fonts.googleapis.com/css?family=Nunito:400,300' rel='stylesheet' type='text/css'>
        <link rel="stylesheet" href="css/main.css">
    </head>
    <body>
      <form action="index.html" method="post">

          <h1>Sign Up</h1>

          <label for="name">Name:</label>
          <input type="type" id="name" name="user_name">
          <input type="email" id="email" name="user_email">
          <input type="password" id="password" name="user_password">



          <textarea id="bio" name="user_bio"></textarea>


          <button type="submit">Send Comment</button>


      </form>


    </body>
</html>

1 Answer

Tobias Mahnert
Tobias Mahnert
89,414 Points

have you tried make it an Input field text and checked the CSS values?

<input type="type" id="name" name="user_name">

to

<input type="text" id="name" name="user_name">
Keith Corona
Keith Corona
9,553 Points

Great eye, Tobias. Thank you much. That cleared it up.

Tobias Mahnert
Tobias Mahnert
89,414 Points

no worries bro, happy coding