0

I want to include script.js in html body and display function inside script.js after content Time. Thanks you.

Include script JavaScript inside body HTML. https://code.sololearn.com/WnZ8NMTMGMjE/?ref=app

24th Jun 2021, 5:58 AM
Malick Diagne
Malick Diagne - avatar
1 Odpowiedź
+ 1
In sololearn , you don't need to include your js file like script.js Without including script.js in your code, you can run your code perfectly. You can write your code on js console. But there's no need to define again in script tag in html console. In your code, js console -> you defined get element by Id ,but there's no id="time" attribute in your body tag. 🤷
25th Jun 2021, 7:56 AM
axita
axita - avatar