JavaScript Tutorials

JavaScript presents a systematic approach to learning dynamic web programming. Our tutorials cover JS fundamentals, DOM manipulation, and asynchronous programming, suitable for beginners and intermediate developers. Through hands-on labs and practical code examples, you'll gain experience in creating interactive web applications. Our JS playground allows you to experiment with JavaScript features and see real-time results.

Online JavaScript Playground
Online JavaScript Playground
LabEx offers an Online JavaScript Playground, a cloud-based environment that allows you to quickly set up a JavaScript development environment for learning and experimentation.
JavaScript
Implementing the Summary
Implementing the Summary
In this lab, set in the bustling startup scene of 'FinTech Valley', you'll step into the shoes of Alex, a budding software engineer tasked with enhancing the financial tracking system for a rapidly growing tech company. The company's financial team needs a dynamic way to view the overall financial health of the organization. Your goal is to implement a feature in their existing web-based accounting application that calculates and displays the total income, total expenses, and net balance, providing real-time financial insights.
JavaScript
Data Storage and Retrieval
Data Storage and Retrieval
In this Lab, we accompany Alex, a determined web developer at a bustling tech startup, who is now venturing into the realm of data persistence. After successfully creating a mechanism for tracking and displaying financial records in the personal finance tracker, the next challenge is to ensure that these records persist across browser sessions. The goal is to enable users to return to the app and find all their previously entered data intact, enhancing the app's usability and user satisfaction. This task introduces Alex to the concept of web storage, specifically leveraging the localStorage API to save and retrieve the application's state.
JavaScript
Enhancing Personal Finance Tracker
Enhancing Personal Finance Tracker
In this Lab, Alex's journey through the development of the personal finance tracker enters an advanced stage, focusing on enhancing the application's interactivity through sophisticated event handling techniques. The scene is set in a brainstorming session at the tech startup, where Alex proposes adding a drag-and-drop feature to reorder financial records. This ambitious goal aims to provide users with an intuitive way to organize their records, reflecting the fluid nature of personal finance management. Achieving this requires Alex to explore advanced DOM events and manipulate elements in a way that's both visually appealing and user-friendly.
JavaScript
Basic JavaScript and DOM
Basic JavaScript and DOM
In this Lab, you'll step into the world of web development through the eyes of Alex, a budding web developer tasked with creating a dynamic personal finance tracker. To build a user-friendly application that allows users to input and track their daily expenses and income. The goal is clear - to develop an interface that's both intuitive and engaging, ensuring users can easily manage their finances without any hassle. This project not only aims to simplify personal finance management but also to introduce you to the fundamental concepts of JavaScript and DOM manipulation.
JavaScript
Arrays and Objects
Arrays and Objects
In this Lab, we continue to follow Alex on their journey as a web developer at a tech startup. The scene unfolds in the development team's workspace, where Alex is tasked with enhancing the personal finance tracker by incorporating the ability to handle multiple financial records. This crucial feature requires Alex to delve into JavaScript's arrays and objects, storing each financial record as an object within an array. The goal is to create a dynamic and interactive application that not only tracks but also organizes users' financial data efficiently. Through this endeavor, Alex aims to provide users with a clear overview of their financial activities, thus making the app more useful and engaging.
JavaScript
Build a Scratch Card Web Game
Build a Scratch Card Web Game
In this project, we will guide you through the process of creating a simple web-based Scratch Card game. This game allows users to scratch off a gray overlay to reveal an underlying image, which will either be a 'winner' or a 'try again' message. We will use HTML for the structure, CSS for styling, and JavaScript for interactivity.
JavaScriptHTMLCSS
Monty Hall Simulation Web App
Monty Hall Simulation Web App
Welcome to the Monty Hall Problem Simulation project. The Monty Hall problem is a probability puzzle based on a game show scenario. In this project, we'll guide you through creating a simple web-based simulation to demonstrate the puzzle. By the end, you'll have a functional Monty Hall simulation to test out the theory for yourself.
JavaScriptCSSHTML
jQuery Flip Puzzle Game
jQuery Flip Puzzle Game
This project, the 'jQuery Flip Puzzle Game,' provides a hands-on experience in web development, focusing on JavaScript, jQuery, and Bootstrap. It involves object-oriented programming in JavaScript and addresses the common issue of 'this' binding in the context of web development. The game is implemented using jQuery and Bootstrap 3 for the user interface. While familiarity with Bootstrap is helpful, the project's core logic is built with jQuery and JavaScript.
CSSJavaScriptHTMLjQuery
Implement a Magnifying Glass Effect Using Canvas
Implement a Magnifying Glass Effect Using Canvas
In this project, you'll learn how to create a magnifying effect on images using the HTML Canvas. This effect is often seen on image galleries or product websites, allowing users to hover over an image and get a zoomed-in view of a specific portion. The magnifying effect provides a detailed view without having to open a new window or page.
CSSJavaScriptHTML
Don't Step on the White Tile
Don't Step on the White Tile
This project guides you through creating a simple yet engaging web-based game titled 'Don't Step on the White Tile.' By following these steps, you'll learn to combine HTML, CSS, and JavaScript to build an interactive game where players must avoid stepping on white tiles to score points. This project is ideal for beginners looking to practice their web development skills.
JavaScriptHTMLCSS
Creating a Whack-a-Mole Web Game
Creating a Whack-a-Mole Web Game
In this project, you will learn how to create a Whack-a-Mole game using HTML, CSS, and JavaScript. The game involves whacking moles that randomly appear from holes within a specified time limit. You will create the necessary HTML, CSS, and JavaScript files and implement the game logic step by step.
JavaScriptCSSHTML
Creating a Task Timer Web App
Creating a Task Timer Web App
In this step-by-step project, you'll learn how to create a Task Timer web application using HTML, CSS, and JavaScript. This web app will allow users to add tasks, start and stop timers for each task, and delete tasks. By the end of this project, you'll have a fully functional Task Timer web app with a modern and user-friendly interface.
JavaScriptCSSHTML
Creating a Minesweeper Game with JavaScript
Creating a Minesweeper Game with JavaScript
I believe everyone has played the classic game of Minesweeper before. It has simple rules but is highly addictive. Have you ever thought about developing one yourself? Today, we will create a web-based version of Minesweeper. First, let's take a look at a screenshot of the interface.
JavaScriptCSSHTMLjQuery
Creating a Drawing Board Web App
Creating a Drawing Board Web App
In this project, we will create a simple web-based drawing board application step by step. Each step will build upon the previous one, allowing you to gradually add functionality to the application. By the end of this project, you will have a fully functional drawing board where users can draw, change brush color, adjust brush size, and clear the canvas.
JavaScriptCSSHTML
Create a Swiper Carousel Web App
Create a Swiper Carousel Web App
In this project, you'll learn how to create a Swiper carousel web app that features a visually appealing carousel layout with cosmic-themed content. The app will allow users to navigate through different slides and view cards with interesting facts about the universe.
JavaScriptCSSHTML
Create a Pixel Art Animator with React
Create a Pixel Art Animator with React
In this project, we'll walk you through building a simple Pixel Art Animator using React. By the end of this guide, you'll have a basic pixel art editor where you can draw your pixel art and see the resulting animation. This project is beginner-friendly and provides a fun way to dive into the world of React and pixel art!
JavaScriptCSSHTML
Create a Notes App Using React
Create a Notes App Using React
In this project, we will create a simple Notes App using React. The app will allow users to add, edit, and delete notes. We will break down the development into several steps, ensuring that each step meets specific requirements and adds essential functionality.
CSSJavaScriptHTMLReact
  • Prev
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • ...
  • 34
  • Next