Skip to content

Commit

Permalink
add task solution
Browse files Browse the repository at this point in the history
  • Loading branch information
katerinaasss committed Jan 11, 2025
1 parent 463afd9 commit 515f783
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 39 deletions.
52 changes: 15 additions & 37 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
src="/src/images/imac.jpeg"
alt="imac"
/>
<h1 class="card__content">
<h1 class="card__title">
APPLE A1419 iMac 27" Retina
<br />
5K Monoblock (MNED2UA/A)
Expand Down Expand Up @@ -151,16 +151,13 @@ <h2 class="card__code">Product code: 195434</h2>
</a>
</div>

<div
class="card"
data-qa="card"
>
<div class="card">
<img
class="card__image"
src="/src/images/imac.jpeg"
alt="imac"
/>
<h1 class="card__content">
<h1 class="card__title">
APPLE A1419 iMac 27" Retina
<br />
5K Monoblock (MNED2UA/A)
Expand Down Expand Up @@ -193,21 +190,17 @@ <h2 class="card__code">Product code: 195434</h2>
</a>
</div>

<div
class="card"
data-qa="card"
>
<div class="card">
<img
class="card__image"
src="/src/images/imac.jpeg"
alt="imac"
/>
<h1 class="card__content">
<h1 class="card__title">
APPLE A1419 iMac 27" Retina
<br />
5K Monoblock (MNED2UA/A)
</h1>

<h2 class="card__code">Product code: 195434</h2>

<div class="card__stars">
Expand Down Expand Up @@ -235,16 +228,13 @@ <h2 class="card__code">Product code: 195434</h2>
</a>
</div>

<div
class="card"
data-qa="card"
>
<div class="card">
<img
class="card__image"
src="/src/images/imac.jpeg"
alt="imac"
/>
<h1 class="card__content">
<h1 class="card__title">
APPLE A1419 iMac 27" Retina
<br />
5K Monoblock (MNED2UA/A)
Expand Down Expand Up @@ -277,16 +267,13 @@ <h2 class="card__code">Product code: 195434</h2>
</a>
</div>

<div
class="card"
data-qa="card"
>
<div class="card">
<img
class="card__image"
src="/src/images/imac.jpeg"
alt="imac"
/>
<h1 class="card__content">
<h1 class="card__title">
APPLE A1419 iMac 27" Retina
<br />
5K Monoblock (MNED2UA/A)
Expand Down Expand Up @@ -319,16 +306,13 @@ <h2 class="card__code">Product code: 195434</h2>
</a>
</div>

<div
class="card"
data-qa="card"
>
<div class="card">
<img
class="card__image"
src="/src/images/imac.jpeg"
alt="imac"
/>
<h1 class="card__content">
<h1 class="card__title">
APPLE A1419 iMac 27" Retina
<br />
5K Monoblock (MNED2UA/A)
Expand Down Expand Up @@ -361,16 +345,13 @@ <h2 class="card__code">Product code: 195434</h2>
</a>
</div>

<div
class="card"
data-qa="card"
>
<div class="card">
<img
class="card__image"
src="/src/images/imac.jpeg"
alt="imac"
/>
<h1 class="card__content">
<h1 class="card__title">
APPLE A1419 iMac 27" Retina
<br />
5K Monoblock (MNED2UA/A)
Expand Down Expand Up @@ -403,16 +384,13 @@ <h2 class="card__code">Product code: 195434</h2>
</a>
</div>

<div
class="card"
data-qa="card"
>
<div class="card">
<img
class="card__image"
src="/src/images/imac.jpeg"
alt="imac"
/>
<h1 class="card__content">
<h1 class="card__title">
APPLE A1419 iMac 27" Retina
<br />
5K Monoblock (MNED2UA/A)
Expand Down
2 changes: 1 addition & 1 deletion src/styles/blocks/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
background-color: #fff;
color: #060b35;

&__content {
&__title {
font-family: $card-font-family;
font-weight: 500;
font-size: 12px;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/blocks/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
&__link {
line-height: 15px;
text-align: center;
color: black;
color: #060b35;
text-transform: uppercase;
text-decoration: none;
font-weight: 500;
Expand Down

0 comments on commit 515f783

Please sign in to comment.