@byronbyron
Posted
Hi @MikeAngel2
You should be able to center the second card by updating your index.js
to set display flex instead of block.
$(".Thanks").css('display','flex');
This bit of CSS should help to center the text on the second card as well
.Thanks {
align-items: center;
text-align: center;
}
Hope that helps!
Marked as helpful
@MikeAngel2
Posted
@byronbyron Hi Byron
Thank you for your feedback.
I changed this my JS code to yoyr recommendation, it seems that only affected element is the image; The "Selected X stars" div, from the second card seems that aligns it's text, but not the div itself.
Definitely helped! Kind of annoyed for that little detail in my code lol.