File tree Expand file tree Collapse file tree 3 files changed +5
-12
lines changed
Expand file tree Collapse file tree 3 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 77
88 -->
99
10-
11-
12-
1310<!DOCTYPE html>
1411< html lang ="en ">
1512
1613< head >
1714 < meta charset ="UTF-8 ">
1815 < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
1916 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
20- < link rel ="shortcut icon " href ="https://alonepranav.onrender.com/image/SC.png " type ="image/png ">
17+ < link rel ="shortcut icon " href ="../favicon.ico " type ="image/icon ">
2118 < title > Notes App</ title >
2219
2320 < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css ">
2421 < link rel ="stylesheet " href ="style.css ">
2522</ head >
2623
2724< body >
28-
2925 < header >
30- < div class ="logo " >
26+ < div class ="logo ">
3127 NOTES APP
3228 </ div >
3329 < div class ="add flex " onclick ="insertNewNote() ">
3430 Add Notes
3531 </ div >
3632 </ header >
3733
38- < div id ="add ">
39- </ div >
34+ < div id ="add "> </ div >
4035
4136 < script src ="index.js "> </ script >
4237</ body >
Original file line number Diff line number Diff line change 11
2-
3-
42let addBtn = document . querySelector ( ".add" ) ;
53let render_div = document . querySelector ( "#add" ) ;
64let noteNo = 1 ;
@@ -40,8 +38,8 @@ const renderData = () => {
4038 render_div . insertAdjacentHTML ( "beforeend" , `
4139 <div class="box" data-key="${ id } ">
4240 <p>Notes No ${ i }
43- <i class="bi bi-trash" onclick="remove(this)"></i>
44- <i class="bi bi-save" onclick="save(this)"></i>
41+ <i class="bi bi-trash" onclick="remove(this)" title="Delete Note" ></i>
42+ <i class="bi bi-save" onclick="save(this)" title="Save Note" ></i>
4543 </p>
4644 <textarea>${ localStorage . getItem ( id ) } </textarea>
4745 </div>` )
You can’t perform that action at this time.
0 commit comments