|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <meta http-equiv="X-UA-Compatible" content="ie=edge"> |
| 7 | + <title>Document</title> |
| 8 | + |
| 9 | + <!-- Bootstrap --> |
| 10 | + <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> |
| 11 | + <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script> |
| 12 | + <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script> |
| 13 | + <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script> |
| 14 | + |
| 15 | + <!-- Our files --> |
| 16 | + <link rel="stylesheet" href="style.css"> |
| 17 | + <script src="script.js"></script> |
| 18 | + |
| 19 | +</head> |
| 20 | +<body> |
| 21 | + |
| 22 | + <div class="container"> |
| 23 | + <h1 class="display-4 py-2" align="center">Todo List</h1> |
| 24 | + |
| 25 | + <!-- Input elements and buttons --> |
| 26 | + <div class="row"> |
| 27 | + |
| 28 | + <div class="form-group col-9"> |
| 29 | + <label for="exampleInputEmail1">New Task</label> |
| 30 | + <input type="text" |
| 31 | + class="form-control" |
| 32 | + id="inpNewTask" |
| 33 | + aria-describedby="newTaskHelp" |
| 34 | + placeholder="Task title"> |
| 35 | + |
| 36 | + <small id="newTaskHelp" |
| 37 | + class="form-text text-muted"> |
| 38 | + Describe an upcoming task |
| 39 | + </small> |
| 40 | + </div> |
| 41 | + |
| 42 | + <div class="col-3"> |
| 43 | + <div class="row flex-centered"> |
| 44 | + <button class="btn btn-sm btn-primary mx-1" id="btnAdd">ADD</button> |
| 45 | + <button class="btn btn-sm btn-danger mx-1" id="btnClearDone">CLEAR</button> |
| 46 | + </div> |
| 47 | + |
| 48 | + </div> |
| 49 | + |
| 50 | + </div> |
| 51 | + |
| 52 | + <!-- Task List --> |
| 53 | + |
| 54 | + <div class="row px-4"> |
| 55 | + <ul class="list-group col-12" id="taskList"> |
| 56 | + <li class="list-group-item">Cras justo odio</li> |
| 57 | + <li class="list-group-item">Dapibus ac facilisis in</li> |
| 58 | + <li class="list-group-item done">Morbi leo risus</li> |
| 59 | + <li class="list-group-item">Porta ac consectetur ac</li> |
| 60 | + <li class="list-group-item">Vestibulum at eros</li> |
| 61 | + </ul> |
| 62 | + </div> |
| 63 | + |
| 64 | + </div> |
| 65 | + |
| 66 | +</body> |
| 67 | +</html> |
0 commit comments