Cuéntanos qué está pasando:
Describe tu problema en detalle aquí.
Step 12
In the previous step, you used a type selector to style the h1
element. Center the h2
and p
elements by adding a new type selector for each one to the existing style
element.
este es el mandato, creo haberlo hecho bien pero no avanza y estoy estancado, ayuda por favor.
Tu código hasta el momento
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Cafe Menu</title>
<style>
h1{text-align: center;}
h2{text-align:center;}
p{text-align:center;}
</style>
</head>
<body>
<main>
<h1>CAMPER CAFE</h1>
<p>Est. 2020</p>
<section>
<h2>Coffee</h2>
</section>
</main>
</body>
</html>
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/15.3 Safari/605.1.15
Desafío: Aprende CSS básico construyendo un menú de cafetería - Step 12
Enlaza al desafío: