00:00All right, so let's start with JavaScript 101.
00:03This course is going to be a real crash course where
00:06we're not going to learn how to develop,
00:08but actually learn how to develop inside of JavaScript.
00:11So you should have some sort of background in programming
00:16and a little bit of understanding in HTML
00:17and knowing how to build some basic HTML sites.
00:21Now, if you don't know any coding at all,
00:23I recommend you go onto our website,
00:25everythingfla.com,
00:27although it sounds like it's Flash related.
00:29The developer basics are all about getting started
00:32with programming, it's about 12 hours
00:34that delve really deep into the core concepts
00:37and what you have to worry about as a developer in general.
00:41In our course today, we're going to cover everything
00:43we're covering in those 12 hours,
00:45but we're going to cover it in a really, really quick pace.
00:48So if you feel that you need some help,
00:50you could always email us,
00:51but we really encourage you,
00:54if you're really, really new to development,
00:55to try that developer basics courses as well.
00:59Complementary to the scores.
01:02All right, so let's start.
01:03First of all, JavaScript 101.
01:04What is JavaScript?
01:05JavaScript, without going too far
01:07into the history of JavaScript,
01:09JavaScript is basically a language
01:11that is decrypted inside of a browser.
01:13It's not compiled, which means an application
01:16that is rendered into some sort of machine language.
01:19It's actually a language that's right in your browser,
01:21it's regular text, that your browser then needs to decrypt.
01:25Every browser has its own JavaScript interpreter.
01:29In the history of JavaScript,
01:30there are a lot of different variations of JavaScript,
01:33such as JScript, JavaScript, VBScript,
01:36and so on and so forth.
01:38That's really history today in the world of HTML5.
01:41Really, JavaScript is very consistent
01:44throughout most browsers.
01:45Think before we jump in and start actually doing it.
01:49Just one thing to note is JavaScript is not Java,
01:52they're totally completely different languages.
01:54Although they sound very similar,
01:56there's actually no relationship between the two.
01:58A long time ago, in the age of the wars
02:00between Netscape and IE,
02:03Netscape needed to brand its new scripting language
02:06in a way that people would,
02:08originally it was called LiveScript,
02:10and they were trying to create a name
02:11that would be more attractive in Java
02:13than as a language was very popular.
02:15So the people behind Netscape, AOL at the time,
02:18I believe it was, decided to call it JavaScript
02:22because it just made it more popular.
02:23Obviously, it added a lot of confusion,
02:25a lot of people confused between Java and JavaScript.
02:28They're absolutely, completely different languages,
02:30and that's all the intros we need.
02:32So let's start thinking about
02:33how do we actually get to start coding.
02:35Now, the first thing you need is an editor.
02:37Any editor would work, any text editor.
02:40Ideally, a text editor that's a text only,
02:43that is format, doesn't have any special formats,
02:45not DOM, Word, just a basic text editor.
02:49You could go for one of the paid ones,
02:51such as the Dreamweaver, the Adobe Dreamweaver,
02:54or you could go for a free one,
02:55such as the Windows.
02:57Notepad, or even on a Mac,
03:00there's a free app that's called,
03:02that's called Smalltron, S-M-U-L-T-O-T-R-O-N.
03:07I will put a link up on our site.
03:08And basically, it's just a text
03:10where you could type text,
03:11and it saves it as basic text.
03:13In our scenario, we're in a .html file,
03:15but any editor that enables you to just type
03:18and directly copy and then save it on,
03:20although this tool is a little bit nicer
03:22because it gives you a little bit of color coding.
03:24And obviously, if you work with more advanced tools,
03:26such as Dreamweaver, you're gonna get also code hints,
03:29which are very, very helpful.
03:31In our demo, we're not gonna use any code hints
03:33just to make my life a little bit harder,
03:35and just to show you how to do it from scratch.
03:38All right, so that was the intros.
03:40We're now in our editor.
03:41Our project files, if you download our project files,
03:44you'll find there our site,
03:45which is a basic template with the site,
03:48a fake site that we have right here.
03:50It has no JavaScript in it at all,
03:52and we're gonna start adding JavaScript in it
03:53and start seeing how could we create things
03:56with JavaScript, with JavaScript.