Learn HTML Forms by Building a Registration Form - Step 54

Alguém me ajuda por favor, não consigo sair do passo 54, me digam o que está errado.

input, textarea { background-color: #0a0a23; border: 1px solid; color: #0a0a23;}

/* file: index.Ext.html */
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;
}

input,
textarea,
select {
  margin: 10px 0 0 0;
  width: 100%;
}
input, textarea { background-color: #0a0a23; border: 1px solid; color: #0a0a23;

 
.inline {
  width: unset;
  margin: 0 0.5em 0 0;
  vertical-align: middle;
}
    
/* file: styles.Ext.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;
}

input,
textarea,
select {
  margin: 10px 0 0 0;
  width: 100%;
}
input, textarea { background-color: #0a0a23; border: 1px solid; color: #0a0a23;

 
.inline {
  width: unset;
  margin: 0 0.5em 0 0;
  vertical-align: middle;
}
    

Your mobile information:

SM-A325M - Android 11 - Android SDK 30

Challenge: Learn HTML Forms by Building a Registration Form - Step 54

Link to the challenge:

It looks like you forgot the closing curly brace } on this rule set.

Also, the color for the border should be part of the border property, not a separate color property. Look at how you set the bottom border for the fieldset as an example.

1 Like

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