Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
    <h1>My Todo List</h1>
        <ul>
            <li>Some foo I need to do. <input type=checkbox>
            <li>Some bar I need to do. <input checked type=checkbox>
            <li>Some baz I need to do. <input type=checkbox>
            <li>Some qux I need to do. <input type=checkbox>
            <li>Some lorem I need to do. <input type=checkbox checked>
            <li>Some ipsum I need to do. <input type=checkbox>
            <li>Some dolor I need to do. <input type=checkbox>
            <li>Some si I need to do. <input type=checkbox>
            <li>Some amet I need to do. <input type=checkbox>
        </ul>
    <div>Check all<input type=checkbox></div>
</body>
</html>
 
body {
    background: white;
}
ul {
    margin: 0;
    padding:0;
}
li{
    display: flex;
    justify-content: space-between;
}   
li:nth-child(2n) {
    background: lightgray;
}
ul {
    border: solid;
    width: 300px;
    max-height: 100px;
    overflow: auto;
}
div {
    border: solid gray;
    width: 300px;
    text-align: right;
}
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
frivoalpro
0viewers