Skip to content

Yashchoudhary3/code-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Visualizer

Code Visualizer is an interactive web application designed to help users visualize, understand, and debug JavaScript code execution. Built with React, it provides a user-friendly interface for stepping through code, observing variable changes, and exploring how code flows in real time. This tool is ideal for students, educators, and developers who want to gain deeper insights into how JavaScript code runs under the hood.

Features

  • Step-by-Step Execution: Run JavaScript code line by line to see how each statement affects the program state.
  • Variable Tracking: Watch variables and their values update as the code executes.
  • Visual Call Stack: Observe function calls and the call stack in real time.
  • Error Highlighting: Instantly see where errors occur and what caused them.
  • Interactive Editor: Write, edit, and execute JavaScript code directly in the browser.
  • Educational Tools: Great for learning programming concepts and debugging code visually.

Getting Started

Prerequisites

  • Node.js (v14 or higher recommended)
  • npm (v6 or higher)

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/code-visualizer.git
    cd code-visualizer
  2. Install dependencies:

    npm install

Running the App

Start the development server:

npm start

Open http://localhost:3000 in your browser to use Code Visualizer.

Building for Production

To create an optimized production build:

npm run build

Project Structure

  • src/ - React source code and components
  • public/ - Static assets and HTML template
  • package.json - Project metadata and dependencies

Contributing

Contributions are welcome! Please open issues or submit pull requests for new features, bug fixes, or improvements.

About

Code Visualizer is an interactive web application designed to help users visualize, understand, and debug JavaScript code execution. Built with React, it provides a user-friendly interface for stepping through code, observing variable changes, and exploring how code flows in real time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors