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

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