
Begin your journey to code in JavaScript with a beginner-friendly introduction from a seasoned software developer, showing how JavaScript speeds web interface development.
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 JavaScript handles literals and variables, use type of to inspect values, distinguish numbers, booleans, and undefined, and understand let vs var, constants, strict mode, and block scope.
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.
Explore how JavaScript handles dates with constructors, time zones, and locale formats. Use toDateString, toTimeString, and toLocaleString, and note UTC versus local conversions; moment.js is recommended.
Try writing a program that tests each of the arithmetic operators, using variables and literals, and displays results to the console log.
Move into the intermediate JavaScript topics, covering conditionals, looping, functions, and objects, to build more realistic, functional applications.
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 to unpack array elements with destructuring, assigning values to variables, using the rest operator, and applying default values for missing elements.
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.
Demonstrate conditional logic in JavaScript by using if statements, a switch, and the ternary operator to handle a fries order prompt, available sizes s, m, and l, and input validation.
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 how JSON enables serializing and deserializing objects in JavaScript, using examples of employee objects and arrays, and converting between objects and strings with JSON.stringify and JSON.parse.
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.
Define and invoke functions in JavaScript, pass parameters, return values, and use rest and spread operators, with examples of default parameters and string-to-number conversions.
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.
Explore how to declare and use classes as object templates, including constructors, prototype methods, and static members, and apply inheritance with shape, rectangle, and square using extends and super.
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.