<html lang="pt-BR">
<head>
<link href="https://fonts.googleapis.com/css?family=Pacifico|Roboto:100,300,400,500,700,900" rel="stylesheet"/>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<title>Fruta & Fruto</title>
<link href="./assets/css/style.css" rel="stylesheet"/>
<link href="./assets/css/normalize.css" rel="stylesheet"/>
<link href="./assets/css/reset.css" rel="stylesheet"/>
</head>
<body>
<header>
<img src="./assets/img/logo.jpg" alt="Fruta e Fruto">
<nav>
<ul>
<li ><a id="ativo" href="#"></a>Início</li>
<li ><a id="ativo" href="#"></a>Quem somos</li>
<li ><a id="ativo" href="#"></a>Receitas</li>
<li ><a id="ativo" href="#"></a>Comunidade</li>
</ul>
</nav>
</header>
</body>
</html>
header {
align-items: center;
background: #f9f9f9;
display: flex;
justify-content: space-between;
padding-left: 2rem;
padding-right: 2rem;
}
header nav ul {
display: flex;
}
header nav ul li {
list-style: none;
}
header nav ul li:last-child a {
margin-right: none;
}
header nav ul li a {
color: #808080;
margin-right: 1.25rem;
text-decoration: none;
text-transform: lowercase;
}
header nav ul li a#ativo {
color: #333333;
font-weight: bold;
}
header nav ul li a:hover {
text-decoration: underline;
}
Instruções que não funcionam:
header nav ul li:last-child a { margin-right: none; }
text-decoration: none; text-transform: lowercase;
header nav ul li a#ativo { color: #333333; font-weight: bold; }
id="ativo"
header nav ul li a:hover { text-decoration: underline; }
Eu estou fazendo o curso por ser pré-requisito para outro, mas meio que já vi todo o conteúdo mostrado aqui. Muitas das intruções eu já vi de outras formas então talvez pode ser atualizações no CSS/html ou editor de código que não existiam na época do curso, mas não tenho certeza.