+ 4

Help i'm starting js and i don't knew what's wrong here :)

https://code.sololearn.com/WLsyd46Du87y Thanks you for you'r help guys don't insult me i'm noob in javascript just starting learning :)

19th Nov 2018, 7:18 PM
Brandy
Brandy - avatar
5 Respostas
+ 6
Your welcome 😄
19th Nov 2018, 7:39 PM
Arne Van Kerckvoorde
Arne Van Kerckvoorde - avatar
+ 5
There are a lot of errors i would suggest watching a tutorial first. https://youtu.be/vZBCTc9zHtI You should use getelementbyid for single elements and define what you want to take from the input(like .value)
19th Nov 2018, 7:37 PM
Arne Van Kerckvoorde
Arne Van Kerckvoorde - avatar
+ 2
Okay thanks you my friend :)
19th Nov 2018, 7:38 PM
Brandy
Brandy - avatar
+ 1
.getElementsByClass always returns an array. I think that's your problem :) As already posted you should be fine if you change the classes to ids both in HTML code and JS
20th Nov 2018, 1:38 PM
Sofie
Sofie - avatar
0
I dis it guys
25th Nov 2018, 9:12 PM
Brandy
Brandy - avatar