Learn Basic CSS by Building a Cafe Menu - Step 17

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

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
  <link rel="stylesheet" href="styles.css" />
</head>
<body>
  <header>
    <h1>CAMPER CAFE</h1>
    <p>Est. 2020</p>
  </header>
  <main>
    <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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36 Edg/103.0.1264.71

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

Link to the challenge:

Make sure to include a description of the issue you are facing. I don’t see a problem with your code, so I can’t try to help without an idea of what the problem is. Sometimes browsers can be an issue - perhaps try this in Chrome.

ohh I’ll do that next time…

This was the question: Now you need to link the styles.css file so the styles will be applied again. Nest a self-closing link element in the head element. Give it a rel attribute value stylesheet and an href attribute value of styles.css .

I also changed browsers from chrome to Microsoft edge…but still my answer is regected…

I tried the same step using my phone and it worked…

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