Please help!! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Please help!!

I'm very poor in JavaScript. I couldn't add JS in my any web pages 😞. Not only that, I couldn't make any calculator that can only add two numbers!! What to do? 😭 Please help.

17th Dec 2018, 6:38 AM
Roopesh
Roopesh - avatar
7 Answers
+ 13
Nothing will happen, just relax 1) learn and complete JavaScript & understand DOM in sololearn. 2) Do some small chunks of js code in playground 3) google it --- begginer exercises js, dom exercises , go to w3resource .Com That's it then start asking yourself what should I do next. ☺️☺️☺️👍
17th Dec 2018, 10:57 AM
UwU Discover Me
+ 10
Frist tell me did you finsh the DOM course in JS
17th Dec 2018, 6:48 AM
Bono
Bono - avatar
+ 5
Bono I learned DOM but can't implement them 😞
17th Dec 2018, 12:15 PM
Roopesh
Roopesh - avatar
17th Dec 2018, 12:35 PM
Gordon
Gordon - avatar
+ 3
In your HTML document. Add the script (<script>,</script>) tag wherever you want to add JS. To add two numbers your syntax should be this: var (variable name) = (value) var (variable name2)=(value) document.write("variable name+variable name2") Please note that (value),(variable name) and (variable name2) are all variables and can change Note that a variable name: 1) The first character must be a letter, an underscore (_), or a dollar sign ($). 2) Subsequent characters may be letters, digits, underscores, or dollar signs. 3) Numbers are not allowed as the first character. 4) Variable names cannot include a mathematical or logical operator in the name. For instance, 2*something or this+that; 5) JavaScript names must not contain spaces.
17th Dec 2018, 3:44 PM
BlazeGamingUnltd
BlazeGamingUnltd - avatar
0
Learn javascript fundamentals
17th Dec 2018, 9:13 PM
Codebeast**
Codebeast** - avatar