Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

solved #5248

wants to merge 2 commits into from

Conversation

NickDevX
Copy link

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a 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.

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a 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:

  1. 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.

  2. Image Files: The referenced image files (star.svg and star-active.svg) are missing. Ensure these files are included in the specified directory to display the stars correctly.

  3. Use of gap Property: Although not critical, consider using the gap 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! ✨

Comment on lines +22 to +26
.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) {

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');

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants