Hello @ugyentenzin, would be greatly helpful if you could format your code to make it more accessible to read.
Here’s a guide on how to format code in the forum:
Also please consider sharing a live demo, that generally would help people greatly in speeding up the debugging process
By the look of it, seems like you just placed an image element inside the body, if that’s the case, nothing is telling it to actually be centered; you are just specifying the width and height property.
Hope it makes sense
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.