- 2
Where is code written in JavaScript?
3 Respuestas
+ 2
U could write your javascript code on HTML page by the script tag either u could do it in the javascript tab
+ 1
mahima Can you elaborate ask your question clearly use proper tags
+ 1
You can write JavaScript code in any part of your html document but be sure you start with opening script tag and end with closing script tag
Mostly JavaScript codes are preferred to be written under head