A Pen by Benjamin Berglund on CodePen.
Created
January 9, 2019 22:28
-
-
Save WeeHorse/87add2661d593e276b17f340c3e39230 to your computer and use it in GitHub Desktop.
GTM Booking
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Google Tag Manager (noscript) --> | |
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TXN7LLX" | |
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | |
<!-- End Google Tag Manager (noscript) --> | |
<main class="container"> | |
<div class="jumbotron"> | |
<h1>Booking</h1> | |
</div> | |
<form> | |
<div class="form-group row"> | |
<label for="inputEmail3" class="col-sm-2 col-form-label">Email</label> | |
<div class="col-sm-10"> | |
<input type="email" class="form-control" id="inputEmail3" placeholder="Email"> | |
</div> | |
</div> | |
<div class="form-group row"> | |
<label for="inputPassword3" class="col-sm-2 col-form-label">Password</label> | |
<div class="col-sm-10"> | |
<input type="password" class="form-control" id="inputPassword3" placeholder="Password"> | |
</div> | |
</div> | |
<fieldset class="form-group"> | |
<div class="row"> | |
<legend class="col-form-label col-sm-2 pt-0">Radios</legend> | |
<div class="col-sm-10"> | |
<div class="form-check"> | |
<input class="form-check-input" type="radio" name="gridRadios" id="gridRadios1" value="option1" checked> | |
<label class="form-check-label" for="gridRadios1"> | |
First radio | |
</label> | |
</div> | |
<div class="form-check"> | |
<input class="form-check-input" type="radio" name="gridRadios" id="gridRadios2" value="option2"> | |
<label class="form-check-label" for="gridRadios2"> | |
Second radio | |
</label> | |
</div> | |
<div class="form-check disabled"> | |
<input class="form-check-input" type="radio" name="gridRadios" id="gridRadios3" value="option3" disabled> | |
<label class="form-check-label" for="gridRadios3"> | |
Third disabled radio | |
</label> | |
</div> | |
</div> | |
</div> | |
</fieldset> | |
<div class="form-group row"> | |
<div class="col-sm-2">Checkbox</div> | |
<div class="col-sm-10"> | |
<div class="form-check"> | |
<input class="form-check-input" type="checkbox" id="gridCheck1"> | |
<label class="form-check-label" for="gridCheck1"> | |
Example checkbox | |
</label> | |
</div> | |
</div> | |
</div> | |
<div class="form-group row"> | |
<div class="col-sm-10"> | |
<button type="submit" class="btn btn-primary">Sign in</button> | |
</div> | |
</div> | |
</form> | |
<div class="card"> | |
</div> | |
</main> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).on('submit', 'form', submit); | |
function submit(e){ | |
e.preventDefault(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.2.1/js/bootstrap.min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment