Tell us what’s happening:
I am stuck on this. It seems like that my css file is not linking. I don’t know where the mistake is. please help!
Thanks!
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" href="style.css">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Build an Event Flyer Page</title>
<link rel="stylesheet" href="style.css">
</head>
<header>
<img src="https://cdn.freecodecamp.org/curriculum/labs/event.jpg" alt="Small colorful triangular flags hanging on the strings" width="300" height="200">
<h1>June Festival</h1>
</header>
<body>
<main>
<section>
<h2>Join us for a traditional Brazilian Celebration to honor Saint John the Baptist!</h2>
</section>
<section>
<h2>when: June 14th Where: Piccolo Pavilion, Corte Madera</h2>
</section>
<hr>
<div class="container">
<div class="column">
<h3>Festival Highlights</h3>
<p>Rural-themed Decorations<p/>
<p>Traditional Foods</P>
<p>Country Style Costumes</p>
<p>Square Dancing (quadrilha)
<p>Bonfires and Music</p>
</div>
<div class="column">
<h3>Traditional Foods</h3>
<p>Corn Cake<p/>
<p>Canjicão<p/>
<p>Pamonha<p/>
<p>Milho cozido</p>
<p>Popcorn</p>
<p>Bolo de Mandionca<p/>
</div>
</main>
</body>
</html>
/* file: styles.css */
body {
padding-top: 50px;
padding-bottom: 50px;
margin-top: 0;
margin-bottom: 0;
margin-left: auto;
margin-right: auto;
width: 100vw;
min-height: calc(100vh - 100px)
}
hr {
width: 80%;
}
section {
width: 80%;
}
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Challenge Information:
Build an Event Flyer Page - Build an Event Flyer Page