+ 9

I m new with all this....just tell me what wrong with this code?

https://code.sololearn.com/WI7Xnn1FtwAV/?ref=app I tried to make a simple calculator but its not working.....tell me where the error is?

2nd Dec 2018, 7:15 AM
Nida
Nida - avatar
11 Antworten
+ 1
Well there is a whole lesson in javascript about DOM and Selectors and Events, you will get there soon, until then, check out the links I left you, you have better explanation and DOM charts. https://www.w3schools.com/jsref/met_document_getelementbyid.asp
2nd Dec 2018, 8:23 AM
dρlυѕρlυѕ
dρlυѕρlυѕ - avatar
+ 18
You Have Forgotten The Result Section!
3rd Dec 2018, 2:43 AM
K͜͡ɩnɢ・ムzizi 🖤
K͜͡ɩnɢ・ムzizi 🖤 - avatar
+ 16
Nida Sister I Just Find Out The Result Problem But More I Can't understand Coz I Have Not Learnt That Language!
3rd Dec 2018, 9:26 AM
K͜͡ɩnɢ・ムzizi 🖤
K͜͡ɩnɢ・ムzizi 🖤 - avatar
+ 6
dρlυѕρlυѕ plzz tell me bit more about this on message
2nd Dec 2018, 8:07 AM
Nida
Nida - avatar
+ 6
dρlυѕρlυѕ thank you....it started working in my browser
2nd Dec 2018, 10:06 AM
Nida
Nida - avatar
2nd Dec 2018, 7:54 AM
dρlυѕρlυѕ
dρlυѕρlυѕ - avatar
+ 5
Hoàng Nguyễn Văn let me try this
2nd Dec 2018, 8:02 AM
Nida
Nida - avatar
+ 3
I'm glad! Keep it up!
2nd Dec 2018, 2:39 PM
dρlυѕρlυѕ
dρlυѕρlυѕ - avatar
+ 3
Jason M.Azizi see my new code....it has a result section but thats not working plzz can u tell me what wrong with that.?
3rd Dec 2018, 8:31 AM
Nida
Nida - avatar
+ 2
You're having two errorenous versions of the same JS code, one in the HTML file, one in the JS file. 1/ Consider which syntax you're using. If you want the HTML syntax (<!-- code -->), you should include the script tag inside your comment. Otherwise, if your comment contains only the JS code and not the script tag, use JS syntax instead (/* code */). 2/ camelCase, parseFloat is a function, parsefloat isn't.
2nd Dec 2018, 7:43 AM
Hoàng Nguyễn Văn
Hoàng Nguyễn Văn - avatar
+ 1
Dear nida i have answered please check back
3rd Dec 2018, 9:35 AM
Atif Saleem 🇵🇰
Atif Saleem 🇵🇰 - avatar