-
Notifications
You must be signed in to change notification settings - Fork 5.2k
solution: layout catalog #6300
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
base: master
Are you sure you want to change the base?
solution: layout catalog #6300
Changes from all commits
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 |
|---|---|---|
|
|
@@ -17,11 +17,383 @@ | |
| /> | ||
| <link | ||
| rel="stylesheet" | ||
| href="styles/index.scss" | ||
| href="styles/main.scss" | ||
| /> | ||
| </head> | ||
|
|
||
| <body> | ||
| <h1>Catalog</h1> | ||
| <header class="header"> | ||
| <div class="header__container"> | ||
| <a | ||
| href="#" | ||
| class="logo" | ||
| > | ||
| <img | ||
| src="./images/logo.png" | ||
| alt="Moyo" | ||
| class="logo__image" | ||
| /> | ||
| </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="nav__link" | ||
| data-qa="nav-hover" | ||
| > | ||
| Laptops & Computers | ||
| </a> | ||
| </li> | ||
|
|
||
| <li class="nav__item"> | ||
| <a | ||
| href="#" | ||
| class="nav__link" | ||
| > | ||
| Gadgets | ||
| </a> | ||
|
Comment on lines
+69
to
+83
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. Here, only |
||
| </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> | ||
| </header> | ||
| <main class="cards-container"> | ||
| <div | ||
| class="card" | ||
| data-qa="card" | ||
| > | ||
| <img | ||
| src="./images/imac.jpeg" | ||
| alt="imac" | ||
| class="card__image" | ||
| /> | ||
| <h2 class="card__title"> | ||
| APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | ||
| </h2> | ||
| <p class="card__product-code">Product code: 195434</p> | ||
| <div class="card__rating"> | ||
| <div class="stars stars--active-4"> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| </div> | ||
| <span class="card__reviews-count">Reviews: 5</span> | ||
| </div> | ||
| <div class="card__price-container"> | ||
| <span class="card__price-label">Price:</span> | ||
| <span class="card__price-value">$2,199</span> | ||
| </div> | ||
| <a | ||
| href="#" | ||
| class="card__link" | ||
| data-qa="card-hover" | ||
| > | ||
| Buy | ||
| </a> | ||
| </div> | ||
| <div | ||
| class="card" | ||
| data-qa="card" | ||
|
Comment on lines
+152
to
+154
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. According to the description, 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.
Comment on lines
+152
to
+154
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. This violates the description requirement: |
||
| > | ||
| <img | ||
| src="./images/imac.jpeg" | ||
| alt="imac" | ||
| class="card__image" | ||
| /> | ||
| <h2 class="card__title"> | ||
| APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | ||
| </h2> | ||
| <p class="card__product-code">Product code: 195434</p> | ||
| <div class="card__rating"> | ||
| <div class="stars stars--active-4"> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| </div> | ||
| <span class="card__reviews-count">Reviews: 5</span> | ||
| </div> | ||
| <div class="card__price-container"> | ||
| <span class="card__price-label">Price:</span> | ||
| <span class="card__price-value">$2,199</span> | ||
| </div> | ||
| <a | ||
| href="#" | ||
| class="card__link" | ||
| data-qa="card-hover" | ||
|
Comment on lines
+179
to
+182
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. Similarly, 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.
Comment on lines
+179
to
+182
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. This violates the description requirement: |
||
| > | ||
| Buy | ||
| </a> | ||
| </div> | ||
| <div | ||
| class="card" | ||
| data-qa="card" | ||
|
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. Same as above: this third card also has
Comment on lines
+187
to
+189
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. Same issue as above: |
||
| > | ||
| <img | ||
| src="./images/imac.jpeg" | ||
| alt="imac" | ||
| class="card__image" | ||
| /> | ||
| <h2 class="card__title"> | ||
| APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | ||
| </h2> | ||
| <p class="card__product-code">Product code: 195434</p> | ||
| <div class="card__rating"> | ||
| <div class="stars stars--active-4"> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| </div> | ||
| <span class="card__reviews-count">Reviews: 5</span> | ||
| </div> | ||
| <div class="card__price-container"> | ||
| <span class="card__price-label">Price:</span> | ||
| <span class="card__price-value">$2,199</span> | ||
| </div> | ||
| <a | ||
| href="#" | ||
| class="card__link" | ||
| data-qa="card-hover" | ||
|
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. Same issue: this
Comment on lines
+214
to
+217
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. Same issue as above: |
||
| > | ||
| Buy | ||
| </a> | ||
| </div> | ||
| <div | ||
| class="card" | ||
| data-qa="card" | ||
|
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. This fourth card again includes
Comment on lines
+222
to
+224
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. Same issue: |
||
| > | ||
| <img | ||
| src="./images/imac.jpeg" | ||
| alt="imac" | ||
| class="card__image" | ||
| /> | ||
| <h2 class="card__title"> | ||
| APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | ||
| </h2> | ||
| <p class="card__product-code">Product code: 195434</p> | ||
| <div class="card__rating"> | ||
| <div class="stars stars--active-4"> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| </div> | ||
| <span class="card__reviews-count">Reviews: 5</span> | ||
| </div> | ||
| <div class="card__price-container"> | ||
| <span class="card__price-label">Price:</span> | ||
| <span class="card__price-value">$2,199</span> | ||
| </div> | ||
| <a | ||
| href="#" | ||
| class="card__link" | ||
| data-qa="card-hover" | ||
|
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. This
Comment on lines
+249
to
+252
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. Same issue: |
||
| > | ||
| Buy | ||
| </a> | ||
| </div> | ||
| <div | ||
| class="card" | ||
| data-qa="card" | ||
|
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. This fifth card should not have
Comment on lines
+257
to
+259
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. Same issue: |
||
| > | ||
| <img | ||
| src="./images/imac.jpeg" | ||
| alt="imac" | ||
| class="card__image" | ||
| /> | ||
| <h2 class="card__title"> | ||
| APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | ||
| </h2> | ||
| <p class="card__product-code">Product code: 195434</p> | ||
| <div class="card__rating"> | ||
| <div class="stars stars--active-4"> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| </div> | ||
| <span class="card__reviews-count">Reviews: 5</span> | ||
| </div> | ||
| <div class="card__price-container"> | ||
| <span class="card__price-label">Price:</span> | ||
| <span class="card__price-value">$2,199</span> | ||
| </div> | ||
| <a | ||
| href="#" | ||
| class="card__link" | ||
| data-qa="card-hover" | ||
|
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. Again,
Comment on lines
+284
to
+287
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. Same issue: |
||
| > | ||
| Buy | ||
| </a> | ||
| </div> | ||
| <div | ||
| class="card" | ||
| data-qa="card" | ||
|
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. This sixth card repeats
Comment on lines
+292
to
+294
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. Same issue: |
||
| > | ||
| <img | ||
| src="./images/imac.jpeg" | ||
| alt="imac" | ||
| class="card__image" | ||
| /> | ||
| <h2 class="card__title"> | ||
| APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | ||
| </h2> | ||
| <p class="card__product-code">Product code: 195434</p> | ||
| <div class="card__rating"> | ||
| <div class="stars stars--active-4"> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| </div> | ||
| <span class="card__reviews-count">Reviews: 5</span> | ||
| </div> | ||
| <div class="card__price-container"> | ||
| <span class="card__price-label">Price:</span> | ||
| <span class="card__price-value">$2,199</span> | ||
| </div> | ||
| <a | ||
| href="#" | ||
| class="card__link" | ||
| data-qa="card-hover" | ||
|
Comment on lines
+319
to
+322
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. Same issue: |
||
| > | ||
| Buy | ||
| </a> | ||
| </div> | ||
| <div | ||
| class="card" | ||
| data-qa="card" | ||
|
Comment on lines
+327
to
+329
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. Same issue: |
||
| > | ||
| <img | ||
| src="./images/imac.jpeg" | ||
| alt="imac" | ||
| class="card__image" | ||
| /> | ||
| <h2 class="card__title"> | ||
| APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | ||
| </h2> | ||
| <p class="card__product-code">Product code: 195434</p> | ||
| <div class="card__rating"> | ||
| <div class="stars stars--active-4"> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| </div> | ||
| <span class="card__reviews-count">Reviews: 5</span> | ||
| </div> | ||
| <div class="card__price-container"> | ||
| <span class="card__price-label">Price:</span> | ||
| <span class="card__price-value">$2,199</span> | ||
| </div> | ||
| <a | ||
| href="#" | ||
| class="card__link" | ||
| data-qa="card-hover" | ||
|
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. This
Comment on lines
+354
to
+357
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. Same issue: |
||
| > | ||
| Buy | ||
| </a> | ||
| </div> | ||
| <div | ||
| class="card" | ||
| data-qa="card" | ||
|
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 seventh card also has
Comment on lines
+362
to
+364
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. Same issue: |
||
| > | ||
| <img | ||
| src="./images/imac.jpeg" | ||
| alt="imac" | ||
| class="card__image" | ||
| /> | ||
| <h2 class="card__title"> | ||
| APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | ||
| </h2> | ||
| <p class="card__product-code">Product code: 195434</p> | ||
| <div class="card__rating"> | ||
| <div class="stars stars--active-4"> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| <span class="stars__star"></span> | ||
| </div> | ||
| <span class="card__reviews-count">Reviews: 5</span> | ||
| </div> | ||
| <div class="card__price-container"> | ||
| <span class="card__price-label">Price:</span> | ||
| <span class="card__price-value">$2,199</span> | ||
| </div> | ||
| <a | ||
| href="#" | ||
| class="card__link" | ||
| data-qa="card-hover" | ||
|
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. Same issue for
Comment on lines
+389
to
+392
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. Same issue: |
||
| > | ||
| Buy | ||
| </a> | ||
| </div> | ||
| </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.
To fully satisfy checklist item #5 (“All changes on
:hoverare smooth”), consider adding a transition for the active underline (e.g., onopacityortransform) so the&.is-active::aftervisual change appears/disappears smoothly rather than instantly.