CHAPTER 1 / FIRST JAVASCRIPT APPLICATION
Hello! I am helping people with JavaScript! I was thinking that since I know JavaScript, I am deciding to help Scratchers with JavaScript. It is a simple programming language to use, and simple for any age. First of all, you don't need to download anything. You just need Notepad. Or, if you wanna get all fancy, use Notepad++ if you have it.
JavaScript (you should know this) is in html. You need to know html first. You can code with JavaScript by typing in your html document:
<script type = "text/javascript"> //Some code </script>
Today, we will start our first JS (short for JavaScript) app. It will show you how to make an alert box. The window.alert("Some text"); is going to show an alert box for us. Use every character that I type in the code box below:
<script type = "text/javascript"> window.alert("Hello World!"); </script>
Chapter 2 is coming soon on this topic!
Offline
EpicGameProductions wrote:
CHAPTER 1 / FIRST JAVASCRIPT APPLICATION
Hello! I am helping people with JavaScript! I was thinking that since I know JavaScript, I am deciding to help Scratchers with JavaScript. It is a simple programming language to use, and simple for any age. First of all, you don't need to download anything. You just need Notepad. Or, if you wanna get all fancy, use Notepad++ if you have it.
JavaScript (you should know this) is in html. You need to know html first. You can code with JavaScript by typing in your html document:Code:
<script type = "text/javascript"> //Some code </script>Today, we will start our first JS (short for JavaScript) app. It will show you how to make an alert box. The window.alert("Some text"); is going to show an alert box for us. Use every character that I type in the code box below:
Code:
<script type = "text/javascript"> window.alert("Hello World!"); </script>Chapter 2 is coming soon on this topic!
I thought you wanted help with it XD
Offline
You know, you can just use alert().
Offline
fg123 wrote:
Or use jqueryUI's dialogs to make it look awesome.
:3
+1
Offline
One thing I'd like to note--a chapter in a book, is usually many pages. The chapter hear, is a few paragraphs.
Offline