How to attach an image to the top right edge?

I am an aspiring coder, I want to attach an image to the top right corner.
How to do it correctly? How to get rid of top padding?
image.png
April 19th 20 at 12:06
1 answer
April 19th 20 at 12:08
Solution
Flex has nothing to do with this Otsup at the body

body {margin:0}

Find more questions by tags FlexboxHTMLCSS