I am currently working on setting up a login page using bootstrap. I have divided the page into 2 divs, each with col-lg-5 and col-lg-7. My goal is to place an image on the left side div and the login form on the right side div. However, regardless of the screen resolution, I always end up with col-lg-5 at the top and col-lg-7 at the bottom. Can someone please help me figure out what I might be doing wrong here?
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="d6b4b9b9a2a5a2a4b7a696e2f8e5f8e7">[email protected]</a>/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1L" crossorigin="anonymous">
<title>Hello, world!</title>
</head>
<body>
<section class="Form my-4 mx-5">
<div class="container">
<div class="row">
<div class="col">
<div class="col-lg-5">
<img src="./images/login2.png" alt="">
</div>
<div class="col-lg-7">
<form action="">
<div class="form-row">
<div class="col-lg-7">
<input type="email" placeholder="Email-Address" class="form-control">
</div>
</div>
<div class="form-row">
<div class="col-lg-7">
<input type="password" placeholder="******" class="form-control">
</div>
</div>
<div class="form-row">
<div class="col-lg-7">
<button type="button" class="btn1">Login</button>
</div>
</div>
<a href="#">Forgot Password</a>
<p>Don't have an account yet? <a href="#">Register here</a></p>
</form>
</div>
</div>
</div>
</div>
</section>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="f4849b84849186da9e87b4c5dac5c0dac3">[email protected]</a>/dist/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="ea8885859e999e988b9aaadec4d9c4db">[email protected]</a>/dist/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
</body>
</html>