-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
add solution #5082
base: master
Are you sure you want to change the base?
add solution #5082
Conversation
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.
Great job on your implementation! 🎉 Your code meets the task requirements and is well-structured. The only minor issue is the missing stars--N
modifiers in the stars.scss
file, which you might want to address for full functionality. Keep up the excellent work and continue refining your skills! 😊
✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨
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.
src/index.html
Outdated
data-qa="card" | ||
> | ||
<section class="card__top"> | ||
<div class="card__top-image"></div> |
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.
This image isn't background, so you need to add image with the img
tag
src/index.html
Outdated
<section class="stars"> | ||
<div class="stars__wrapper"> |
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.
Add the modifier classes for active stars
<section class="stars"> | |
<div class="stars__wrapper"> | |
<section class="card__review"> | |
<div class="stars stars--4"> |
src/index.html
Outdated
class="price__link" | ||
data-qa="hover" | ||
> | ||
<button class="price__button">Buy</button> |
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.
<button class="price__button">Buy</button> | |
Buy |
<div class="stars__text">Reviews: 5</div> | ||
</section> | ||
|
||
<section class="price"> |
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.
Redundant
<section class="price"> |
src/index.html
Outdated
<div class="stars__star"></div> | ||
</div> | ||
|
||
<div class="stars__text">Reviews: 5</div> |
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.
Use the semantic tag for text
<div class="stars__text">Reviews: 5</div> | |
<p class="stars__text">Reviews: 5</p> |
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.
Looks good
DEMO LINK
TEST REPORT LINK