uwu
HTML
<body>
<div class="wrapper">
<div>
<h1>Lorem Ipsum</h1>
<h2>Dolor Sit Amet, here's some extra text</h2>
</div>
<div>
<img src="https://lorempixel.com/g/64/64/">
</div>
</div>
</body>
CSS
body {
margin: 0;
padding: 0;
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.wrapper {
display: flex;
}
img {
margin-left: 8px;
height: 100%;
}