Is there a way to insert multiple star icons directly below the review text?
I attempted to use pseudo elements to add the icons, but I could only insert one icon when I actually need to include multiple icons. Here is what I have tried so far:
.review::after {
font-family: "Font Awesome 5 Free";
font-weight: 900; content: "\f007";
}
.circle {
background-color: gray;
border-radius: 100%;
height: 80px;
width: 80px;
position: absolute;
top: -30px;
right: 245px;
}
.namedetails {
font-style: italic;
margin-bottom: 20px;
}
.review {
font-family: sans-serif;
font-size: 15px;
font-weight: bold;
}
.review::after {
font-family: "Font Awesome 5 Free";
font-weight: 900; content: "\f007";
}
<div class="circle"></div>
<p class="namedetails">Name Surname</p>
<span class="review">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. In dictum non consectetur a. Turpis egestas maecenas pharetra convallis posuere morbi. Mi quis hendrerit dolor magna eget est lorem ipsum. Id aliquet lectus proin nibh nisl condimentum. Viverra accumsan in nisl nisi scelerisque eu ultrices vitae auctor!</span>
I hope to see 5 star icons displayed under the review text.