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

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
Coder100

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>

@kenzielixir