Learn Basic CSS by Building a Cafe Menu - Step 18

Tell us what’s happening:
i know that this code makes it possible for the page to be viewed on a phone, but i want to know what the content attribute and the viewport do. or is it later explained in the next lesson

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
  <meta name='viewport' content='width=device-width, initail-scale=1.0' />
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
  <link href="styles.css" rel="stylesheet"/>
    <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/101.0.4951.67 Safari/537.36 Edg/101.0.1210.56

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

Link to the challenge:

The little things will kill you :slight_smile: You’ve got a typo here. Should be “initial-scale”. I highly recommend you copy/paste from the instructions if possible to avoid these types of errors.

alright man thanks again

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