I have watched many famous youtubers explaining javascript ,i watched 100 videos of javascript but Your explaining concepts is very awesome and i know my life is changing after watching this video Thanks a lot bro ,we will make your channel 100k
today, i have learnt a lot . Amazing video and very very helpful for beginners . And also useful to revise basic . Thankyou so much and i have completed whole video . I will try to make it again for practice functions . 😊☺💛💛💛
great vdo sir , but ab plz react js ka bhi course laaiye, aapke vdo se to bhot ache se smjh gya s concepts javascript ke project through, ab plz react js ka tutorial bhi laaiye aap
for this we can validate the text field. or we can show alert msg for empty like this //insert action if(name){ userArray.push({ 'name': name }); }else{ alert('please enter the Name'); }
ek line me bhot saare text likh du-- aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa to page ki formating khrab ho ja rhi can u pls explain how to align
Search feature or pagination feature bhi the isliye ek video me add, delete, display, update features bna diya or next video me pagination or search ke liye bna diya
www.kingofjavascript.com par maine sara code share kiya hai.. aap waha par live editor me code ko edit kar karke dekh skte hai ki kaha par problem aa rha hai. bina aapka code dekhe kaise bta skta hu ki problem kis line me hai.
we need only one variable to add data in local storage. so we used array to add multiple data in one variable. if you using MySQL database then you don't need array.
1st time jab localStorage.getItem kaiya tab to localStorage mai save horaha tha likhin 2nd time jab recod (Application)se manually dlt karne k baad jab fir se localStorage mai save karna chahe tab kyu nhi ho raha tha. fir jab aap objStr !=null kiya tab save ho raha tha. objStr !=null a kyu kiya a to samjh aarha hai likhin pehle jab a objStr !=null na kr k bad v save kiya the save hua likhn 2nd time mai kyu nhi hua. please explain...🙏🙏🙏
aap jo explanation diya khali value aarha tha isilye 2nd time save nhi ho rha tha, Likhin null value aahe kyu raha tha aap to input box mai value dal k try kar rahe the to null value kaha se , kaise / kyu aarha tha
@@luke4372 thank you for asking: dekho localStorage.setItem('users', str); kya krta hai ki jo bhi 'str' variable me hoga use local storage (application) me store kar dega, jb jb localStorage.setItem('users', str); chlega humesha 'users' wali key par 'str' ki value store krata rhega or setItem ko koi matlab nhi ki application me pehle se values hai ya nhi, application khali ho ya bhari ho ye to purani values ko pehle delete krega or nayi value store kar dega; to humne kya kiya ki localStorage.setItem('users', str); chlane se pehle check kiya ki 'users' wali key par application me pehle se data hai ya nhi. jb first time localStorage.getItem('users'); chlayenge to applicaton me koi bhi data nhi hoga, to jb location storage me kucch bhi nhi hoga yani khali hai to jb localStorage.getItem('users'); chlayenge to hume null milega; agr aap local Storage ko manually delete krke localStorage.getItem('users') chlayenge to null milega. application me kucch bhi nhi hone ki condition me null milega; to hume ye krna tha ki agr application me pehle se data ho to yani wo null nhi ho to usi data ko pehle get kro or usme new data add kro or wapas use localStorage.setItem('users', str); krke application me store kar do; let objStr = localStorage.getItem('users');
if(objStr!=null){ userArray = JSON.parse(objStr); } objStr!=null ye condition check kr rha hai ki agr application me pehle se value ho to kya krenge
Best todo list tutorial
I have watched many famous youtubers explaining javascript ,i watched 100 videos of javascript but
Your explaining concepts is very awesome and i know my life is changing after watching this video
Thanks a lot bro ,we will make your channel 100k
Thanks and welcome
Very helpful
Thank you 😊
Very Helpful video.. JS pe aur videos banate rahiye.. Thank you..
Thank you so much sir bahut aache se explain kiya edit bala samj he nai raha tha but aapne smja diya thank you again sir 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
Most welcome
Nice Tutorial
Thanks
today, i have learnt a lot . Amazing video and very very helpful for beginners . And also useful to revise basic . Thankyou so much and i have completed whole video . I will try to make it again for practice functions . 😊☺💛💛💛
watched so many videos about to do list but aapne bohot acche se aur asaan tarike se samjhaya thank u . u gain a subscriber
thanx for visit
nice project
Thanks
Bohutt axha or easy explain kiya thanku so much😍
Most welcome
Thanks for this. Nice explanation
thank you so much for watching 😊
Nice step-by-step explanation. Thank you for such content.
you're welcome and keep watching
Thanks! :) It's helpull for me.
Please share HtMl css code
Awesome, Great explanation
thanks sir.
Thank you so much 🥰
Nice Job bro
thank you so much
great vdo sir , but ab plz react js ka bhi course laaiye, aapke vdo se to bhot ache se smjh gya s concepts javascript ke project through, ab plz react js ka tutorial bhi laaiye aap
Hello Bhai , Kitna js Sikha abhi tak
Hello mjhe apke logic thore complex lagte hain butt concept pr grip bhttt acha hai aapka course nhin hai js pr?
Yahi chaiye tha
Hello sir , i have some queries related to javascript. Could you please guide me
Sure
Sir how to build javascript logics? I can't write code
How to build todo app using module system
(Use import)& (export) ????
I'll make video soon for it
When I empty the input field and click the button, the blank data is shown on the screen. How do you think I could fix it?
for this we can validate the text field. or we can show alert msg for empty like this
//insert action
if(name){
userArray.push({
'name': name
});
}else{
alert('please enter the Name');
}
Fix it thank you for your response
ek line me bhot saare text likh du--
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
to page ki formating khrab ho ja rhi
can u pls explain how to align
Thanks for visit.
Just use css property
word-wrap:break-word
ekbar mein itna functionality naa deke sirf add or delete dete toh samajne mein asani hoti
Search feature or pagination feature bhi the isliye ek video me add, delete, display, update features bna diya or next video me pagination or search ke liye bna diya
Unexpected token 'o', "[object Obj"... is not valid JSON
at JSON.parse ()
sir how to fix this problem plz help me
www.kingofjavascript.com par maine sara code share kiya hai.. aap waha par live editor me code ko edit kar karke dekh skte hai ki kaha par problem aa rha hai. bina aapka code dekhe kaise bta skta hu ki problem kis line me hai.
Why are we saving data in form of objects inside array, what is the purpose of doing that.
we need only one variable to add data in local storage.
so we used array to add multiple data in one variable.
if you using MySQL database then you don't need array.
1st time jab localStorage.getItem kaiya tab to localStorage mai save horaha tha likhin 2nd time jab recod (Application)se manually dlt karne k baad jab fir se localStorage mai save karna chahe tab kyu nhi ho raha tha. fir jab aap objStr !=null kiya tab save ho raha tha. objStr !=null a kyu kiya a to samjh aarha hai likhin pehle jab a objStr !=null na kr k bad v save kiya the save hua likhn 2nd time mai kyu nhi hua. please explain...🙏🙏🙏
aap jo explanation diya khali value aarha tha isilye 2nd time save nhi ho rha tha, Likhin null value aahe kyu raha tha aap to input box mai value dal k try kar rahe the to null value kaha se , kaise / kyu aarha tha
@@luke4372 thank you for asking:
dekho localStorage.setItem('users', str); kya krta hai ki jo bhi 'str' variable me hoga use local storage (application) me store kar dega, jb jb localStorage.setItem('users', str); chlega humesha 'users' wali key par 'str' ki value store krata rhega or setItem ko koi matlab nhi ki application me pehle se values hai ya nhi, application khali ho ya bhari ho ye to purani values ko pehle delete krega or nayi value store kar dega;
to humne kya kiya ki localStorage.setItem('users', str); chlane se pehle check kiya ki 'users' wali key par application me pehle se data hai ya nhi. jb first time localStorage.getItem('users'); chlayenge to applicaton me koi bhi data nhi hoga, to jb location storage me kucch bhi nhi hoga yani khali hai to jb localStorage.getItem('users'); chlayenge to hume null milega;
agr aap local Storage ko manually delete krke localStorage.getItem('users') chlayenge to null milega. application me kucch bhi nhi hone ki condition me null milega;
to hume ye krna tha ki agr application me pehle se data ho to yani wo null nhi ho to usi data ko pehle get kro or usme new data add kro or wapas use localStorage.setItem('users', str); krke application me store kar do;
let objStr = localStorage.getItem('users');
if(objStr!=null){
userArray = JSON.parse(objStr);
}
objStr!=null ye condition check kr rha hai ki agr application me pehle se value ho to kya krenge
Haan smjh Gaye and Thank you bhaiya❤❤❤ itne aache se explain karne k liya ❤
@@luke4372 keep watching my videos 😊
@@KingofJavaScript yes always
Live demo
Link is not working
Yes, i know link is not working. I'll update as soon as possible
It is not wroking
check in description box, there is live demo link you can see this is working fine