How to place widgets next to each other for photography website

I am using a site to create before and after slider widgets, I than want to use the widget for my website. The code is:

<script src="https://apps.elfsight.com/p/platform.js" defer></script>
<div class="elfsight-app-738dcbf9-2e16-40e0-8b87-d21a5fa6a201"></div>

This results in the two widgets being in a vertical line, how do
I make it so the widgets are next to each other in horizontal line?