Tell us what’s happening:
Describe your issue in detail here.
Hey guys,
I do hope you had a lovely day so far.
Can you help me out with this one? I don’t know what I did wrong. Maybe I got the exercise wrong, do you think you can explain it in other words ?
Would love to hear from you.
Loads of love,
Cleo
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Cafe Menu</title>
<!-- User Editable Region -->
<style> element { property: value center
; <h1>text-align</h1> }
</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:
Challenge: Learn Basic CSS by Building a Cafe Menu - Step 11
I don’t know what an property is nor where to place the ‘center’ element inside the ‘value’ property? Or do I need to type it right behind the property element?
ok you have this in the style element and setting a property
element {
property: value;
}
just in place of the element write h1, in place of property write ,text-align and in place of value write center. through practice and keep learning, you will understand them.
that’s a good thing you only need to delete the word elementproperty: and <h1></h1> since you already write them. and before your curly brace({) add only h1 no need opening tag(<>) and delete the last </h1>