Me dice que tengo problemas con mi h1 y body. Agradeceria su ayuda gracias (cap 25 - CCS basico)

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<style>
body {
  background-color: black;
  color: green;
  font-family: monoscape;
}

</style>

<h1>Hello world</h1>
  **Your browser information:**

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

Challenge: Inherit Styles from the Body Element

Link to the challenge:

Hola, @Jason1626 , pienso que primero deberías tener en cuenta la estructura general de un documento HTML. Esta es una muy buena guía:
https://www.w3.org/TR/html401/struct/global.html
Recuerda la estructura general es:

<!DOCTYPE html>
<html>
    <head>
        <title>First font size </title>
    </head>
    <body>


And so on...."

Espero te ayude.

1 Like

@Jason1626, the failing message says
Your body element should have the font-family property of monospace. Your h1 element should inherit the font monospace from your body element.

The failing messages are very helpful. Reading/using them is a skill you’ll need to develop.
Look at your spelling font-family: monoscape;

1 Like

Gracias por la ayuda, si tenia mal escrito el tipo de fuente. Gracias por la ayuda y el consejo :smiley: :+1:t2:

Si me funciono! gracias por la ayuda y consejos :+1:t2: :smiley:

1 Like

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