CSS CSS Flexbox Layout Understanding Flexbox Flex Container Challenge

Julian Cubillos
Julian Cubillos
2,060 Points

CSS flexbox layout. Flex container challenge, task 1 of 1 need help on this challenge please

CSS flexbox layout. Flex container challenge, task 1 of 1 need help on this challenge please

index.html
<!DOCTYPE html>
<html>
  <head>
    <title>Flexbox 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>
    <header>
      <ul class="main-nav">
        <li class="name"><a href="#">My Site</a></li>
        <li><a href="#">About</a></li>
        <li><a href="#">Work</a></li>
        <li><a href="#">Contact</a></li>
      </ul>
    </header>
  </body>
</html>
style.css
/* Complete the challenge by writing CSS below */

1 Answer

Hi Julian,

/* Complete the challenge by writing CSS below */

.main-nav {
  display: flex;
}