Submitted
I created an interactive rating component using HTML, CSS, and JavaScript.
Question:
I run code on thankyou.js (the thank you page) to align the items within the card container to the center. The code is: $('#card').css('text-align', 'center');
This works on the paragraph and headers within the card but not the image, which is still left-aligned. Could you please help me understand why?
Thank you!