How To Build Notes App Using HTML CSS and JavaScript

How To Build Notes App Using HTML CSS and JavaScript

GreatStack

1 год назад

98,969 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@pain7359
@pain7359 - 30.11.2023 19:14

why is my local storage not working ? I'm new to programming i don't know much :(

Ответить
@utkarshpatidar167
@utkarshpatidar167 - 23.11.2023 12:02

if(localstorage issue){
You need to replace that else if condition
You can write -
else if (e.target.classList.contains("input-box"))
}

Ответить
@amalilmu3235
@amalilmu3235 - 23.11.2023 09:08

it's not working at my pc.

Ответить
@dadi_vlogs3254
@dadi_vlogs3254 - 11.11.2023 23:38

Thanks Bro.

Ответить
@user-gc7sf3ji6j
@user-gc7sf3ji6j - 07.11.2023 15:36

The indians have much higher iq than the sweeds.

Ответить
@NK-te6oo
@NK-te6oo - 26.10.2023 10:01

For everyone accidentally "remove" their delete button and don't know how to make it appear again. First, use localStorage.clear() to clear all the data you stored including the note you couldn't delete. Then, in the createBtn.addEventListener(), add this: img.setAttribute("contenteditable", "false");. So that you won't delete your button when you edit your note. P/s: remember to erase the clear storage command after you did this

Ответить
@user-yd4pb6tg4c
@user-yd4pb6tg4c - 26.10.2023 05:56

google drive not work properly. Image download problem.

Ответить
@ed_badilla
@ed_badilla - 25.10.2023 08:19

what can we use instead of document.execCommand("insertLineBreak"); as execCommand is deprecated ???
thanks for you hard work!

Ответить
@CodeWithRingo
@CodeWithRingo - 25.10.2023 05:40

mine aint work

Ответить
@user-rt7ql9di7l
@user-rt7ql9di7l - 23.10.2023 16:52

I have a problem of addEventListener at 5th line of js. It says
Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')
I've googled it but couldn't find any solutions. Can anyone help me with this

Ответить
@user-bk6yu8um3u
@user-bk6yu8um3u - 18.10.2023 17:54

Nice

Ответить
@target500milliontradersinv5
@target500milliontradersinv5 - 16.10.2023 04:24

Super. But writing showNotes javascipt code, I got null in browser. I don't know why . And also after refreshing, its not showing the stored data. Can any one help me to resolve?

Ответить
@psycho_fact535
@psycho_fact535 - 06.10.2023 20:38

Thanks for the wonderful tutorial ❤
But when i completed this project , in the first notes box delete icon is not showing and i can't be able to remove first note box 😢😢
What to do now ?!

Ответить
@bookreadershub1153
@bookreadershub1153 - 28.09.2023 15:24

better understanding of DOM manipulation

Ответить
@Dibyendu_das_96
@Dibyendu_das_96 - 25.09.2023 13:55

nice

Ответить
@BerlinDuvar
@BerlinDuvar - 24.09.2023 00:04

Thanks for great content! Is it possible to share with us also code itself from github or something?

Ответить
@bigneism
@bigneism - 18.09.2023 11:42

if the local storage doesn't work for you, and the notes aren't there after you reload the page, capitalize the p in row 28

else if(e.target.tagName === 'p')

just change p to P and it's gonna work

Ответить
@batuhanbayr7613
@batuhanbayr7613 - 16.09.2023 19:57

best teacher for juniors 💙

Ответить
@vedantzanjad
@vedantzanjad - 09.09.2023 23:32

In case after refreshing the page if you are not getting the text as same as
USE THIS

notesContainer.addEventListener("click", function (e) {
if (e.target.tagName === "IMG") {
e.target.parentElement.remove();
updateStorage();
} else if (e.target.tagName === "P") {
notes = document.querySelectorAll(".input-box");
notes.forEach((note) => {
updateStorage();
});
}
});

Ответить
@vedantzanjad
@vedantzanjad - 09.09.2023 22:17

Thank You

Ответить
@sweetdevil3647
@sweetdevil3647 - 07.09.2023 17:33

It's An Amazing Project Sir, I've Been Following You For The Few Days. And It Is Quite Good To Following You. Sir There Is Small Issue In This Nots Website That The Cursor Is Starting From The Image Tag Not From Te Starting, So How To Fix It ? And Also While Selecting All Text Using CTRL + A The All The Text With The Image Also Get Selected And While Pressing Back Space It's Also Deleting The Img

Ответить
@arjuno7058
@arjuno7058 - 07.09.2023 05:35

I followed all the instructions in the video everything works fine, but when I reload the browser the note disappear. And when I checked on the console it shows no errors. The storage doesn't work

Ответить
@asehindejuwon6844
@asehindejuwon6844 - 23.08.2023 11:50

Hello Sir, everything works perfectly as it show in the tutorial, but after deleting the note, I'm unable to add new note until i remove the showNotes() function.

Ответить
@bimokayoba
@bimokayoba - 22.08.2023 18:11

you can use this instead of create element
addNoteBtn.addEventListener("click", () => {
const newNoteHTML = '<p contenteditable="true" class="input"><img src="./data/trash-bin.png" width="40px" onmouseover="animateTrash(this)" onmouseleave="stopAnimateTrash(this)"></p>';
noteContainer.insertAdjacentHTML("beforeend", newNoteHTML);

// After adding the new note, update the 'notes' NodeList
notes = document.querySelectorAll(".input");
});

Ответить
@vigneshnaik546
@vigneshnaik546 - 17.08.2023 07:31

Instead of create element in javascript we can use inseradjecent html this is easy way

Ответить
@rakeshpandey6768
@rakeshpandey6768 - 16.08.2023 11:27

There is a problem with content editable as if user select all and delete the content in browser, delete button also gets deleted 😂😂

Ответить
@AVTerrorX
@AVTerrorX - 15.08.2023 08:52

When i added updateStorage function in createBtn section, it started to store and save the data. Till before, it wasn't storing anyting. How is this possible?

Ответить
@kaleb823
@kaleb823 - 09.08.2023 16:01

can you help me Why the delete image is deleted by cursor.

Ответить
@hade1846
@hade1846 - 18.07.2023 22:13

Thank you again! I've been the whole morning creating projects following your tutorials.

Ответить
@abdiladifmohamud5957
@abdiladifmohamud5957 - 10.07.2023 18:44

Sir localstoarge is not working for me. How can I solve it? I have followed you step by step but am unsuccessful

Ответить
@syedsalmanali7359
@syedsalmanali7359 - 07.07.2023 19:18

there is held error in javascript 1st 5th line please tell me

Ответить
@MyGamingEra
@MyGamingEra - 07.07.2023 08:57

Local storage note working sir🥲

Ответить
@the_phoenix2768
@the_phoenix2768 - 06.07.2023 13:29

Hi i have followed what you did with the dustbin icon but after l place java script it disappears .can you help

Ответить
@priyaslife-vx1mu
@priyaslife-vx1mu - 02.07.2023 07:45

Why I couldn't store the data when I refresh the page.
I have given the exact get, set Item still i couldn't store and show the data.

Ответить
@user-kq5zf2df3u
@user-kq5zf2df3u - 18.06.2023 21:46

mine isn't working when i click on it

Ответить
@monk_widom
@monk_widom - 16.06.2023 05:06

Sir I use button instead delete icon
But when I write something it will start writing inside the buttons not I p tag
......solve this

Ответить
@Hybridham86
@Hybridham86 - 30.05.2023 05:06

Hi there could you please provide the source code ? I'd like to compare as my local storage isn't working. Thank you.

Ответить
@ShimmerBodyCream
@ShimmerBodyCream - 24.05.2023 20:24

thank you! What a fantastic resource.

Ответить
@Matthew_with_VPS_Hosting
@Matthew_with_VPS_Hosting - 24.05.2023 15:38

Design the CSS layout
Add CSS styles to create a visually appealing layout for your notes app. Style the container, input fields, buttons, and any other elements as needed.

Ответить
@MrS.A.B
@MrS.A.B - 16.05.2023 16:18

pics folder is no available

Ответить
@emmanuelimwa2905
@emmanuelimwa2905 - 15.05.2023 03:16

would you please provide the link for downloading images.

Ответить
@bilbyplaisir9413
@bilbyplaisir9413 - 14.05.2023 20:30

Hi I can say since I followed you my skills are now increasing I like your videos so much but I wanted you to make a video about a working payment gateway thank you 🙏🙏👋👋

Ответить
@luckydotpro5533
@luckydotpro5533 - 13.05.2023 20:13

Show as about a video play using js

Ответить
@abhisaragarwal9084
@abhisaragarwal9084 - 12.05.2023 14:20

Hello sir I want to know how can I make a project section for my portfolio website I need a good card design where it would be responsive and the UI should also not be that bad

Ответить
@anishhazra2204
@anishhazra2204 - 12.05.2023 11:27

sir react js ka bhi bano video please

Ответить
@alimulla4098
@alimulla4098 - 11.05.2023 21:07

Bring more projects for beginners sir😊

Ответить
@abdoulayebah2932
@abdoulayebah2932 - 11.05.2023 18:30

Where is the path to download the images for this project.

Ответить
@Themescore
@Themescore - 11.05.2023 16:55

Make a video on permanent dark and light mode Website

Ответить
@olawale11954
@olawale11954 - 11.05.2023 04:27

Thank you sir for the video. Have learnt alot from your videos

Ответить