-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e8dabdd
commit fdf823d
Showing
1 changed file
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<!DOCTYPE html> | ||
<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="styles/styles.css"> | ||
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,400i,700&display=swap" rel="stylesheet"> | ||
<title>Notes App</title> | ||
</head> | ||
<body> | ||
<div id="note-app"> | ||
<header class="toolbox"> | ||
<form id="add-category-form"> | ||
<div class="input-field"> | ||
<input type="text" placeholder="Category title"> | ||
</div> | ||
<button type="submit" | ||
class="icon-button toolbox__btn" | ||
title="Add New Category"> | ||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" | ||
stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> | ||
<circle cx="12" cy="12" r="10"></circle> | ||
<line x1="12" y1="8" x2="12" y2="16"></line> | ||
<line x1="8" y1="12" x2="16" y2="12"></line> | ||
</svg> | ||
</button> | ||
</form> | ||
|
||
<div class="input-field"> | ||
<span class="icon"></span> | ||
<input type="search" placeholder="Search..." id="search-input"> | ||
</div> | ||
|
||
<div class="actions"> | ||
<button class="icon-button toolbox__btn" | ||
title="Show All Notes" | ||
id="show-all-notes"> | ||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" | ||
stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> | ||
<polygon points="12 2 2 7 12 12 22 7 12 2"></polygon> | ||
<polyline points="2 17 12 22 22 17"></polyline> | ||
<polyline points="2 12 12 17 22 12"></polyline> | ||
</svg> | ||
|
||
</button> | ||
<button class="icon-button toolbox__btn" | ||
title="Add New Note" | ||
id="new-note-btn"> | ||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" | ||
stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> | ||
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path> | ||
<polyline points="14 2 14 8 20 8"></polyline> | ||
<line x1="12" y1="18" x2="12" y2="12"></line> | ||
<line x1="9" y1="15" x2="15" y2="15"></line> | ||
</svg> | ||
</button> | ||
</div> | ||
</header> | ||
<main> | ||
<section id="categories-list"></section> | ||
|
||
<section id="notes-list"></section> | ||
|
||
<section id="note-editor"> | ||
<form id="note-add-edit-form"> | ||
<input type="text" name="note-title" | ||
autocomplete="off" | ||
placeholder="Note title"/> | ||
<textarea name="note-content" id="note-content" placeholder="Note content..."></textarea> | ||
<button type="submit">Save Note</button> | ||
</form> | ||
</section> | ||
|
||
</main> | ||
</div> | ||
<script src="scripts/note.js"></script> | ||
<script src="scripts/note-dom-helper.js"></script> | ||
<script src="scripts/index.js"></script> | ||
</body> | ||
</html> |