
Explore how to write and run JavaScript programs using Visual Studio Code and Live Server, with a hello world and covering primitives, numbers, booleans, strings, arrays, conditionals, loops, and objects.
Explore the basics of JavaScript, including primitive data types, operators, strings, and dates. Build a simple program to apply these concepts.
Set up Visual Studio Code with live server to run a Hello World program in JavaScript, and explore browser basics, DOM, HTML structure, and prompt, confirm, and alert interactions.
Explore how operators in JavaScript act on literals and variables, covering unary and binary operations, arithmetic, relational, logical, and assignment operators, and operator precedence.
Explore JavaScript arithmetic operators, including addition, subtraction, multiplication, division, remainder, and exponentiation, plus unary plus/minus and prefix/postfix increment and decrement; learn precedence and parentheses, including division by zero yielding infinity.
Learn how logical operators 'and' (&&), 'or' (||), and 'not' (!) form boolean expressions, including precedence, parentheses, and mixing with booleans, variables, and relational comparisons.
Explore assignment operators in JavaScript, including the plain equals and compound forms like plus equals, minus equals, times equals, divided equals, and remainder equals, with practical examples.
Explore strings in JavaScript, including UTF 16 character encoding and numeric representations. Master common instance methods such as length, index, includes, startsWith, endsWith, replace, slice, split, string templates, and concatenation.
Learn how JavaScript stores dates as milliseconds since January 1st, 1970 UTC, why many developers use the moment library for date manipulation, and how zero-based months affect date handling.
Try writing a program that tests each of the arithmetic operators, using variables and literals, and displays results to the console log.
Explore key array methods in JavaScript, including push, pop, indexOf, reverse, slice, and sort, with hands-on examples showing behavior on empty arrays and numeric versus string sorting.
Explore the spread operator in JavaScript, breaking arrays into elements for cloning and concatenation, turning strings into arrays, and enabling min with array values.
Learn how conditionals drive decision making in JavaScript by using if-else, nesting, switch statements with default cases, and the ternary operator, and understand truthy and falsey values.
Explore looping in JavaScript by studying for, while, and do-while loops, using continue and break to control flow. Learn array iteration and nested loops with examples like a bingo card.
In this JavaScript course lecture, learn to use for, while, and do-while loops to draw horizontal, vertical, and diagonal lines via user prompts for type and length.
Define and manipulate objects with curly braces, access properties by dot or bracket notation, and store arrays and nested data like an employee’s name, salary, and shifts.
Explore the spread operator for objects, cloning with shallow copies, merging two objects, and the limits of deep cloning, using examples like name, age, and profession.
Explore arrow functions as callbacks, passing functions as parameters, and use concise syntax with array.filter to select values with implicit return.
Harness advanced topics in JavaScript by exploring classes and modules to package everything together, then build a drawing application that loads resolution drawings to the screen.
combine learning by building a shape drawing app in JavaScript, mapping shapes to a 2d matrix, applying or and xor overlays, and displaying the result in a text area.
wraps up fundamentals by revisiting variables, operators, strings, dates, conditionals, loops, arrays, objects, and functions, then explores classes, modules, and a final cross-shaped drawing surface app.
Please rate the learn to code in JavaScript course on a one-to-five-star scale and share comments to help improve future courses.
JavaScript is the primary language used to develop interactive and dynamic front-end web applications. There are multiple web frameworks that use JavaScript (or TypeScript*) such as Angular, Vue, React, Ember, Knockout. This course is intended to teach you the most important features of the JavaScript language so that you can then move on to learning about web frameworks. Because JavaScript primarily lives (and is executed) in the browser, this course will also touch on web topics such as HTML and the Document Object Model (or DOM). In this course we'll talk about:
Running a JavaScript program.
HelloWorld
Primitive data types
Operators
Strings
Dates
Arrays
Conditionals
Looping
Objects
Functions
Classes and Modules
At the end of this course you will have a thorough understanding of the JavaScript language and you will have dipped your toe into connecting this to a web page.
I am truly excited to share my knowledge and my enthusiasm for developing software with you. Come on this journey and I will do my best to help you learn, enjoy, and finally become part of a community of developers who make this world go round!
This course comes with detailed explanations of each concept along with working examples for each lecture and a Verifiable Certificate of Completion.
* TypeScript is a superset of JavaScript and adds some important concepts but all TypeScript is compiled into JavaScript for execution.