Several HTML pages need to reference the same JavaScript code.
Where should the JavaScript code live?
A. Within the body tags of each document
OB. In a css file
C. Within the head tags of each document
OD. In a js file



Answer :

The JavaScript code should live in a separate JavaScript file, so the correct answer is:

OD. In a js file

Hopes this helps!

Other Questions