How can I vertically center the card with the other content in the right div?
https://i.sstatic.net/FSPmU.png
This is my code:
le="margin-bottom:100px">
I Agree With the terms and service
Request Code
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container">
<div class="row">
<div class="col-lg-8">
<div style="border-radius:2px;padding:10px;background-color:#2120220e;word-wrap: break-word;text-align:center;width:100%;height:auto" id="description" >Testing</div>
<div class="line"></div>
<h3>Your Answer</h3>
<div style="margin-bottom:100px">
<div style="padding:10px" class="form-group">
<textarea rows="10" placeholder="Description" class="form-control" id="upload-editor"></textarea >
</div>
<div class="form-group">
<label class="control control--checkbox">I Agree With the terms and service <input type="checkbox" id="TOS" name="scales"></label>
<button style="float:right" onclick="upload()" class="btn btn-primary mb-2">Request Code</button>
</div>
</div>
</div>
<div class="col-lg-4">
<div class="card" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<h6 class="card-subtitle mb-2 text-muted">Card subtitle</h6>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="card-link">Card link</a>
<a href="#" class="card-link">Another link</a>
</div>
</div>
</div>
</div>
</div>