Yompso
New Coder
So I recently started coding with Free code camp, and I have a bit of trouble with using <style>, I am trying to give the text-align property the value of center, but it does not work, can you help me?, here's my code:
HTML:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" >
<title>Cafe Menu</title>
<style>
h1 {property:text-align value;center}
</style>
</head>
<body>
<main>
<h1>CAMPER CAFE</h1>
<p>Est. 2020</p>
<section>
<h2>Coffee</h2>
</section>
</main>
</body>
</html>
Last edited: