Design a Cafe Menu - Step 17

Tell us what’s happening:

Keep getting an error saying I should have to meta elements. Please point in the right directions.

Your code so far

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

<!-- User Editable Region -->

  <head>

    <meta charset="utf-8" />

    <meta name="viewport"
  content="width=device-width, initial-scale1.0" />

    <title>Cafe Menu</title>
    <link href="styles.css" rel="stylesheet"/>
  </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 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Mobile Safari/537.36

Challenge Information:

Design a Cafe Menu - Step 17
https://www.freecodecamp.org/learn/full-stack-developer/workshop-cafe-menu/step-17

Welcome to the forum :wave:

When I paste your code into the editor I get this error:

// running tests
1. Your code should have two meta elements.
3. Your meta element should have a content attribute with a value of width=device-width, initial-scale=1.0.
// tests completed

Read #3 again, and look carefully at the attribute.

Double check your syntax against the example code.

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