Ask coding questions

← Back to all posts
Trying to insert a .js script into my webpage
bennyrobert (47)


So here, I have a script from the internet. But when I open the webpage, nothing has changed.

If you need to see the full webpage script, let me know, but I'd prefer not to share it if absolutely necessary...

Answered by Coder100 (16802) [earned 5 cycles]
View Answer
Comments
hotnewtop
Coder100 (16802)

That is a library file.

You must use some more code to actually get the lib to do what you want it to do.

https://valine.js.org/en/index.html

tussiez (1435)

You need to use the script in your webpage, not just add it.

EpicGamer007 (1605)

you need to actually use the script. just adding it will not do anything, its a library, you need to specify what you want to do with it. also you can get rid of the type="text/javascript"