Build a Stylized To-Do List - Build a Stylized To-Do list

Tell us what’s happening:

mis elementos a no deben tener ningun tipo de decoracion de texto, ya intente el ejercicio de varias maneras posibles y no encuentro solucion

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>Styled To-Do List</title>
    <link rel="stylesheet" heref="estilos.css">
</head>

<body>
  <ul class="todo-list">
    <li>
      <input type="checkbox" id="todo-1">
      <label for="todo-1">Tarea 1</label>
      <ul class="sub-item">
        <li>
          <a href="#" class="sub-item-link" target="_blank">Enlace 1</a>
        </li>
      </ul>
    </li>
    <li>
      <input type="checkbox" id="todo-2">
      <label for="todo-2">Tarea 2</label>
      <ul class="sub-item">
        <li>
          <a href="#" class="sub-item-link" target="_blank">Enlace 2</a>
        </li>
      </ul>
    </li>
    <li>
      <input type="checkbox" id="todo-3">
      <label for="todo-3">Tarea 3</label>
      <ul class="sub-item">
        <li>
          <a href="#" class="sub-item-link" target="_blank">Enlace 3</a>
        </li>
      </ul>
    </li>
    <li>
      <input type="checkbox" id="todo-4">
      <label for="todo-4">Tarea 4</label>
      <ul class="sub-item">
        <li>
          <a href="#" class="sub-item-link" target="_blank">Enlace 4</a>
        </li>
      </ul>
    </li>
  </ul>

</body>

</html>
/* file: styles.css */
/* Elimina por completo cualquier decoración de texto en cualquier estado */
a, 
a:link, 
a:visited, 
a:hover, 
a:focus, 
a:active, 
.sub-item-link {
    text-decoration: none !important;
}

/* --- Resto de tus estilos de color y contorno --- */

/* Prueba 15: Enlaces no visitados */
a:link {
    color: #0066cc;
}

/* Prueba 19: Enlaces visitados */
a:visited {
    color: #551a8b;
}

/* Prueba 18: Contorno al enfocar con teclado */
a:focus {
    outline: 2px solid #ffcc00;
}

/* Prueba 16: Color al pasar el cursor (Ajusta el color si lo deseas) */
a:hover {
    color: #0066cc; 
}

/* Prueba 17: Color al hacer clic (Ajusta el color si lo deseas) */
a:active {
    color: #551a8b;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36

Challenge Information:

Build a Stylized To-Do List - Build a Stylized To-Do list

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-stylized-to-do-list/66c051d13a6a20255a963695.md at main · freeCodeCamp/freeCodeCamp · GitHub

Welcome to the forum @hotelbahiaii

Replace your link element in the header with this one:

<link rel="stylesheet" href="styles.css">

You should only have one selector. Try removing the pseudo selectors and the class selector.

Happy coding