Jump to content

Sublime Text 2 help


St0rmSlaSh

Recommended Posts

Hey guys! I recently got sublime text 2 installed and I was looking up youtube videos on how to run the files, etc. But, when i run the HTML file in the browser in doesn't run the javascript. I put <script> type="text/javascript"></script> but it still doesn't work. The javascript file has some alerts and prompt on it but I dont think that matters.

Link to comment
Share on other sites

Debuggin javascript like that seems tedious XD

 

I am no expert on javascript but I think if you are learning JS this is a good way to test your stuff:

 

https://jsfiddle.net/

I tested everything on js fiddle just now, and it seems to work perfectly. Maybe there's something wrong with sublime?

Link to comment
Share on other sites

Idk any place I have used JS (Which isn't often for me) I have either tested it live on my site(I guess I would edit it with notepad++ though) or on jsfiddle :P

Link to comment
Share on other sites

you should post the source code, so its easier to see where the problem is.

Alright, well right now I'm on my school laptop which doesn't have a hard drive at all besides the storage in google docs XD But I will post it after I'm done with school

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.