<div class="container  p-2">
  <form >
        <div class="form-check">
        <input class="form-check-input" type="checkbox" value="yes" id="newsletter_signup">
        <label class="form-check-label" for="newsletter_signup">
        Signup for our newsletter
        </label>
        </div>
  </form>
  </div>

External CSS

  1. https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css

External JavaScript

This Pen doesn't use any external JavaScript resources.