Learn Basic CSS by Building a Cafe Menu - Step 17

Tell us what’s happening:
i have tried to input the code but it keeps saying my code doesn’t pass

Your code so far

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

<!-- User Editable Region -->

    <meta charset="utf-8" />
    <title>Cafe Menu</title>
    <link href="styles.css" rel="stylesheet"/>
    <meta name="viewport"/> 
    <meta content="width=device-width, initial-scale1.0"/>

<!-- User Editable Region -->

      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
/* 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/ Safari/537.36 Edg/110.0.1587.63

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

Link to the challenge:

Welcome to our community!

The issue here is that you have made two meta tags instead of one. Take a look at the instruction. This is one code line.

1 Like

but they said i should have 2 meta elements

Post your code here again.

Of course, you should have two meta elements. One is <meta charset="utf-8" />, and the second is the one in question.