How can I preview JS? - Post ID 218039

User 2924428 Photo


Registered User
1,718 posts

Hey guys, i'm working in class and was wondering what software I can use to code and preview javascript? I just want your advice because the stuff i'm seeing on the net is expensive and I want to make sure I get the right one. Thanks -= Matt.
User 38401 Photo


Senior Advisor
10,951 posts

have you checked with your instructor or fellow students at all? I would check their first as being a student you may have a considerable discount on software for lots of things.
User 271657 Photo


Ambassador
3,816 posts

Take advantage of student discounts while you can! ;)
You might find these useful:
http://jsfiddle.net/
http://www.jedit.org/
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 2924428 Photo


Registered User
1,718 posts

Ok thanks guys, yeah i've been writing script I just haven't been able to preview it myself because the class doesn't show how to preview, they just show saving and the page reloading.. not even an ftp in sight!
User 2924428 Photo


Registered User
1,718 posts

Jedit would be awesome.. but the plugin's install manager for previewing projects has false mirrors to d/l it :(
User 271657 Photo


Ambassador
3,816 posts

Here's another online one to try, no need to download anything:
http://jsbin.com/welcome/1/edit
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 2924428 Photo


Registered User
1,718 posts

I know i'm just funny about online editors :\. paintbrush, this is my format for javascript.. I have it located in the js file inside my main website folder.. I am linking it through this.. in the html
<script src="js/01-function.js" />

The code in live preview doesn't run it :(
Heres my java so far..

/*var nNum = 20
var sStr = "Hello World"
var isTrue = true;

alert(nNum);*/

//FunctionName(a,b,c,d);
ContainterName.FunctionName(a,b,c,d)

var nA = -20;
var nB = 32;
//var nAbs = Math.abs(nA);//Math.abs(-20);
//alert(nAbs);

/*
function abs(){
alert('hello');
}

abs();
abs();
abs();
*/

function abs(a){
alert(a);
}

abs(10);


Nothing really works.. I don't know
User 2924428 Photo


Registered User
1,718 posts

I call upon the King of Javascript, Eric Rohloff to come help me with this venture of launching a "hello world" javascript. Pleeeaaase :)
User 187934 Photo


Senior Advisor
20,265 posts

Why make it so difficult.;)
<script>
alert('Hello, World!')
</script>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2924428 Photo


Registered User
1,718 posts

I want to push further into java just for kicks, but some of the coders i've been using aren't allowing me to reference the java files.. I only need live preview somehow, can you help me please?

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.