Aprende CSS básico construyendo un menú de cafetería - Paso 20

Cuéntanos qué está pasando:
My code is not working, even though I have the nested div inside the body. It keeps telling me that it’s not the case, and I don’t know why. I’ve tried different approaches, but indentation doesn’t seem to be the issue either
Tu código hasta el momento

CAMPER CAFE

Est. 2020

Coffee

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Cafe Menu</title>
    <link href="styles.css" rel="stylesheet"/>
  </head>

<!-- User Editable Region -->

  <body>
    <div>
      <main>
        <h1>CAMPER CAFE</h1>
        <p>Est. 2020</p>
        <section>
          <h2>Coffee</h2>
        </section>
      </main>
    </div>
  </body>

<!-- User Editable Region -->

</html>
/* file: styles.css */
body {
  background-color: burlywood;
}

h1, h2, p {
  text-align: center;
}

Información de tu navegador:

El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0

Challenge: Aprende CSS básico construyendo un menú de cafetería - Paso 20

Enlaza al desafío:

Hola @david.d.belenom !

No veo errores en tu código; inclusive probe ingresar la solución con la misma respuesta y me devolvio el mensaje de solución correcta. ¿Probaste realizar el ejercicio desde un navegador web diferente?

1 Like

debes agregar

al principio en donde tu lo pones

1 Like

Te falta una cosa para terminar, fíjate que dice en esta parte de la lección:

Dentro de la etiqueta div de apertura, agregue el atributo id con un valor de menu.

Saludos

1 Like

hi @Juanguillermosg
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.