-
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
product card 24.12.2024 #5114
base: master
Are you sure you want to change the base?
product card 24.12.2024 #5114
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. Just make sure that the Parcel bundler is correctly set up to handle SCSS files, as this will ensure everything compiles smoothly without runtime issues. Keep up the excellent work and happy coding! 😊
✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨
<link | ||
rel="stylesheet" | ||
href="./styles/index.scss" | ||
/> |
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.
Ensure that the Parcel bundler is set up to handle SCSS files correctly, as you are linking to an SCSS file directly. This is allowed, but make sure the setup is correct to avoid runtime issues.
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
<div class="star__line star__line--0"> | ||
<div class="star__style star__style--passive"></div> | ||
<div class="star__style star__style--passive"></div> | ||
<div class="star__style star__style--passive"></div> | ||
<div class="star__style star__style--passive"></div> | ||
<div class="star__style star__style--passive"></div> | ||
</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.
Fix classes and implement the modifier logic
<div class="star__line star__line--0"> | |
<div class="star__style star__style--passive"></div> | |
<div class="star__style star__style--passive"></div> | |
<div class="star__style star__style--passive"></div> | |
<div class="star__style star__style--passive"></div> | |
<div class="star__style star__style--passive"></div> | |
</div> | |
<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> |
class="card" | ||
data-qa="card" | ||
> | ||
<div class="card__cord-image"> |
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.
Do you need this wrapper for image?
<div class="card__cord-image"> |
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.
Without it I couldn't center the image.
src/index.html
Outdated
<div class="star__line star__line--1"> | ||
<div class="star__style star__style--active"></div> | ||
<div class="star__style star__style--passive"></div> | ||
<div class="star__style star__style--passive"></div> | ||
<div class="star__style star__style--passive"></div> | ||
<div class="star__style star__style--passive"></div> | ||
</div> | ||
|
||
<div class="star__line star__line--2"> | ||
<div class="star__style star__style--active"></div> | ||
<div class="star__style star__style--active"></div> | ||
<div class="star__style star__style--passive"></div> | ||
<div class="star__style star__style--passive"></div> | ||
<div class="star__style star__style--passive"></div> | ||
</div> | ||
|
||
<div class="star__line star__line--3"> | ||
<div class="star__style star__style--active"></div> | ||
<div class="star__style star__style--active"></div> | ||
<div class="star__style star__style--active"></div> | ||
<div class="star__style star__style--passive"></div> | ||
<div class="star__style star__style--passive"></div> | ||
</div> | ||
|
||
<div class="star__line star__line--4"> | ||
<div class="star__style star__style--active"></div> | ||
<div class="star__style star__style--active"></div> | ||
<div class="star__style star__style--active"></div> | ||
<div class="star__style star__style--active"></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.
Remove other blocks
src/index.html
Outdated
</div> | ||
|
||
<button | ||
class="card__buy-button 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.
class="card__buy-button button" | |
class="card__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.
Good job.
Do not forget add demo links to PR description in next tasks.
No description provided.