<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<style>
.example-box{
height: 200px;
background-color: #aaa;
margin: 20px 0 0 0;
}
</style>
</head>
<body>
<div class='row'>
<div class='col-sm-1'>
<div class='example-box'></div>
</div>
<div class='col-sm-2'>
<div class='example-box'></div>
</div>
<div class='col-sm-3'>
<div class='example-box'></div>
</div>
<div class='col-sm-6'>
<div class='example-box'></div>
</div>
</div>
</body>
</html>
To preview your koding.com file you need to press the upside down triangle and then preview file
(you need to save all changes to your koding.com file before previewing it. Otherwise those changes will not show)
Your browser should now look like this
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<style>
.col-xs = Extra small devices (ie Phones) (<768px)
.col-sm = Small devices (ie Tablets) (≥768px)
.col-md = Medium devices (ie laptops, or small desktops) (≥992px)
.col-lg = Large devices (ie Desktops) (≥1200px)*
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<style>
.example-box{
height: 200px;
background-color: #aaa;
margin: 20px 0 0 0;
}
</style>
</head>
<body>
<div class='row'>
<div class='col-sm-4'>
<div class='example-box'></div>
</div>
<div class='col-sm-4'>
<div class='example-box'></div>
</div>
<div class='col-sm-4'>
<div class='example-box'></div>
</div>
</div>
</body>
</html>
Make your screen look like this
Write something in every div