Skip to content

Commit

Permalink
add task solution
Browse files Browse the repository at this point in the history
  • Loading branch information
liza2000vasina committed Sep 20, 2024
1 parent e49217b commit 6af509d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 23 deletions.
20 changes: 10 additions & 10 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,45 +31,45 @@
<body>
<header class="header">
<a
href="index.html"
href="#"
class="logo_link"
>
<img
class="logo"
src="./images/logo.png"
alt="logo"
alt="logo-moyo-img"
/>
</a>

<nav class="nav">
<ul class="nav__list">
<li class="nav__item">
<a
href="index.html"
href="#"
class="nav__link is-active"
>
Apple
</a>
</li>
<li class="nav__item">
<a
href="index.html"
href="#"
class="nav__link"
>
Samsung
</a>
</li>
<li class="nav__item">
<a
href="index.html"
href="#"
class="nav__link"
>
Smartphones
</a>
</li>
<li class="nav__item">
<a
href="index.html"
href="#"
data-qa="hover"
class="nav__link test_link"
>
Expand All @@ -78,31 +78,31 @@
</li>
<li class="nav__item">
<a
href="index.html"
href="#"
class="nav__link"
>
Gadgets
</a>
</li>
<li class="nav__item">
<a
href="index.html"
href="#"
class="nav__link"
>
Tablets
</a>
</li>
<li class="nav__item">
<a
href="index.html"
href="#"
class="nav__link"
>
Photo
</a>
</li>
<li class="nav__item">
<a
href="index.html"
href="#"
class="nav__link"
>
Video
Expand Down
14 changes: 1 addition & 13 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ html {

body {
margin: 0;
display: block;
}

.header {
Expand All @@ -24,17 +23,6 @@ body {
width: 40px;
}

nav {
display: block;
unicode-bidi: isolate;
}

li {
display: list-item;
text-align: -webkit-match-parent;
unicode-bidi: isolate;
}

.nav__list {
display: flex;
list-style: none;
Expand All @@ -50,7 +38,7 @@ li {
display: flex;
position: relative;
align-items: center;
font-family: Roboto, sans-serif;
font-family: Roboto, Arial, sans-serif;
height: 60px;
color: #000;
text-decoration: none;
Expand Down

0 comments on commit 6af509d

Please sign in to comment.