+ 1
What error in this code đ ?
3 Answers
+ 8
In your code error at-
Line no 10: remove extra <script> tag
Line no 13: attribute should be innerHTML
(check case)
Line no 11: you have written
funcationmyfuncation()
It should be
function myfuncation()
Line no 8: onclick() attribute value should enclosed in double quotes
____________________________
+ 3
https://code.sololearn.com/WvPMQTzec7up/?ref=app
Difference:
-This code have only 1 tag <script>. No extra <script> tag.
Fixed wrong spelling , changed to `function myfunction()`
JS is case-sensitive, so in line 13, it's innerHTML, not innerHtml.
Don't mispell the function name or keywords.



