Implement the Stars Block used in a card and catalog.
Hold Alt
key (Option
on MacOS) to measure distances in Figma.
Here are the Layout Tasks Instructions
margin
stars
blocks with 5 stars__star
elements each.stars--0
, stars--1
, stars--2
… stars--5
modifiers to the blocks one per eachstars--N
modifier should have exactly N
first stars active.background-image
for stars (see images
folder). Don’t use <img>
or <svg>
tags.display: flex
for the stars
block to avoid an issue with extra spaces between individual starsgap
property for flex
container because it does not work in tests❗️ Replace <your_account>
with your Github username and copy the links to Pull Request
description:
❗️ Copy this Checklist
to the Pull Request
description after links, and put - [x]
before each point after you checked it.
Typical Mistakes
from BEM
lesson theory are checked.