I am currently in the process of learning how to build a website with HTML5, CSS, Bootstrap, and JavaScript. I would like to know how to arrange these buttons horizontally instead of vertically. My goal is to have them displayed centrally, beneath Quick Buy, with appropriate spacing between each button. https://i.sstatic.net/BSOVG.png
Below are some snippets from my code:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="f5979a9a818681879485b5c1dbc0dbc6">[email protected]</a>/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<!-- jQuery and JS bundle w/ Popper.js -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="781a17170c0b0c0a1908384c564d564b">[email protected]</a>/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
<main class = container>
<form action="" method="">
<div class="container mt-5">
<h3 class="text-center">Quick Buy</h3>
<br>
<div class="form-group">
<button type="button" class="btn btn-warning dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Select Movie
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="#">Disney's Mulan</a>
<a class="dropdown-item" href="#">Tenet</a>
<a class="dropdown-item" href="#">Pinocchio</a>
</div>
</div>
<div class="form-group">
<button type="button" class="btn btn-warning dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Select Cinema
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="#">Yellow Dhoby</a>
<a class="dropdown-item" href="#">Yellow Vivo City</a>
<a class="dropdown-item" href="#">Yellow Bedok</a>
</div>
</div>
<div class="form-group">
<button class="btn btn-warning" type="submit">Book Now</button>
</div>
</div>
</form>
</main>