Tell us what’s happening:
in css my code doesn’t work , for exemple my body don’t change anything but i used the hints to fix it but it still says it wrong and i can’t seem to fix the mistake
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Build an Event Flyer Page</title>
</head>
<body class="body">
<header>
<img src="https://cdn.freecodecamp.org/curriculum/labs/event.jpg" alt="party-flags in diffrent colors">
<h1>Zomerfestival Loft</h1>
</header>
<hr>
<main>
<section class="section">
<h2>Festival Highlights</h2>
<ul>
<li>Musis Park</li>
<li>Jas Park</li>
<li>Meer Park</li>
</ul>
</section class="section">
<section>
<h2>Special Guests</h2>
<ul>
<li>Jeanet Nabi</li>
<li>Loraine Laurens</li>
</ul>
</section>
</main>
<hr>
</body>
</html>
/* file: styles.css */
.body {
margin-top: 0;
margin-bottom: 0;
margin-left: auto;
margin-right: auto;
min-height: calc(100vh-100px);
padding-top: 50px;
padding-bottom: 50px;
width: 100vw;
height: 100vh;
}
.section {
width: 100%;
}
hr {
width: 1%;}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36
Challenge Information:
Build an Event Flyer Page - Build an Event Flyer Page