-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solution #4984
base: master
Are you sure you want to change the base?
Solution #4984
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,364 @@ | |
</head> | ||
|
||
<body> | ||
<h1>Catalog</h1> | ||
<header class="header"> | ||
<div class="header__logo"> | ||
<a | ||
href="https://s3-alpha-sig.figma.com/img/833f/9aab/47d660efd384318772b6b8040db831aa?Expires=1734912000&Key-Pair-Id=APKAQ4GOSFWCVNEHN3O4&Signature=dswIrz-CM71mAanXGvKRXPjecjfgsdMxLMX42Ga2sG0CuUJJq4Jy5x5rODTPEzbqmmsgmlLLJss2~eQyfosxdUyGRzIGLeAOMJ13tFeyrIB5YiQQRtx~9LeDXPrYCLGvDa4mViqCuhj-IPGhPDrlsLYG7kCfSvZ9UHMBqlZ8WDyj4zCQ3o-5AuD5tBRIqrPEmgqFO161Qu7yXjPjXvFbJM8Iu-4jf45HZy5io3OmyRZdOyfPL~Z0GkyPChoNWJax7ioZ9o6xNZu271LRecCkmoaeEBlFF~8dRZSJqXl0E9A4w2v6wXO6E8vkZioe9b8bl0wiOHVJQEDxCqzP5H9YYA__" | ||
> | ||
<img | ||
src="./images/logo.png" | ||
alt="logo Moyo" | ||
/> | ||
</a> | ||
</div> | ||
<nav class="header__nav"> | ||
<ul class="header__nav-list"> | ||
<li class="header__nav-item"> | ||
<a | ||
href="index.html" | ||
class="header__nav-link is-active header__nav-link--color" | ||
> | ||
Apple | ||
</a> | ||
</li> | ||
<li class="header__nav-item"> | ||
<a | ||
href="index.html" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar to the previous comment, ensure that the |
||
class="header__nav-link" | ||
> | ||
Samsung | ||
</a> | ||
</li> | ||
<li class="header__nav-item"> | ||
<a | ||
href="index.html" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ensure that the |
||
class="header__nav-link" | ||
> | ||
Smartphones | ||
</a> | ||
</li> | ||
<li class="header__nav-item"> | ||
<a | ||
href="index.html" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ensure that the |
||
class="header__nav-link" | ||
data-qa="nav-hover" | ||
> | ||
Laptops & Computers | ||
</a> | ||
</li> | ||
<li class="header__nav-item"> | ||
<a | ||
href="index.html" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ensure that the |
||
class="header__nav-link" | ||
> | ||
Gadgets | ||
</a> | ||
</li> | ||
<li class="header__nav-item"> | ||
<a | ||
href="index.html" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ensure that the |
||
class="header__nav-link" | ||
> | ||
Tablets | ||
</a> | ||
</li> | ||
<li class="header__nav-item"> | ||
<a | ||
href="index.html" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ensure that the |
||
class="header__nav-link" | ||
> | ||
Photo | ||
</a> | ||
</li> | ||
<li class="header__nav-item"> | ||
<a | ||
href="index.html" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ensure that the |
||
class="header__nav-link" | ||
> | ||
Video | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
</header> | ||
|
||
<main class="catalog"> | ||
<div | ||
class="card" | ||
data-qa="card" | ||
> | ||
<img | ||
src="./images/imac.jpeg" | ||
alt="APPLE A1419 iMac 27'' Retina" | ||
class="card__image" | ||
/> | ||
<div class="card__content"> | ||
<h3 class="card__title"> | ||
APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | ||
</h3> | ||
<p class="card__code">Product code: 195434</p> | ||
<div class="card__rating"> | ||
<div class="stars stars--4"> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
</div> | ||
<span class="card__reviews">Reviews: 5</span> | ||
</div> | ||
<div class="card__price"> | ||
Price: | ||
<span class="card__price-value">$2,199</span> | ||
</div> | ||
<a | ||
href="#" | ||
Comment on lines
+136
to
+137
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
class="card__button" | ||
data-qa="card-hover" | ||
> | ||
BUY | ||
</a> | ||
</div> | ||
</div> | ||
|
||
<div class="card"> | ||
<img | ||
src="./images/imac.jpeg" | ||
alt="APPLE A1419 iMac 27'' Retina" | ||
class="card__image" | ||
/> | ||
<div class="card__content"> | ||
<h3 class="card__title"> | ||
APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | ||
</h3> | ||
<p class="card__code">Product code: 195434</p> | ||
<div class="card__rating"> | ||
<div class="stars stars--4"> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
</div> | ||
<span class="card__reviews">Reviews: 5</span> | ||
</div> | ||
<div class="card__price"> | ||
Price: | ||
<span class="card__price-value">$2,199</span> | ||
</div> | ||
<a | ||
href="#" | ||
Comment on lines
+171
to
+172
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
class="card__button" | ||
> | ||
BUY | ||
</a> | ||
</div> | ||
</div> | ||
|
||
<div class="card"> | ||
<img | ||
src="./images/imac.jpeg" | ||
alt="APPLE A1419 iMac 27'' Retina" | ||
class="card__image" | ||
/> | ||
<div class="card__content"> | ||
<h3 class="card__title"> | ||
APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | ||
</h3> | ||
<p class="card__code">Product code: 195434</p> | ||
<div class="card__rating"> | ||
<div class="stars stars--4"> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
</div> | ||
<span class="card__reviews">Reviews: 5</span> | ||
</div> | ||
<div class="card__price"> | ||
Price: | ||
<span class="card__price-value">$2,199</span> | ||
</div> | ||
<a | ||
href="#" | ||
Comment on lines
+205
to
+206
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
class="card__button" | ||
> | ||
BUY | ||
</a> | ||
</div> | ||
</div> | ||
|
||
<div class="card"> | ||
<img | ||
src="./images/imac.jpeg" | ||
alt="APPLE A1419 iMac 27'' Retina" | ||
class="card__image" | ||
/> | ||
<div class="card__content"> | ||
<h3 class="card__title"> | ||
APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | ||
</h3> | ||
<p class="card__code">Product code: 195434</p> | ||
<div class="card__rating"> | ||
<div class="stars stars--4"> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
</div> | ||
<span class="card__reviews">Reviews: 5</span> | ||
</div> | ||
<div class="card__price"> | ||
Price: | ||
<span class="card__price-value">$2,199</span> | ||
</div> | ||
<a | ||
href="#" | ||
Comment on lines
+239
to
+240
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
class="card__button" | ||
> | ||
BUY | ||
</a> | ||
</div> | ||
</div> | ||
|
||
<div class="card"> | ||
<img | ||
src="./images/imac.jpeg" | ||
alt="APPLE A1419 iMac 27'' Retina" | ||
class="card__image" | ||
/> | ||
<div class="card__content"> | ||
<h3 class="card__title"> | ||
APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | ||
</h3> | ||
<p class="card__code">Product code: 195434</p> | ||
<div class="card__rating"> | ||
<div class="stars stars--4"> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
</div> | ||
<span class="card__reviews">Reviews: 5</span> | ||
</div> | ||
<div class="card__price"> | ||
Price: | ||
<span class="card__price-value">$2,199</span> | ||
</div> | ||
<a | ||
href="#" | ||
Comment on lines
+273
to
+274
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
class="card__button" | ||
> | ||
BUY | ||
</a> | ||
</div> | ||
</div> | ||
|
||
<div class="card"> | ||
<img | ||
src="./images/imac.jpeg" | ||
alt="APPLE A1419 iMac 27'' Retina" | ||
class="card__image" | ||
/> | ||
<div class="card__content"> | ||
<h3 class="card__title"> | ||
APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | ||
</h3> | ||
<p class="card__code">Product code: 195434</p> | ||
<div class="card__rating"> | ||
<div class="stars stars--4"> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
</div> | ||
<span class="card__reviews">Reviews: 5</span> | ||
</div> | ||
<div class="card__price"> | ||
Price: | ||
<span class="card__price-value">$2,199</span> | ||
</div> | ||
<a | ||
href="#" | ||
Comment on lines
+307
to
+308
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
class="card__button" | ||
> | ||
BUY | ||
</a> | ||
</div> | ||
</div> | ||
|
||
<div class="card"> | ||
<img | ||
src="./images/imac.jpeg" | ||
alt="APPLE A1419 iMac 27'' Retina" | ||
class="card__image" | ||
/> | ||
<div class="card__content"> | ||
<h3 class="card__title"> | ||
APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | ||
</h3> | ||
<p class="card__code">Product code: 195434</p> | ||
<div class="card__rating"> | ||
<div class="stars stars--4"> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
</div> | ||
<span class="card__reviews">Reviews: 5</span> | ||
</div> | ||
<div class="card__price"> | ||
Price: | ||
<span class="card__price-value">$2,199</span> | ||
</div> | ||
<a | ||
href="#" | ||
Comment on lines
+341
to
+342
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
class="card__button" | ||
> | ||
BUY | ||
</a> | ||
</div> | ||
</div> | ||
|
||
<div class="card"> | ||
<img | ||
src="./images/imac.jpeg" | ||
alt="APPLE A1419 iMac 27'' Retina" | ||
class="card__image" | ||
/> | ||
<div class="card__content"> | ||
<h3 class="card__title"> | ||
APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | ||
</h3> | ||
<p class="card__code">Product code: 195434</p> | ||
<div class="card__rating"> | ||
<div class="stars stars--4"> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
</div> | ||
<span class="card__reviews">Reviews: 5</span> | ||
</div> | ||
<div class="card__price"> | ||
Price: | ||
<span class="card__price-value">$2,199</span> | ||
</div> | ||
<a | ||
href="#" | ||
Comment on lines
+375
to
+376
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
class="card__button" | ||
> | ||
BUY | ||
</a> | ||
</div> | ||
</div> | ||
Comment on lines
+107
to
+382
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The product cards are repeated with identical content. If the intention is to display different products, consider using a dynamic approach to populate these cards with varying data. This will enhance maintainability and scalability. |
||
</main> | ||
</body> | ||
</html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
href
attribute for the navigation link is pointing toindex.html
, which is the same page. If this is intentional, it's fine, but if these links are supposed to navigate to different pages, ensure they are pointing to the correct URLs.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now, the links don't lead anywhere. Is it better to leave index.html or #?