Click here to Skip to main content
15,903,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I am an old fart at home that wants to learn/play with javascript. Is there a place where I can run javascript code to go along with what Im reading in my javascript book?

Thanks so much
Posted

Plunker[^] is my favorite nowadays.
 
Share this answer
 
Its Simple
Open Your Notepad
Write your HTML and Javascript Code and save as "yourfilename.html"
Open it in you browser and play with your javascript program

for example i have create a simple alert message for you

HTML
<html>
<Head>
<Title>
My Javascript
</Title>
<script>
function myJavascriptFunction() {
    alert("Hello! Welcome to my Javascript Sample!");
}
</script>
</Head>
<body>
<h2>Simple Alert Message using HTML AND JAVASCRIPT.</h2>
<button onclick="myJavascriptFunction()">Click Me</button>
</body>
</html>


Copy the above code and paste it in your notepad , save as Html and open the program in your webbrowser.
 
Share this answer
 
Hello,

You can try your code in a any text editor ( say notepad).
Just make sure to save the file as html.
To execute you can open and see the output in a browser like IE.

Additionally there are online editors , you can try there also .

http://www.compileonline.com/try_javascript_online.php[^]
 
Share this answer
 
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900