CSS CSS Layout CSS Layout Techniques Display

Ishmael Phiri
Ishmael Phiri
3,554 Points

what am i missing here

style.css
/* Complete the challenge by writing CSS below */

header {
  text-align: center;
}
.logo {
  width: 60px;
  margin: auto;
}
.main-list li {
  display: inline-block;
}
index.html
<!DOCTYPE html>
<html>
<head>
    <title>CSS Layout</title>
    <link href='https://fonts.googleapis.com/css?family=Varela+Round' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="page.css">
    <link rel="stylesheet" href="style.css">
</head>
    <body>
    <div class="container">
        <header>
            <img class="logo" src="city-logo.svg" alt="An illustration of a building">
            <ul class="main-list">
                <li><a href="#">Donuts</a></li>
                <li><a href="#">Tea</a></li>
                <li><a href="#">Coffee</a></li>
            </ul>
        </header>
    </div>
    </body>
</html>

1 Answer

Ronald Greer
seal-mask
.a{fill-rule:evenodd;}techdegree
Ronald Greer
Front End Web Development Techdegree Student 47,731 Points

Hi Ishmael! Can you elaborate a little bit more on what you are having trouble with? I just ran your css through stage one of the challenge and it seems to check out.