-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
solved #5248
base: master
Are you sure you want to change the base?
solved #5248
Conversation
NickDevX
commented
Jan 11, 2025
- DEMO LINK
- TEST REPORT LINK
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.
Your implementation is almost there! 🚀 However, there are a few critical issues that need to be addressed before we can proceed. The use of the gap
property in the CSS is against the task requirements, and the yellow stars should be styled using pseudo-selectors, not direct child selectors. Additionally, the necessary image files are missing, which are crucial for the star rating system to display correctly. Please make these changes, and you'll be all set! Keep up the great work! 😊
✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨
🔄 Fix the issues, commit the changes, and then re-request my review using the Re-request review
button in the Reviewers tab.
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 progress! 🎉 While the star rating system's HTML structure is well-organized, there are a few critical issues to address for full functionality:
-
Styling Yellow Stars: The current use of direct child selectors (
nth-child
) for styling yellow stars does not meet the task's requirement to use pseudo-selectors. Please update this to ensure compliance. -
Image Files: The referenced image files (
star.svg
andstar-active.svg
) are missing. Ensure these files are included in the specified directory to display the stars correctly. -
Use of
gap
Property: Although not critical, consider using thegap
property in your CSS for better alignment as per the task requirements.
These improvements will enhance your code and help you learn from this experience. Keep up the good work, and make sure to address these points in future projects to avoid similar issues. Your dedication to learning is commendable, and I'm confident you'll continue to improve! 🚀
✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨
.stars--1 .stars__star:nth-child(1), | ||
.stars--2 .stars__star:nth-child(-n + 2), | ||
.stars--3 .stars__star:nth-child(-n + 3), | ||
.stars--4 .stars__star:nth-child(-n + 4), | ||
.stars--5 .stars__star:nth-child(-n + 5) { |
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 task requires using pseudo-selectors to style the yellow stars, but the current implementation uses direct child selectors. Please update this to use pseudo-selectors as per the task requirements.
.stars--3 .stars__star:nth-child(-n + 3), | ||
.stars--4 .stars__star:nth-child(-n + 4), | ||
.stars--5 .stars__star:nth-child(-n + 5) { | ||
background-image: url('images/star-active.svg'); |
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 'images/star-active.svg' file exists in the specified directory. If the file is missing, the stars will not display correctly.