Tell us what’s happening:
Describe your issue in detail here.
Help me solve lesson number 11 on the Build responsive website -CSS
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Cafe Menu</title>
<style>
</style>
</head>
<body>
<main>
<h1>CAMPER CAFE</h1>
<p>Est. 2020</p>
<section>
<h2>Coffee</h2>
</section>
</main>
</body>
</html>
Your mobile information:
vivo 2015 - Android 10 - Android SDK 29
Challenge: Learn Basic CSS by Building a Cafe Menu - Step 11
Link to the challenge:
system
August 23, 2024, 6:38pm
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!
1 Like
here’s a link that may help you
Let’s reread the instructions:
element {
property: value;
}
Center your h1 element by setting its text-align property to the value center.
In CSS, we write selectors that tell the browser which element(s) we want to style. To do this we follow a code template which is the one provided above.
We write the selector name which in this case is the name of the element h1
Then we write a {
Then on the following line we add the first property name which in this case is text-align
Then we writ…