How to put 2 photos side by side

I’m trying to code for a tribute page on replit and I wanted to put image side by side but it doesn’t seem to work. No matter what I do, it’s still top to bottom and it’s annoying because I have a bunch of empty spaces toward on the right hand side

Here is my html

<img src="https://6.viki.io/image/ece0259655ea49c2b3f8ab8062cac629.jpeg?s=900x600&e=t" alt="shinee-foudation-logo-and-Jjong" height="500" width="450"> <img src ="https://i.pinimg.com/originals/19/2d/25/192d25f4bd6359d5a1081d4427743d89.jpg" alt=PinkJjong height="450" width="450">   

I’m trying hard to fill up right hand side spaces cuz,as you can see, it kills the aesthetics. I tried W3school already but it doesn’t seem to work….idk y. Can someone please help?

You probably need a layout manager of some kind. Look up grid layout for eg.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.