|
| 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 | + <title>Notes App</title> |
| 7 | + <link |
| 8 | + href=" https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" |
| 9 | + rel="stylesheet" |
| 10 | + integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" |
| 11 | + crossorigin="anonymous" |
| 12 | + /> |
| 13 | + </head> |
| 14 | + <body> |
| 15 | + <nav class="navbar navbar-expand-lg bg-body-tertiary"> |
| 16 | + <div class="container-fluid"> |
| 17 | + <a class="navbar-brand" href="#">Magic Notes</a> |
| 18 | + <button |
| 19 | + class="navbar-toggler" |
| 20 | + type="button" |
| 21 | + data-bs-toggle="collapse" |
| 22 | + data-bs-target="#navbarSupportedContent" |
| 23 | + aria-controls="navbarSupportedContent" |
| 24 | + aria-expanded="false" |
| 25 | + aria-label="Toggle navigation" |
| 26 | + > |
| 27 | + <span class="navbar-toggler-icon"></span> |
| 28 | + </button> |
| 29 | + <div class="collapse navbar-collapse" id="navbarSupportedContent"> |
| 30 | + <ul class="navbar-nav me-auto mb-2 mb-lg-0"> |
| 31 | + <li class="nav-item"> |
| 32 | + <a class="nav-link active" aria-current="page" href="#">Home</a> |
| 33 | + </li> |
| 34 | + </ul> |
| 35 | + <form class="d-flex" role="search"> |
| 36 | + <input |
| 37 | + class="form-control me-2" |
| 38 | + type="search" |
| 39 | + placeholder="Search" |
| 40 | + aria-label="Search" |
| 41 | + id="searchtxt" |
| 42 | + /> |
| 43 | + <button class="btn btn-outline-success" type="submit"> |
| 44 | + Search |
| 45 | + </button> |
| 46 | + </form> |
| 47 | + </div> |
| 48 | + </div> |
| 49 | + </nav> |
| 50 | + |
| 51 | + <div class="container my-3"> |
| 52 | + <h2>Welcome to Notes App</h2> |
| 53 | + <div class="card"> |
| 54 | + <div class="card-body"> |
| 55 | + <h5 class="card-title">Add some notes</h5> |
| 56 | + <div class="form-floating"> |
| 57 | + <textarea class="form-control" id="addTxt"></textarea> |
| 58 | + </div> |
| 59 | + <br /> |
| 60 | + <button class="btn btn-primary" id="addBtn">Add Notes</button> |
| 61 | + </div> |
| 62 | + </div> |
| 63 | + <hr /> |
| 64 | + <h2>Your notes appear here</h2> |
| 65 | + <div id="notes" class="row container-fluid"> |
| 66 | + <!-- <div class="card my-2 mx-2" style="width: 18rem"> |
| 67 | + <div class="card-body"> |
| 68 | + <h5 class="card-title">Note</h5> |
| 69 | + <p class="card-text"></p> |
| 70 | + <a href="#" class="btn btn-primary">Delete Note</a> |
| 71 | + </div> |
| 72 | + </div> --> |
| 73 | + </div> |
| 74 | + </div> |
| 75 | + <script |
| 76 | + src=" https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" |
| 77 | + integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" |
| 78 | + crossorigin="anonymous" |
| 79 | + ></script> |
| 80 | + <script src="js/app.js"></script> |
| 81 | + </body> |
| 82 | +</html> |
0 commit comments