Giter VIP home page Giter VIP logo

erikote04 / decimal-to-binary-converter Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 642 KB

Project No. 8 of 21 of the freeCodeCamp course "JavaScript Algorithms and Data Structures". In this project, you’ll build a decimal-to-binary converter using JavaScript. You’ll learn the fundamental concepts of recursion, explore the call stack, and build out a visual representation of the recursion process through an animation.

Home Page: https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/#learn-recursion-by-building-a-decimal-to-binary-converter

HTML 11.03% CSS 16.96% JavaScript 72.01%
binary callstack css decimal-converter decimal-to-binary html html-css-javascript javascript js recursion

decimal-to-binary-converter's Introduction

Decimal to Binary Converter

Convert decimal numbers to binary using this simple Decimal to Binary Converter. The application demonstrates the binary conversion process with an animated call stack.

user-interface

Introduction

Decimal to Binary Converter is a web application built with HTML, CSS, and JavaScript. It provides an interactive way to convert decimal numbers to binary representation, offering both a straightforward conversion and a visual representation of the conversion process through an animated call stack.

Features

  • Decimal to Binary Conversion: Quickly convert decimal numbers to binary.
  • Conversion Animation: Visualize the binary conversion process with an animated call stack.
  • User-friendly Interface: Simple and intuitive interface for easy interaction.

User Input

  1. Enter a decimal number in the input field.
  2. Click the "Convert" button or press "Enter" to initiate the conversion.
  3. View the binary representation in the result area.
  4. For a special demonstration, enter the number 5 to trigger the animated call stack.

Conversion Animation

The application includes an animated call stack that visually represents the binary conversion process. It shows how the recursive function decimalToBinary operates, making it easier to understand the underlying algorithm.

Getting Started

  1. Clone the repository: git clone https://github.com/Erikote04/Decimal-to-Binary-Converter.git
  2. Open the index.html file in a web browser.
  3. Enter a decimal number in the input field and click the "Convert" button.

decimal-to-binary-converter's People

Contributors

erikote04 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.