02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext Video

Intro

Who should be taking this course? This is a crash course in JavaScript, where our goal is to teach you everything you need to know to do JavaScript in 4 hours. With that said this course does not fit everyone: it%u2019s actually targeted at people who have a background in code.

What youll learn

We are going to learn everything there is to know about the basics of JavaScript but we are not going to focus on coding basics as we have a separate 12 hour session dedicated to that. If you have little or no coding experience, we suggest you delve into the Developer Basics Section: this course covers developer basics in detail. It will help you learn programming basic building blocks step by step to evolve or refresh your coding skills from scratch. For more information please visit the Developer Basics Section and build your programming foundation.

Let us introduce you to JavaScript without turning it into a history lesson. The first word may be "Java" but I assure you Java and JavaScript are completely different languages. JavaScript is a Scripting language of the web which helps you validate forms, communicate with the server, and much more. All modern browsers such as Internet Explorer, Mozilla Firefox, Google Chrome and Opera have a JavaScript interpreter which interprets JavaScript code and runs it.

By the way, each different browser has its own version of the JavaScript interpreter %u2013 meaning each also has different implementation bugs! This can make things it sometimes very tricky, as it's very important to test your code in all main browsers. Doing so will save you a flood of angry emails from IE users, for instance, if your code fails in IE!

What do you need to start learning JavaScript?

Not much: a text editor, a browser and the will to succeed. You can use any free plain text editor like Notepad on Windows, or Smultron on Mac for code. The other option is a paid text editor like Adobe DreamWeaver which will also give you code hints and color coding. We suggest that you not use code hints if you are new to code: you'll learn much better without that crutch.

If you want to follow the tutorial and work on the same website we are in the videos, then please feel free to download the project files from the course home page.

Video Transcript

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.

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!