0
if Statement in JavaScript is not working please help
Help me the if statement in the JavaScript is not working Give me the solution please JOY Karel Málek Nikolay Nachev Mitali https://code.sololearn.com/WNQTNN7n1vLN/?ref=app
7 Answers
+ 1
Thanks TheWh¡teCat 🇧🇬 Sir It's working 😊
+ 1
Azam , I tried it (when I removed the comment) and it works. Specify more clearly what is expected to happen with if condition.
+ 1
TheWh¡teCat 🇧🇬 if i press the button, the marks should get displayed in the table
Based on the condition (number) "15" which is entered into the textbox
+ 1
Azam , all columns are filled, without Subject total.
+ 1
TheWh¡teCat 🇧🇬 yes that's ok
+ 1
Azam , you just didn't implement it in your code. The reason is you don't have other conditions to check which will set other values for each field of the table. If statement definitely works.
+ 1
TheWh¡teCat 🇧🇬 Sir, if i enter 15 it's not showing the marks 😔