Tell us what’s happening:
Describe your issue in detail here.
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Cafe Menu</title>
<!-- User Editable Region -->
<style {h1="text-center"}>
</style>
<!-- User Editable Region -->
</head>
<body>
<main>
<h1>CAMPER CAFE</h1>
<p>Est. 2020</p>
<section>
<h2>Coffee</h2>
</section>
</main>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15
Challenge Information:
Learn Basic CSS by Building a Cafe Menu - Step 11
1 Like
system
February 11, 2024, 4:49pm
2
You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!
Close!
first set up your style tags like this:
<style>
</style>
than in between these tags you’ll be writing CSS syntax like this:
selector {
property: value;
}
h1 = your selector.
text-align: = your property.
center; = your value.
Good luck!
1 Like
Welcome to FFC forum. You need to add h1 selector between the style opening and closing tags and add text-align property value center within { } brackets.
Example
Tag {property: value; }
@Kuritchan
2 Likes
thanks, I got it now, didn’t need to open a tag for “h1” sometimes I’m thinking too much. thank you very much.
1 Like
Thank you very much. You did a very good exemple this way I couldn’t miss.
2 Likes
Your most welcome. I appreciate you thoughts.
2 Likes
system
Closed
August 12, 2024, 5:20am
8
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.