NaN error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
18th Feb 2019, 9:01 PM
Redi Kryeziu
Redi Kryeziu - avatar
3 Answers
+ 2
hi Redi Kryeziu you if() Statement need a condition to check for true or false if() —> if(true) no script error and you see your input field and go button
18th Feb 2019, 9:21 PM
asa22
+ 1
asa22 sry am new and dident knew it was possible to see my updated code. initially i wasent using any if statments. i m just playing araund with it. but thnx e lot for ur quick help 😁
18th Feb 2019, 9:37 PM
Redi Kryeziu
Redi Kryeziu - avatar
0
a solved by just adding return to my prototypes or just replace var in them with return and use let instead just tu be sure
18th Feb 2019, 9:34 PM
Redi Kryeziu
Redi Kryeziu - avatar