Learn Basic CSS by Building a Cafe Menu - Step 15

Hello, yes I was told to go ahead and remove all the style.css element from the file and what am i doing wrong looking at this code snippet?

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

<!-- User Editable Region -->

  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
    <style>
      h1, h2, p {
                 text-align:center;
      }
      </style>
  </head>

<!-- User Editable Region -->

  <body>
    <main>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>
/* file: styles.css */
h1, h2, p {
  text-align: center;
}

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Safari/605.1.15

Challenge: Learn Basic CSS by Building a Cafe Menu - Step 15

Link to the challenge:

Hello!

It tells us to remove this now. And remove the < style > < /style>from the css files. leaving only the elements and selector.

Good progress! :slight_smile:

1 Like

Dude in it you just need to delete the <style></style> and leave

<head> content </head> :blush:

Thank you very much Grey…I am back at it gradually,

1 Like

Good that you are back at it.

Happy coding! :slight_smile:

1 Like

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