JavaScript Tutorials – Learn JavaScript from Basics to Advanced
JavaScript is what makes web pages interactive. These guides focus on the fundamentals: how to run and debug code, work with variables and data types, manipulate strings, and manage arrays. Each article covers one technique with practical examples you can use right away.
Getting Started
Everything you need to write and run your first JavaScript: where the code goes, how to execute it, and how to troubleshoot when things don't work as expected.
Learn JavaScript on Mimo
- How to Link JavaScript to HTML
- How to Run JavaScript
- How to Comment in JavaScript
- How to Print in JavaScript
- How to Debug JavaScript
Variables and Data Types
Variables are where JavaScript stores information, and data types determine what kind of information that is. These guides cover declaring variables and working with the type system.
- How to Declare a Variable in JavaScript
- How to Check Data Type in JavaScript
- How to Convert to String in JavaScript
- How to Convert to a Number in JavaScript
- How to Convert to an Array in JavaScript
Strings
Strings are one of the most-used data types in JavaScript. These guides cover the operations you'll reach for constantly — joining, slicing, replacing, casing, and cleaning up text.
- How to Concatenate Strings in JavaScript
- How to Split a String in JavaScript
- How to Replace Text in JavaScript
- How to Change String Case in JavaScript
- How to Trim Whitespace in JavaScript
Arrays
Arrays let you store and work with lists of data. These guides walk through creating arrays, adding and removing items, and iterating over them with loops and higher-order methods.
Join 35M+ people learning for free on Mimo
4.8 out of 5 across 1M+ reviews
Check us out on Apple AppStore, Google Play Store, and Trustpilot