Jump to content

I need help. I don't know if this is the right place


Sadsack
 Share

Recommended Posts

Visual studio code and i can't get java script to work.

<script> src="script.js"</script>

I have the above tags in the body tag.

I have a file called script.js

My html and css work find, but for some reason it is not seeing script.js.

How do i link the js with the html?

Thank you

First time here. I am sure it will not be the last.

Link to comment
Share on other sites

Hello! I saw the post and the script tag is written wrong.

 

<script> src="script.js"</script> in place of these you need write.

 

<script src="script.js"></script>

The above tag will load the script.js when you run the html page. Hope you find the solution helpful. 

You may contact me for any assistance. I will try my best to help you. 

Regards 

Solserv 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...