Crear un formulario de solicitud de empleo - Construir un formulario de solicitud de trabajo

Cuéntanos qué está pasando:

ya he probado varias formas y sigue diciendo esto: 12. Debe usar el selector para la pseudo-clase :focus en input y textarea para también eliminar el contorno predeterminado cuando estén enfocados.

Tu código hasta ahora

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="styles.css"/>
    <title>Job Application Form</title>
</head>
<body>
    <h1>Job Application Form</h1>
    <div class="container">
     <form>
         <label for="name">Full name: </label>   
         <input type="text" id="name" placeholder="full-name" required/>

         <label for="email">Email: </label>
         <input type="email" id="email" placeholder="email-address" required/>

         <label for="position">Position </label>
         <select id="position">
         <option value="" disabled selected>Select a position</option>
         <option value="developer">Developer</option>
         <option value="designer">Designer</option>
         <option value="manager">Manager</option>
         </select>

         <fieldset class="radio-group">
            <legend>Availability</legend>
            <input type="radio" name="availability" id="full-time" value="full-time" required/>
            <label for="full-time">Full time </label>

            
            <input type="radio" name="availability" id="part-time" value="part-time" required/>
            <label for="part-time">Part time </label>
         </fieldset>

         <label for="message">Why do you want this job?</label>
         <textarea id="message" placeholder="Enter your motivation"></textarea>
         <button type="submit">Submit application</button>
    </form>
    </div>

</body>
</html>
/* file: styles.css */
body {
  padding: 0;
  margin: 0;
  font-family: arial, serif;
  background-color: whitesmoke; 
}
h1 {
  text-align: center;
  
}
form {
  display: flex;
  flex-direction: column;
  padding: 10px;

}
.container{
  padding: 20px;
  border: 1px solid gray;
  box-shadow: 0 5px gray
}

input:focus, textarea:focus {
  outline: none;
  border-color: green; 
}

input, select, textarea, fieldset {
  margin: 5px;
  padding: 5px;
  border-radius: 5px;
}
input:invalid, select:invalid, textarea:invalid {
border-color:red;
}
input:valid, select:valid, textarea:valid {
border-color: green;
}
button {
  cursor: pointer;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;background-color: blue;
  border: none;
  margin-top: 10px;
  color: white;
}
button:hover {
  background-color: purple;

}
  
.radio-group input[type="radio"]:checked {
  border-color: green;
  background-color: #3ab778;
  box-shadow: 0 0 5px rgba(137, 141, 147, 0.5);
  
}
.radio-group input[type="radio"]:checked + label  {
  color: green;

}
input:first-of-type {
    border: 2px solid green;
    background-color: #E6F0FA;
    font-weight: arial;
}

Información de tu navegador:

El agente de usuario es: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/27.0 Safari/605.1.15

Información del desafío:

Crear un formulario de solicitud de empleo - Construir un formulario de solicitud de trabajo

Enlace de GitHub: i18n-curriculum/curriculum/challenges/espanol/blocks/lab-job-application-form/66faac4139dbbd5dd632c860.md at main · freeCodeCamp/i18n-curriculum · GitHub

Hi @franzel

Your solution works from my end. Please try one of the following steps to move forward.

Click on the “Restart Step” button and force a refresh of your page with CTRL + F5 then try to paste the code in again.

or - Try the step in incognito or private mode.

or - Disable any/all extensions that interface with the freeCodeCamp website (such as Dark Mode, Ad Blockers, or Spellcheckers), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

or - Ensure your browser is up-to-date or try a different browser.

I hope one of these will work for you.

Happy coding