CSS CSS Layout CSS Layout Techniques Display

Geovani Estacio
Geovani Estacio
1,654 Points

.main-list li { display: inline-block; }

what am I missing here ?

/* Complete the challenge by writing CSS below */

header {
  text-align: center;
.logo {
  width: 60px;
  margin: auto;

 .main-list  li { display: inline-block;

<!DOCTYPE html>
    <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">
    <div class="container">
            <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>

2 Answers

Busra Tokuc
Busra Tokuc
7,372 Points

Hi Geovani, It's a little typing error. There are double spaces between .main-list and li. Delete one of them then it'll work.

.main-list li { 
  display: inline-block;