mam mera ek error a raha hai jab me calculator me koi bhi button press karta hun to wo bohttt likh deta hai jese 9 press kiy to ye a jata hai 99999999999999999999 same esi tara har word ye kya problem hai ? mene full copy kiya hai still ye a raha hai
Aapne kahi addEventListener all buttons pe to nhi laga diya. Check I have applied the listener on button variable that is used inside forEach loop not on the buttons variable. And use consoe.log() to check how many times your event is running on click of a button. button and buttons are two different variables. You can use different names of variables to avoid confusion.
Mam equal button work nehi kar Raha hei jitna research karneke bad v Problem - equal symbol show ho Raha hei Agar 1+2= press karuta 1+2= Output heraha hei please solution bata do🙏🙏
Ek calculator ke liye itni coding HTML CSS Javascript 3 3 jga coding M to hello world likh khud ko web developer smjhne lga tha 😅 Ma'am apki salary kitni hogi 🤔
I recently discovered this channel and found it extremely useful in terms of learning. Plus I really liked your way of teaching (simple and easy). Thanks :)
There is a bug in your js code. (For example for the input 9%*3 = nothing happened. So, the user will get confused.) Use try-catch to throw a "syntax error ". Btw Thank you for ur amazing afford ma'am.
Yes that is a bug and here is the code to get rid of it : This is the code for only the If part if(e.target.innerHTML == '=') { try { string = eval(string); if(isNaN(string)) { throw new Error('') } input.value = string;
Hello ma'am Vs code pr code write kr liya hai structure and view to same hai and axa dikh rha hai but working calculation ni kr rha 2 din se pareshan hu & 3 time code bhi check kr chuka hu ... Help kriye
once the video is posted by "code traversal" you know that you are going to understand everything quickly... thanks for everything that you teach us... i hope you will never stop teaching cause you are a very good teacher.... much love.....
This video is really helpful and really easy to understand. Thank you so much. I am starting my 9 months full stack web dev course here in France from october and I believe your channel is going to help me a lot.
my code is not working of js index.js:13 Uncaught TypeError: Cannot set properties of null (setting 'value') at HTMLButtonElement. (index.js:13:21) showing this error
Const display= document.getElementbyId ('display') Make input id as display for showing figure make id as appendToDisplay For clearscreen put id on button AC as clearDisplay For calculate Put id on = symbol calculate Make three functions appendToDisplay(input) {display.value += input } // figures will show in input Function clearScreen (){ Display.screen =' '} Function calculate (){ Try{display.value=eval(display.value)} catch (error) {Display.value ='error'} } This is the simple code you make it tooo complecated
how old you are ha ha muje pata jai ki kisi ladaki unki age nahi puchani chahiye but kya karu app ki awaz hi itaini achii hai ki kya karu you will be a big you tuber
i copy you word by word but this eror is occur " script.js:8 Uncaught TypeError: button.addEventlistener is not a function at script.js:8:12 at Array.forEach () at script.js:7:5 "
Tremendous work.! Kindly provide me with some tactics on how to improve my front end development because I am a newbie to these things. Ps ( I am very confused by divs and their relations). Waiting for your reply.....
wow mam the way of your teaching is awesome.... i found a diamond on youtube i like to wach your all videos i love you mam love you 3000>> this will help me alot to start my js journey thanks a lot of you 😃🥰😀
Ma'am this and your all tutorials are amezing and Your way of explaining is also very good, this tutorial is very very helpful for me, thanks a lot ma'am ❤❤❤❤❤
Mam maine bohot calculator making video dekha but.. Aap ek ek point bolte ho... It's very helpful... Aur bhi aise project banao mam.. Portfolio website, toc toe game etc
Mam ap run karaneke lie konsa extension use kar rahi ho? Mai visual studio code ka new user hu Isiliye dikkat ho Raha hai extensions select karne me Help me mam.
[1].I have seen this lecture today.I have completely understood all the concepts you explained in class. Your teaching method was very simple and effective, which made me understand everything easily. I am very grateful to you for your guidance and hard work. Your student, [Ayush & Adarsh]...🫡❤ 18TH JULY 2024...
very very very very helpfull and amazing video thanks you so much you earned my subscription and all notification , muj se yahi ho sakta hai but me apki video group me share akrta hun jaha par sabko aisi hi video ki talash hai thank you so much 😃😃
If you like this video, please don't forget to like and subscribe to this channel🙂.
mam mera ek error a raha hai jab me calculator me koi bhi button press karta hun to wo bohttt likh deta hai jese 9 press kiy to ye a jata hai
99999999999999999999
same esi tara har word ye kya problem hai ?
mene full copy kiya hai still ye a raha hai
Aapne kahi addEventListener all buttons pe to nhi laga diya. Check I have applied the listener on button variable that is used inside forEach loop not on the buttons variable. And use consoe.log() to check how many times your event is running on click of a button. button and buttons are two different variables. You can use different names of variables to avoid confusion.
Mam equal button work nehi kar Raha hei jitna research karneke bad v
Problem - equal symbol show ho Raha hei
Agar 1+2= press karuta 1+2= Output heraha hei please solution bata do🙏🙏
First evaluate the output string using eval() function and then pass that string to the input or your display.
@@safwankhattak9769 use this Code : -
let input = document.getElementById('inputBox');
let buttons = document.querySelectorAll('button');
let string = "";
let arr = Array.from(buttons);
arr.forEach(button => {
button.addEventListener('click', (e) => {
try {
if (e.target.innerHTML == '=') {
string = eval(string);
input.value = string;
} else if (e.target.innerHTML == 'AC') {
string = "";
input.value = string;
} else if (e.target.innerHTML == 'DEL') {
string = string.substring(0, string.length - 1);
input.value = string;
} else {
string += e.target.innerHTML;
input.value = string;
}
} catch (err) {
console.log('Error:', err.message);
input.value = 'Error';
string = '';
}
})
});
Ek calculator ke liye itni coding HTML CSS Javascript 3 3 jga coding
M to hello world likh khud ko web developer smjhne lga tha 😅
Ma'am apki salary kitni hogi 🤔
😄😄😄😄
I recently discovered this channel and found it extremely useful in terms of learning. Plus I really liked your way of teaching (simple and easy). Thanks :)
Ar ye hai kon ladka ya ladki
@ManishKumar-cn2ou wow ap ko ye tak nahen pata chala, wah wah!!! ye lakri heain 😀😀
Same ❤
There is a bug in your js code. (For example for the input 9%*3 = nothing happened. So, the user will get confused.)
Use try-catch to throw a "syntax error ".
Btw Thank you for ur amazing afford ma'am.
Yes that is a bug and here is the code to get rid of it :
This is the code for only the If part
if(e.target.innerHTML == '=')
{
try {
string = eval(string);
if(isNaN(string))
{
throw new Error('')
}
input.value = string;
} catch (error) {
input.value = "Syntax Error";
setTimeout(()=>{
input.value = "";
},2000)
}
}
@@nikethdonthula2123 why don't use chatgpt instead😉
We can use" ===" instead of==
@@Rapunzel-mo9urin debugging?
you are such a good teacher i saw on UA-cam and your voice is so cute, sweet and listenable
बिल्कुल तसल्ली से और सबसे आसान तरीके से .. HTML, CSS और JAVASCRIPT की सहायता से आपने CALCULATOR बनाना बताया !
शुक्रिया ...
Subscribe for learn coding : ua-cam.com/users/postUgkx1oxDYQjpogD0gq03eQ74_2kEls9KvIY2
Hlo , isme percentage wala button kaise kam krega plzz bata dijiye
Finally someone using HTML CSS and JS very perfectly
Exactly
Wow, what an amazing teaching method! The way you delivered it is outstanding.
Thanks
Didi ap Script part ko thoda aur explain kar dete to achha hota. Kiuki jisko bhi Js nehi ata he bobhi samjh jata. This is my point of view.
Thanks for the feedback. I'll try from next time.
Script is JavaScript used and writing program
Isme string property can not create bata raha hai
omggg thank you so much !
i made my 1st calculator!
your explanation is so good!
Wowwww😮😮😮😮😮
I emjoyed your teaching method but sometimes there is no way to understand which language you talk :)
Hindi
same code, code with harry ka hai. Jo bhi ho samjha diya vahi bahut hai.
Dimdi ji apne (X) included krna bhul gyi😢
Nice tut very easy to understand looking forward for more tuts
Thanks
improve your teaching skills 🤫🤫🤫
Hii, Yours Voice is so amazing so i'm thinking how was you look like...
Mujhe apki voice bahut mst lgi
% is not working properly 😷
It will give the reminder as we have reminder in division
Can u please make a tutorial in javascript btw love from Bihar😉
Sure
Hello ma'am
Vs code pr code write kr liya hai structure and view to same hai and axa dikh rha hai but working calculation ni kr rha 2 din se pareshan hu & 3 time code bhi check kr chuka hu ... Help kriye
Eval wala kaam nhi kr rha hai = button not working in chrome and ms edge what to do?
THanks didi♥️✨
once the video is posted by "code traversal" you know that you are going to understand everything quickly... thanks for everything that you teach us... i hope you will never stop teaching cause you are a very good teacher.... much love.....
Thanks a lot.
Thanks for it bro the source
Your method of explanation is very good....I was very impressed.☺ And have you upload a full course on JavaScript...🙄
Hello can anybody help me i display of calculator is not showing
Mem html css, javascript, reactjs node js angler js bhi sikhado
"Uncaught TypeError: Cannot set properties of null (setting 'value') " how can i solve this problem? PLEASE HELP MEEEE!!!!
You can refer the soure code.
Ma'am how to open index HTML right side page
I have a problem my equal button color not change how can i change
In your input box css box shadow not work, cause your color mention is wrong rgbs, which is actually rgba. It’s a type mistake
Yeah it's a typo. Thanks for mentioning.
I'm your fan now 😁
thank all of you .mame
Ma'am ak video portfolio website ke liy bhi banaiye
my java script code is not runing after coping your code also
This video is really helpful and really easy to understand. Thank you so much. I am starting my 9 months full stack web dev course here in France from october and I believe your channel is going to help me a lot.
Really glad to know that.
Bro do you know hindi??
@@shauryaxd1218 GOOD QUESTION
Thanks a lot 😊😊❤❤, this video is very helpful to me because currently I'm learning front-end development.
Please help me mam beacuase my ALL buttons not working in this calculator
Check if the button is actually accessible using console or you can also refer the source code if have provided in the description box.
Thank you so much mam, it's working perfectly.
Great
Could you tell me plzz how can I do it ...
Shuru me mujhe samjh hi nhi aaya ki ladki h ya koi chota baccha padha rha h 😅
0:51 ladki hai
Bachha smart girl hai😅
@@Favourite296 🤣🤣
@@WhyAasif aachi ladki h
Project pe to dhyan nhi hai tere 😂
Or bhee vedio laao project se related
where are you plzz come back
One of the most very very helpful video with simply explanation.... Keep it up we are always with you ... Take Love 💕
Can input number be unlimited?
Kindly explain it in a proper way
my code is not working of js index.js:13 Uncaught TypeError: Cannot set properties of null (setting 'value')
at HTMLButtonElement. (index.js:13:21) showing this error
Const display= document.getElementbyId ('display')
Make input id as display for showing figure make id as appendToDisplay
For clearscreen put id on button AC as clearDisplay
For calculate
Put id on = symbol calculate
Make three functions appendToDisplay(input) {display.value += input } // figures will show in input
Function clearScreen (){
Display.screen =' '}
Function calculate (){
Try{display.value=eval(display.value)} catch (error)
{Display.value ='error'}
}
This is the simple code you make it tooo complecated
8:13 you mistakenly wrote rgbs instead of rgba
Btw Nice calculator looking cool 👍🏻
Yeah it's a typo
Your teaching is very good,I mean it is very easy to understand all those things (html&css).keep going and create a content as like that
Thanks
Make more micro projects.. It helps alot for beginners..
Definitely😊
**Mam how can I use squraroot operator it's not working can you provide just the code related to squareroot for JavaScript file only**
Main apka channel subscribe kar Raha hun ummid karta hun aur js projects laoge Hindi 😊😊
Yes
how old you are
ha ha muje pata jai ki kisi ladaki unki age nahi puchani chahiye
but kya karu app ki awaz hi itaini achii hai ki kya karu
you will be a big you tuber
i copy you word by word but this eror is occur
" script.js:8 Uncaught TypeError: button.addEventlistener is not a function
at script.js:8:12
at Array.forEach ()
at script.js:7:5 "
Wow didi aapne bahut zada accha or attractive Calculator banaya😱😱🥶😱
😊😊😊😊
Aapka ye project 100% samjh mei aya mujhe thanks .mai web dev .corce kar rha hun fihaal
Glad to know this.
Tremendous work.!
Kindly provide me with some tactics on how to improve my front end development because I am a newbie to these things.
Ps ( I am very confused by divs and their relations).
Waiting for your reply.....
Asalam o alikum mam.. i am writing the same code my whole code is working but substring property is not working.tell me what i do?
Mam my code is not working AC and DEL is still shown in input and my calculator is not working when I do large numbers calculation
How old are you sister
wow mam the way of your teaching is awesome.... i found a diamond on youtube i like to wach your all videos i love you mam love you 3000>> this will help me alot to start my js journey thanks a lot of you 😃🥰😀
Thanks a lot
Make More This Kind Of Video,, Thank You ❤
Ma'am this and your all tutorials are amezing and Your way of explaining is also very good, this tutorial is very very helpful for me, thanks a lot ma'am ❤❤❤❤❤
Great explanation but % button is not working Thanks for this video furthermore I simply love your video style, truly refreshing and creative.💛💛
Mam maine bohot calculator making video dekha but.. Aap ek ek point bolte ho... It's very helpful... Aur bhi aise project banao mam.. Portfolio website, toc toe game etc
Thankyou.....We will make everything one by one.
Thank you sister ❤
Thanks
This project has so many bugs
1. What of I click 2 times to the DEL button?
2.What if i put the space in between the strings ?
It is really an amazing and most helpful video for me and in this video the way of teaching is incredible
You did a great job lady as a developer , your channel is growing
Thankyou
Actually it's not lady, he is a kid
Hare Krishna mataji.
Mam ap run karaneke lie konsa extension use kar rahi ho?
Mai visual studio code ka new user hu
Isiliye dikkat ho Raha hai extensions select karne me
Help me mam.
Live Server
Thank you so much for you outstanding video. I wanna learn so I'll stay with you.
Very nice Sister my Bhagwan give you success in every step of life
in Line 7 of js File
arr.forEach(button
why you have put the parameter as button but not the buttons WHILE variable Name is BUTTONS .
kindly explain
Because we are accessing button one by one using for each loop. You can also use any other name instead of button.
i like this video i learn alot from this
Thanks for teach ❤❤
It was all fun until he start JavaScript haha. Thanks Man! Subscribed and Liked!
How about add subtract multiply divide or any Thing ????
quite modern ux as well
Thanks
Mera js functioning nii kr raha h
Your teaching was really helpful, thank you, but I didn't understand the js part from else if ,cos I couldn't understand the language
Subscribed to your Channel.
Please Make More videos . Moreover your Voice is very Cute 😍
you are the bestkind and your content is also helpfull i really like it
thank you soo much mam.
Hello Ma'am css pr button box-shadow nhi aa rhi mere pc pr code v check liya
If u seen this msg please reply
mujhe javascript itna nhi samjh ata kya aap javascript for beginners series chalu kr sakte ho mam?
Yes
Mem ishme % work nhi kr rha h
its a very good project for beginner and great work 👌👍
The "%" button is not working is that my code is foulty or something ? c
mam agr height 100% dete hain tw align-items work ni krta. Agr height 100vh deta hain phir align-items work krta ha . kindly thora bta dein
Didi mera ek solution bataiye
Html or CSS issme pura work mera Kiya jbki javascript ka same code copy kiye bt undefined kyu batara plz bataoye😅😅😅😅😅
[1].I have seen this lecture today.I have completely understood all the concepts you explained in class. Your teaching method was very simple and effective, which made me understand everything easily. I am very grateful to you for your guidance and hard work. Your student, [Ayush & Adarsh]...🫡❤
18TH JULY 2024...
Thank you so muchhh
today I subscribe your channel when I watch your video
Excuse me. How do you watch your result while coding?
"Equalto button show undefined error please fix this"
very very very very helpfull and amazing video thanks you so much you earned my subscription and all notification , muj se yahi ho sakta hai but me apki video group me share akrta hun jaha par sabko aisi hi video ki talash hai thank you so much
😃😃
Thanks a lot