Learn Basic CSS by Building a Cafe Menu - Step 14

Tell us what’s happening:
Describe your issue in detail here.
I’m confused here pls someone help
Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
    <style>
      h1, h2, p {
        text-align: center;
      }
    </style>
  </head>
  <body>
    <main>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>
/* file: styles.css */

/* User Editable Region */


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

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

/* User Editable Region */


Your browser information:

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

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

Link to the challenge:

so task basically says this

here is another file for you.
this file is for writing css only in it.

so take whatever is between style tags and copy-paste it in that file.
and dont forget - since file is already styles.css - this means you dont need style tags in that new file

2 Likes

To make it easier when editing multiple files, use the buttons in the editor


the console isn’t as useful until you start looking for errors or using JavaScript

Hello @Albert4!

This step wants you to take the information from the < style>

in your html file and enter it into the space provided when you start this step. Do not include the style element tags, just the information from within the style element.

If you look at the top of your screen, as @Guided shows in the screenshot, you will see that this is being added to your CSS file.

Hope this helps you!

Happy coding! :slight_smile:

1 Like

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