Browse all series
LanguagesBeginner30 episodes

JavaScript: The First Steps

JavaScript is one of the most popular and versatile programming languages when working on the web. It makes for a great first language to learn as you can get started with any web browser and its built-in devtools.

This beginner-focused series will take you through the fundamentals of JavaScript and give you a solid understanding of how the language works. Once the fundamentals are under your belt, you should be comfortable writing JavaScript in your own applications or continue your JavaScript journey by learning new frameworks or technologies that are built on top of it.

Series episodes

Fundamentals (17)

Hello, JavaScript

6m 33s

Get started with JavaScript by running code in your browser console. Learn DOM selection, manipulation, and how interactive Laracasts features work.

Variables and Assignment

6m 45s

Master JavaScript variables: learn how to declare them, valid characters, and popular casing styles to write clean, effective code from the start.

JavaScript Types

9m 23s

Discover JavaScript data types—primitive and reference. Learn how to use each type with clear examples to write smarter, bug-free code.

Use a Code Editor and Execute Scripts

11m 7s

Learn to use a code editor and run JavaScript in HTML. Discover inline vs external scripts and auto-refresh your browser for faster coding.

JavaScript Types - Strings

12m 3s

Explore JavaScript strings: learn how to declare, use, and manipulate text effectively in your apps with clear, easy-to-follow examples.

JavaScript Types - Numbers and BigInts

14m 21s

Explore JavaScript Numbers and BigInts—learn math operations, handle special values, and work with large integers for precise, powerful coding.

JavaScript Types - Booleans

8m 45s

Master JavaScript Booleans—learn how to create true/false values, use comparisons, and apply them in conditionals and loops for smarter, cleaner code.

JavaScript Types - Arrays

8m 11s

Learn JavaScript arrays—create and use array literals to store diverse data types, understand reference types, and manage collections efficiently in your code.

JavaScript Types - Objects

7m 49s

Learn JavaScript objects basics—create object literals with key-value pairs using easy examples to organize data and build dynamic, efficient code.

JavaScript Functions: Built-in and Custom

13m 33s

Explore JavaScript functions—learn how to use built-in methods and create custom functions with parameters to write flexible, powerful code with ease.

Alternate Ways to Define JavaScript Functions

13m 29s

Explore alternative JavaScript function definitions like expressions, arrow functions, and callbacks to write flexible, clean, and efficient code in various scenarios.

If Statements

14m 15s

Learn how to use if statements in PHP to control your code flow. Master conditionals to build dynamic, responsive applications with confidence and clarity.

Use Switch Statements for Multiple Conditions

10m

Master using switch statements in PHP to handle multiple conditions cleanly. Learn when and how to use break for efficient, readable code.

Loops and Iteration

13m 41s

Master JavaScript loops with clear explanations and examples. Learn various loop types and how to use them effectively in this friendly Laracasts lesson!

Understanding Scope

11m 34s

Explore JavaScript scope—global, function, and block—and learn how var and let differ. Master scope basics in this clear, friendly Laracasts lesson!

Pass by Value or Pass by Reference

12m 8s

Understand JavaScript’s pass-by-value vs. pass-by-reference. Learn how primitives and objects differ to avoid bugs in your code in this clear, friendly Laracasts lesson!

Strengthen Your JavaScript Skills With These Exercises

25m 3s

Boost your JavaScript skills with practical exercises—convert times, manipulate strings, find max values, and sum positives in arrays in this engaging Laracasts lesson!

Continue learning

Thumbnail for PHP Bits
PHP Bits

With Jeffrey Way

  • 8 episodes
  • Intermediate
  • Languages
Thumbnail for Beginning TypeScript
Beginning TypeScript

With Michael Timbs

  • 11 episodes
  • Intermediate
  • Languages
Thumbnail for Beginning React
Beginning React

With Andre Madarang

  • 19 episodes
  • Intermediate
  • Frameworks
Thumbnail for Get Real With Laravel Echo
Get Real With Laravel Echo

With Jeffrey Way

  • 8 episodes
  • Advanced
  • Techniques
Thumbnail for JavaScript Essentials for PHP Developers
JavaScript Essentials for PHP Developers

With Jeremy McPeak

  • 35 episodes
  • Beginner
  • Languages

Would you like to hear from Laracasts by email occasionally?