+ 1
Help!! Style of property null in Java Script?
6 Answers
+ 1
First of all ids are case sensitive so write java instead of java
Second it will be
style.display = "block"
And you also need to hide JavaScript
With the same method
+ 4
Your JS is getElementById('Java')
but in your HTML, you don't have an element with id of Java
+ 2
Write ' java' in small or capital letter in both HTML and js codes.
+ 2
Thank You for find my small mistake
âŁ
Now fixed !
+ 2
Happy coding you 2 :) ,,
This Project completed :p
And check my code and suggest how can i improve this more ?
+ 1
Glad to know you got it Sajid Ali
Happy coding đđ