@MojtabaMosavi
Posted
Well done, regarding your query:
There are two ways to implement it the first being the way you've done but to make it more semantic, the container would be a i tag rather than a div. The second way is to have a cotainer and the stars as the background. In my opinion there is no big difference between them, it's only a matter of taste and prefernce.
Keep coding :=)
Marked as helpful