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.
- Overview
- Features
- Technologies
- Installation
- Usage
- Contributing
- License
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.
- 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.
- 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.
- Clone the repository:
git clone https://github.com/stephenombuya/Decimal-to-Binary-Converter
- Navigate to the project directory:
cd decimalToBinaryConverter
- Open index.html in your web browser to start using the application.
- Enter a Decimal Number: Type a non-negative decimal number into the input field.
- View Binary Conversion: The corresponding binary representation will automatically display in the output field.
- Clear Input: Click the "Clear" button to reset both input and output fields.
Contributions are welcome! Feel free to fork the repository, make your improvements, and submit a pull request. Please ensure any changes are well-documented.
This project is licensed under the Apache License 2.0 - License