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>
  <link rel="stylesheet" href="styles.css">
  <meta charset="utf-8">
  <title>Cafe Menu</title>
</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 (X11; Ubuntu; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0

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

Link to the challenge:

I got your code to submit. I think your best course of action would be to reset the challenge by hitting the check button repeatedly. This will step you back to what your code looked like finished on step 16. This will remove any potential syntax errors and all you have to do is put your link element back.

Hope this is helpful!

I’ll try that.Thank you

It didn’t work. Are you sure that my code is correct?

I look again just to see if I missed something.

1 Like

I can’t seem to get it to not submit for my side. Can you try pasting your code in your post into your browser? That’s the only thing I can really see happening: all your elements have closing tags, your CSS is correct and it submits for me.

If that last post didn’t help you, one potential error may be your comments. I didn’t grab them in my copy paste because I didn’t think they were in your project. But if they are, you probably need to rewrite /* file: index.html */. While this is the correct code for a CSS comment, html comments are written like this <!-- I'm an html Comment -->. If it is in there, it will cause your code to break.

yeah just skip and keep going to 18 step, i copy whole from there and still refuse to complete and yes i can pass step 18

it seem something just not right, i ain’t given comment at all because no one asked either so… yeah wish they fix it soon

[quote=“Tokuinary, post:9, topic:529639”]
ai
[
I changed browsers (from firefox to chrome) and it worked for some reason.