Hi, im stuck in this exercise, please help :(

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

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Cafe Menu</title>
  <link href="styles.css" rel="stylesheet"/>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
/* file: styles.css */
body {
background-color: burlywood;

h1, h2, p {
text-align: center;

width: 80%;
background-color: burlywood;
margin-left: auto;
margin-right: auto;
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.115 Safari/537.36 OPR/88.0.4412.53

Challenge: Step 27

Link to the challenge:

this is invalid syntax:


this is valid syntax:


In the styles.css file you didn’t name the style class correctly
It should be “.menu{” instead of “.class-name:.menu{”

And you’ll also need to mention the class name in the HTML file at the

tag as show in this link CSS .class Selector

1 Like

hii, thanks i solved it :))))

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