Using your new flavor class as a selector, set the text-align property's value to left

Tell us what’s happening:
I am stuck on this challenge and I’m not sure what the issue is. I need to use a selector (flavor) to {left-align} some text. Below is the code I have inputted but I get an error message:

.flavor={text-align: left}

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
  <link rel: "stylesheet" type="text/css" href="styles.css" </link>
  <meta charset="utf-8"/>
  <title>Cafe Menu</title>
    <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

Challenge: Step 17

Link to the challenge:

the link tag has no closing tag its a self closing tag like this <link />. also replace : with = after rel attribute

Got it, thanks!

{text-align: left}

Had a = when I didn’t need one. Solved!

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