Skip to content

A simple web application that converts decimal numbers to binary. Built using HTML, CSS, and JavaScript, this application provides a fast and interactive way to learn how decimal numbers are represented in binary format.

License

Notifications You must be signed in to change notification settings

stephenombuya/Decimal-to-Binary-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decimal to Binary Converter

A simple web application that converts decimal numbers to binary. Built using HTML, CSS, and JavaScript, this application provides a fast and interactive way to learn how decimal numbers are represented in binary format.

Table of Contents

  • Overview
  • Features
  • Technologies
  • Installation
  • Usage
  • Contributing
  • License

Overview

This project is a basic converter application where users can input a decimal number and instantly see its binary equivalent. It serves as a learning tool for understanding binary conversions, as well as a quick way to convert numbers without needing a calculator.

Features

  • Real-time Conversion: Instantly converts decimal input to binary as the user types.
  • Clear Button: Easily reset the input and output fields for quick successive conversions.
  • Error Handling: Displays an error message for invalid inputs.

Technologies

  • HTML: Provides the structure and layout for the interface.
  • CSS: Adds styling to make the interface clean and user-friendly.
  • JavaScript: Handles the conversion logic and interactive elements.

Installation

  1. Clone the repository:
git clone https://github.com/stephenombuya/Decimal-to-Binary-Converter
  1. Navigate to the project directory:
cd decimalToBinaryConverter
  1. Open index.html in your web browser to start using the application.

Usage

  1. Enter a Decimal Number: Type a non-negative decimal number into the input field.
  2. View Binary Conversion: The corresponding binary representation will automatically display in the output field.
  3. Clear Input: Click the "Clear" button to reset both input and output fields.

Contributing

Contributions are welcome! Feel free to fork the repository, make your improvements, and submit a pull request. Please ensure any changes are well-documented.

License

This project is licensed under the Apache License 2.0 - License

About

A simple web application that converts decimal numbers to binary. Built using HTML, CSS, and JavaScript, this application provides a fast and interactive way to learn how decimal numbers are represented in binary format.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published