Skip to content
How do I center an image?
Profile icon

The title says it all. I can't figure out how to center the coin image.

You are viewing a single comment. View All
Answered by Coder100 [earned 5 cycles]
View Answer
Profile icon

oh lol here, in your case it looks like:

<div> <img id = "tails" src ="img/tails.png" alt="tails" height="220px" width="240px" onclick="flipCoin1()"/> </div>