Learn HTML Forms by Building a Registration Form - Step 49

Tell us what’s happening:

I selected all three elements in this way:
input,textarea, select{
margin: 10px 0 0 0 ;
width: 100%;
}

but gives me error(You should use a comma separated element selector to select the input, textarea, and select elements).

/* file: styles.css */
body {
  width: 100%;
  height: 100vh;
  margin: 0;
  background-color: #1b1b32;
  color: #f5f6f7;
  font-family: Tahoma;
  font-size: 16px;
}

h1, p {
  margin: 1em auto;
  text-align: center;
}

form {
  width: 60vw;
  max-width: 500px;
  min-width: 300px;
  margin: 0 auto;
}

fieldset {
  border: none;
  padding: 2rem 0;
  border-bottom: 3px solid #3b3b4f;
}

fieldset:last-of-type {
  border-bottom: none;
}

label {
  display: block;
  margin: 0.5rem 0;

/* User Editable Region */

input, textarea, select{
  width: 100%;
  margin: 10px 0 0 0;
}

/* User Editable Region */


Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Mobile Safari/537.36

Challenge Information:

Learn HTML Forms by Building a Registration Form - Step 49

you are missing a } curly brace for the label section (you may have erased it by mistake)

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.