From the course: Learn JavaScript: Write Modern Code with JavaScript ESNext
Unlock this course with a free trial
Join today to access over 25,000 courses taught by industry experts.
Learn about writing and running JavaScript programs - JavaScript Tutorial
From the course: Learn JavaScript: Write Modern Code with JavaScript ESNext
Learn about writing and running JavaScript programs
- So far, we've spent a lot of time talking about the basic syntax of JavaScript, but our practical experience with actually running JavaScript code has been limited to the Chrome console and the occasional demonstration using some other tool. But that's about to change, because we're about to see how to write some slightly more interesting JavaScript programs. So here's what we're going to do, we're going to use JavaScript to write a program that generates multiplication tables for us. And for those of you who have been out of math classes long enough to forget what a multiplication table is, it's just a table that shows us all the possible products of some set of numbers. For example, a multiplication table for the numbers one through five would look something like we see here. We're going to be writing two slightly different variations of this program for two different platforms. The first will be for the front end, where we create a multiplication table using actual HTML elements.…
Contents
-
-
-
-
-
-
-
-
-
(Locked)
Learning objectives1m 55s
-
(Locked)
Learn about writing and running JavaScript programs1m 44s
-
(Locked)
Write a JavaScript program for the browser12m 4s
-
(Locked)
Move JavaScript to an external script1m 20s
-
(Locked)
Install Node.js and NPM1m 58s
-
(Locked)
Write a Node script5m 57s
-
(Locked)
Use Babel to transpile code3m 2s
-
(Locked)
-
-
-
-
-