Skip to content

Commit

Permalink
correções
Browse files Browse the repository at this point in the history
  • Loading branch information
srvalle committed Dec 23, 2024
1 parent c381ac3 commit 2096630
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 18 deletions.
25 changes: 9 additions & 16 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<h1>Moyo header</h1>
<header class="header">
<a
href="#"
href="http://mateacademy.com"
class="logo-link"
>
<img
Expand All @@ -44,39 +44,32 @@ <h1>Moyo header</h1>
<nav class="nav">
<ul class="list">
<li class="list-item">
<a
href="#"
class="is-active"
>
<a class="item-link is-active">
Apple
</a>
</li>
<li class="list-item">
<a href="#">Samsung</a>
<a class="item-link">Samsung</a>
</li>
<li class="list-item">
<a href="#">Smartphones</a>
<a class="item-link">Smartphones</a>
</li>
<li class="list-item">
<a
href="#"
class="is-active"
data-qa="hover"
>
<a class="item-link" data-qa="hover">
Laptops & Computers
</a>
</li>
<li class="list-item">
<a href="#">Gadgets</a>
<a class="item-link">Gadgets</a>
</li>
<li class="list-item">
<a href="#">Tablets</a>
<a class="item-link">Tablets</a>
</li>
<li class="list-item">
<a href="#">Photo</a>
<a class="item-link">Photo</a>
</li>
<li class="list-item">
<a href="#">Video</a>
<a class="item-link">Video</a>
</li>
</ul>
</nav>
Expand Down
4 changes: 2 additions & 2 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ body {
}

.nav {
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
height: 60px;
}

.list {
position: relative;
display: flex;
padding: 0;
margin: 0;
Expand Down Expand Up @@ -77,7 +77,7 @@ body {
.logo {
width: 40px;
height: 40px;
display: flex;
display: block;
margin-right: 50px;
}

Expand Down

0 comments on commit 2096630

Please sign in to comment.