Jump to content
Sign in to follow this  
St0rmSlaSh

Sublime Text 2 help

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.

Share this post


Link to post
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/

  • Like 1

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites

Yeah no idea how sublime works for that sort of thing :D.

  • Like 1

Share this post


Link to post
Share on other sites

Yeah no idea how sublime works for that sort of thing :D.

lol Okay. :D Can't you use notpad?

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

<script> type="text/javascript"></script>

 

Is the extra > in your html code also?

  • Like 1

Share this post


Link to post
Share on other sites

<script> type="text/javascript"></script>

 

Is the extra > in your html code also?

Idk, I deleted the editor. XD i will download it again. But ya, I think so

Share this post


Link to post
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
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.

Sign in to follow this  

About Us

We are glad you decided to stop by our website and servers. At Fearless Assassins Gaming Community (=F|A=) we strive to bring you the best gaming experience possible. With helpful admins, custom maps and good server regulars your gaming experience should be grand! We love to have fun by playing online games especially W:ET, Call of Duty Series, Counter Strike: Series, Minecraft, Insurgency, DOI, Sandstorm, RUST, Team Fortress Series & Battlefield Series and if you like to do same then join us! Here, you can make worldwide friends while enjoying the game. Anyone from any race and country speaking any language can join our Discord and gaming servers. We have clan members from US, Canada, Europe, Sri Lanka, India, Japan, Australia, Brazil, UK, Austria, Poland, Finland, Turkey, Russia, Finland, Germany and many other countries. It doesn't matter how much good you are in the game or how much good English you speak. We believe in making new friends from all over the world. If you want to have fun and want to make new friends join up our gaming servers and our VoIP servers any day and at any time. At =F|A= we are all players first and then admins when someone needs our help or support on server.

×
×
  • Create New...

Important Information

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