Skip to content

Commit

Permalink
removed container block
Browse files Browse the repository at this point in the history
  • Loading branch information
nevskyy committed Dec 26, 2024
1 parent 8118442 commit c71d26a
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 83 deletions.
162 changes: 80 additions & 82 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,90 +31,88 @@
</head>
<body>
<header class="header">
<div class="container">
<a
href="#"
class="logo-img"
>
<img
src="./images/logo.png"
alt="main-logo"
class="logo"
/>
</a>
<nav class="nav">
<ul class="nav__list">
<li class="nav__item">
<a
href="#"
class="nav__link is-active"
>
Apple
</a>
</li>
<li class="nav__item">
<a
href="#"
class="nav__link"
>
Samsung
</a>
</li>
<li class="nav__item">
<a
href="#"
class="nav__link"
>
Smartphones
</a>
</li>
<li
class="nav__item"
<a
href="#"
class="logo-img"
>
<img
src="./images/logo.png"
alt="main-logo"
class="logo"
/>
</a>
<nav class="nav">
<ul class="nav__list">
<li class="nav__item">
<a
href="#"
class="nav__link is-active"
>
Apple
</a>
</li>
<li class="nav__item">
<a
href="#"
class="nav__link"
>
Samsung
</a>
</li>
<li class="nav__item">
<a
href="#"
class="nav__link"
>
Smartphones
</a>
</li>
<li
class="nav__item"
data-qa="hover"
>
<a
href="#"
class="nav__link"
data-qa="hover"
>
<a
href="#"
class="nav__link"
data-qa="hover"
>
Laptops & computers
</a>
</li>
<li class="nav__item">
<a
href="#"
class="nav__link"
>
Gadgets
</a>
</li>
<li class="nav__item">
<a
href="#"
class="nav__link"
>
Tablets
</a>
</li>
<li class="nav__item">
<a
href="#"
class="nav__link"
>
Photo
</a>
</li>
<li class="nav__item">
<a
href="#"
class="nav__link"
>
Video
</a>
</li>
</ul>
</nav>
</div>
Laptops & computers
</a>
</li>
<li class="nav__item">
<a
href="#"
class="nav__link"
>
Gadgets
</a>
</li>
<li class="nav__item">
<a
href="#"
class="nav__link"
>
Tablets
</a>
</li>
<li class="nav__item">
<a
href="#"
class="nav__link"
>
Photo
</a>
</li>
<li class="nav__item">
<a
href="#"
class="nav__link"
>
Video
</a>
</li>
</ul>
</nav>
</header>
</body>
</html>
2 changes: 1 addition & 1 deletion src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ li {
list-style: none;
}

.container {
.header {
display: flex;
justify-content: space-between;
align-items: center;
Expand Down

0 comments on commit c71d26a

Please sign in to comment.