I need to center the image element within its parent element but i cant seem to get it right, i tried using text align center and also setting the margin properties to auto, but i am still not getting it right.
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36
Challenge: Build a Tribute Page
Link to the challenge:
Hi @sydneymabhena !
Welcome to the forum!
On my end, it looks like your pen is empty.
I would check on that.
Now I can see it.
You are supposed to target the img tag not the img div in your css.
Then you need to add the margin property to center it.
Google how to center an image css and that will give you the answer
Then the test will pass.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.