Learn Basic CSS by Building a Cafe Menu - Step 14

Tell us what’s happening:
Well tried to find the post i made and its gone. So if you can read this or see my message I would like some assistance with the challenge number 14 building a “Coffee Menu” on this day July 26, 2023 at 12:11hrs(central)

And so far thats really probably the 30th time i have reset. by the time anyone reads this i will have reset at least 8 more times out of frustration. Have a super day

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
    <style>
      h1, h2, p {
        text-align: center;
      }
    </style>
  </head>
  <body>
    <main>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>
/* file: styles.css */

/* User Editable Region */

   rewriting> h1,h2,p
     file "styles.css"</rewriting>

/* User Editable Region */


Your browser information:

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

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

Link to the challenge:

<rewriting h1,h2,p
     file "styles.css" rewriting>

Moved things.

<style>
 h1,h2,p file="styles.css"
</style>

Cant think of other ways

<style>
 h1,h2,p selectors 
 file="style">styles.css
</style>

i gotta be close

I have now put spaces ahead of style. still nthing

I went thru and removed all the </> things

took out “style” and nothing

now i put those thing </> just on the end and beginning. and nothing.

You should not be using any style tags here. Then like the last challenge you want to follow the example I showed you

selector, selector, selector{
property: value;
}
1 Like
<style>
     h1,h2,p file=styles.css
</style>

what am i not getting?? raaahhhh

Delete the style tags. They are not needed

Remember what your selectors, property and value are?

2 Likes

This is a style tag. Do not use a style tag in your CSS.

1 Like
 h1,h2,p file=styles.css

It says no. What am i missing?

deleted those and still no, i have no clue

this does not look like the example I am showing you

selector, selector, selector{
property: value;
}

What are your selectors, property and value? Those need to replace the actual words. Remember how we did it in step 13?

file=styles.css needs to be removed because its not used here

You have the selectors correct, now you just need to add it in the format the example shows and add the property and value

1 Like
type or paste code here
```h1, h2, p {
  center: value;
}

We are getting closer! So if you remember from the html the property is going to text-align, and the value is center

1 Like
h1, h2, p {
  center: text-align;
}

still no. you know whats gonna happen like before. when I figure this out i will scream thru the app until i get stuck

very ver very close. Just switch around the center and text-align. text-align needs to go where center is and center needs to go where text-align is

2 Likes
h1, h2, p {
  center: text-align;
}

Nope