-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
task solution v1.01 #3503
base: master
Are you sure you want to change the base?
task solution v1.01 #3503
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.
Need fix.
src/index.html
Outdated
<ul class="stars__list stars--0"> | ||
<li class="stars__item"> | ||
<div class="stars__star stars__star--inactive"></div> | ||
</li> | ||
|
||
<li class="stars__item"> | ||
<div class="stars__star stars__star--inactive"></div> | ||
</li> |
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.
<ul class="stars__list stars--0"> | |
<li class="stars__item"> | |
<div class="stars__star stars__star--inactive"></div> | |
</li> | |
<li class="stars__item"> | |
<div class="stars__star stars__star--inactive"></div> | |
</li> | |
<div class="stars stars--0"> | |
<div class="stars__star"></div> | |
<div class="stars__star"></div> | |
... |
stars is not a list. use just div.
no need any classes for star
use stars--1, stars--2... modifiers should be responsible about amount of active stars. use nth-child for it.
Hi, I have changed list to div and added nth-child to make stars active |
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.
Well done
DEMO LINK
TEST REPORT LINK