Build an Event Flyer Page - Build an Event Flyer Page

Tell us what’s happening:

it keeps on telling me the width of my hr element should be set using a percent value when its already there.

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="styles.css">
  <title>Build an Event Flyer Page</title>
</head>
<body>
<header>
  <img src="https://sl.bing.net/b95PCx0xaOO" alt="happy puppies"></img>
  <h1>Pet Adoption</h1>
</header>
<main>
  <section>
    <h2>Come down and meet your next new furry friend!</h2>
  </section>
  <section>
    <h2>From cats to dogs all are ready to find their furever home!</h2>
    <hr/>
  </section>
</main>
</body>

</html>
/* file: styles.css */
body {
  padding-top: 50px;
  padding-bottom: 50px;
  margin: 0 auto;
  width: 100vw;
  min-height: calc(100vh - 100px);
}

body hr {
  width: 100%;
}

body section {
  width: 100%;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36

Challenge Information:

Build an Event Flyer Page - Build an Event Flyer Page

Welcome to the forum @hgngbveafkh

Try making the selector less specific.

Happy coding