Tell us what’s happening:
Every test below 10 except 15 doesn’t pass
What could I be doing wrong?
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">
<title>Build an Event Flyer Page</title>
<link href="styles.css" rel="stylesheet"/>
</head>
<body class="body">
<header>
<img src="https://cdn.freecodecamp.org/curriculum/labs/event.jpg" class="header-image">
<h1>Festival Of Colors</h1>
<p>Come and experience the spurs and outpour of colors for 2025</p>
<p><b> When</b>: 4th Nov <b>Where</b>: Ikorodu Lagos</p>
</header>
<hr class="hr">
<main class="main">
<section class="section">
<h2>Festival Highlights</h2>
<p>Join this exciting train expecting</p>
<ul>
<li>Display of rich colors</li>
<li>Festival the Nigerian way</li>
</li>
<li>The people</li>
<li>The fun</li>
</section>
<section class="section">
<h2>Food Vendor </h2>
<p>Refuel your thirst and drive for life with our N01 food and pastry chef<b> BakingWithAnnie</b></p>
<ul>
<li>Banana Bread</li>
<li>Doughnuts</li>
<li> Cakes</li>
<li>MeatPies</li>
<li>Jollof Rice</li>
<li>fried rice</li>
<li>Chilled Zobo</li>
<li>etc</li>
</ul>
</section>
<hr class="hr">
<p>© Festival of colors</p>
</main>
</body>
</html>
/* file: styles.css */
.body{
box-sizing: border-box;
padding: 50px;
margin-top: 0;
margin-bottom: 0;
margin-left: auto;
margin-right: auto;
width: 100vw;
font-family: sans-serif;
text-align: center;
min-height: calc(100vh - 100px);
}
.hr{
width: 100%;
}
.section{
width: 100%;
}
.header image{
display: block;
height: auto;
margin: 0 auto;
max-width: 100%;
}
.main{
text-align: left;
}
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Challenge Information:
Build an Event Flyer Page - Build an Event Flyer Page