11th Aug 2023, 4:31 AM
Infinite x user
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 ____________________________
11th Aug 2023, 5:23 AM
Shree
Shree - avatar
+ 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.
11th Aug 2023, 6:34 AM
Dragon RB
Dragon RB - avatar
+ 2
Dragon RB *PJ* thanku so much for your help 💖💖💖
11th Aug 2023, 10:01 AM
Infinite x user