<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<style>
html,
body {
height: 100%;
}
.container,
.row.justify-content-center.align-items-center {
height: 100%;
min-height: 100%;
}
</style>
</head>
<body>
<!-- Fixed navbar -->
<nav class="navbar navbar-toggleable-md navbar-inverse fixed-top bg-primary">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button><a class="navbar-brand" href="/en-au/">Website</a>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item"><a class="nav-link" href="/en-au/">Home<span class="sr-only"></span></a></li>
</ul>
</div>
</nav>
<!-- Begin page content -->
<div class="container">
<div class="row justify-content-center align-items-center">
<div class="card" style="width: auto;">
<div class="card-block">
<h1 class="card-title text-center">Select options</h1>
<form class="form-inline justify-content-center" method="post">
<select name="list" class="custom-select mb-2 mr-sm-2 mb-sm-2" id="list">
<option value="0" selected>value1</option>
<option value="1">value2</option>
</select>
<select name="region" class="custom-select mb-2 mr-sm-2 mb-sm-2" id="region">
<option value="0" selected>value1</option>
<option value="1">value2</option>
</select>
<button type="submit" class="btn btn-primary mb-2 mr-sm-2 mb-sm-2">Go</button>
</form>
Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>Lots of text
<br>
</div>
</div>
</div>
</div>
<!-- jQuery first, then Tether, then Bootstrap JS. -->
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>
</body>
</html>
Output
You can jump to the latest bin by adding /latest
to your URL
Keyboard Shortcuts
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + ] | Indents selected lines |
ctrl + [ | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + shift + L | Beautify code in active panel |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Open the share options |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
JS Bin URLs
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |