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

add task stars #4907

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add task stars #4907

wants to merge 1 commit into from

Conversation

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

Great effort on the Pull Request! 🌟 Just a few things to keep in mind for the future: always include fallback fonts, use classes over tag names for styling, opt for relative units for scalability, format your attributes correctly, and maintain proper spacing and indentation for readability. Keep up the good work and always strive to improve your code! 💪

✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨

Comment on lines +16 to +22
<div class="stars stars--0">
<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>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add an empty line between multiline sibling blocks of HTML. There should be an empty line before and after each

block with the class 'stars'.

Comment on lines +9 to +17
.stars__star {
width: 16px;
height: 16px;
margin-right: 4px;

background-image: url(./images/star.svg);
background-repeat: no-repeat;
background-position: center;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid fixing the size of containers if it's not a requirement. If the stars need to be of a specific size, consider making them scalable using relative units like 'em' or 'rem' instead of 'px' to maintain relative sizing and better responsiveness.

margin: 0;
}

.stars {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use tag names for styling (except 'html' and 'body'). It's better to style elements using classes to avoid potential conflicts and enhance reusability.

background-position: center;
}

.stars__star:last-child {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remember to use fallback fonts. Even though you're not specifying any font-family here, ensure that your design includes fallbacks in case the main font doesn't load.

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.

2 participants