From 6731e4167208b9ae29983b639fa2688df9e9d2b9 Mon Sep 17 00:00:00 2001 From: virajsharma2000 Date: Mon, 22 Sep 2025 21:39:28 +0530 Subject: [PATCH 1/8] add a new coding idea: decimal to binary --- Projects/1-Beginner/Dec2Bin.md | 40 ++++++++++++++++++++++++++++++++++ README.md | 1 + 2 files changed, 41 insertions(+) create mode 100644 Projects/1-Beginner/Dec2Bin.md diff --git a/Projects/1-Beginner/Dec2Bin.md b/Projects/1-Beginner/Dec2Bin.md new file mode 100644 index 00000000..362283ae --- /dev/null +++ b/Projects/1-Beginner/Dec2Bin.md @@ -0,0 +1,40 @@ +# Dec2Bin + +**Tier:** 1-Beginner + +Binary is the number system all digital computers are based on. +Therefore it's important for developers to understand binary, or base 2, +mathematics. The purpose of Bin2Dec is to provide practice and +understanding of how binary calculations. + +Dec2Bin allows the user to enter integers and displays its binary + +This challenge requires that the developer implementing it follow these +constraints: + +- Only integer datatype is allowed as the input +- Getting binary of a particular integer in the string must be calculated using a single mathematical function. It's up to you to figure out which function to use. +- Only strings are allowed as the output binary + +## User Stories + +- [ ] User can any integer except just 0 or 1 +- [ ] User must be notified if 0 or 1 was entered +- [ ] User views the results in a single output field containing the binary (base 2) equivalent of the decimal that was entered + + +## Bonus features + +- [non-numeric charecters to binary] We can give option to a user to convert a group of non-numeric charecters to binary by encoding to ascii or unicode +- [click here for ascii information](https://en.wikipedia.org/wiki/ASCII) +- [click here for unicode information](https://en.wikipedia.org/wiki/Unicode) + +## Useful links and resources + +[Binary number system](https://en.wikipedia.org/wiki/Binary_number) + +## Example projects +- [decimal to binary program geeks for geeks] (https://www.geeksforgeeks.org/dsa/program-binary-decimal-conversion/) + +# HAPPY CODING!! + diff --git a/README.md b/README.md index 2d209743..4fc95ebe 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ required to complete them. | Name | Short Description | Tier | | --------------------------------------------------------------------------------- | ---------------------------------------------------------- | ---------- | | [Bin2Dec](./Projects/1-Beginner/Bin2Dec-App.md) | Binary-to-Decimal number converter | 1-Beginner | +| [Dec2Bin](./Projects/1-Beginner/Dec2Bin.md) | Decimal-to-Binary number converter | 1-Beginner | | [Border Radius Previewer](./Projects/1-Beginner/Border-Radius-Previewer.md) | Preview how CSS3 border-radius values affect an element | 1-Beginner | | [Calculator](./Projects/1-Beginner/Calculator-App.md) | Calculator | 1-Beginner | | [Christmas Lights](./Projects/1-Beginner/Christmas-Lights-App.md) | Simulate a string of Christmas lights | 1-Beginner | From ec896e05887279a0ed64253ee5f8c1121c459c17 Mon Sep 17 00:00:00 2001 From: virajsharma2000 Date: Tue, 23 Sep 2025 08:57:27 +0530 Subject: [PATCH 2/8] add author name in contributers.md --- CONTRIBUTING.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 24070a5a..4cacc979 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,10 +1 @@ -## Contribution Guide - -This guide will help us ensure that you have a simple and effective way to contribute to this project. - -- If you want to propose a new App Idea, please use the [Example Guide](./Example%20Guide.md) as a base template. -- Before creating a Pull Request, please make sure that your suggestion is not already added to the project. You can submit an update if you believe it improves an existing idea. -- Make sure you check your spelling and grammar. -- Create individual PR for each suggestion. - -Thank you for spending your time to improve this project! ^\_^ +- [Viraj Sharma](https://github.com/virajsharma2000) From 3aa14e791186da82efb396e8e922781337ee0cda Mon Sep 17 00:00:00 2001 From: virajsharma2000 Date: Wed, 24 Sep 2025 21:20:12 +0530 Subject: [PATCH 3/8] Revert "add a new coding idea: decimal to binary" This reverts commit 6731e4167208b9ae29983b639fa2688df9e9d2b9. --- Projects/1-Beginner/Dec2Bin.md | 40 ---------------------------------- README.md | 1 - 2 files changed, 41 deletions(-) delete mode 100644 Projects/1-Beginner/Dec2Bin.md diff --git a/Projects/1-Beginner/Dec2Bin.md b/Projects/1-Beginner/Dec2Bin.md deleted file mode 100644 index 362283ae..00000000 --- a/Projects/1-Beginner/Dec2Bin.md +++ /dev/null @@ -1,40 +0,0 @@ -# Dec2Bin - -**Tier:** 1-Beginner - -Binary is the number system all digital computers are based on. -Therefore it's important for developers to understand binary, or base 2, -mathematics. The purpose of Bin2Dec is to provide practice and -understanding of how binary calculations. - -Dec2Bin allows the user to enter integers and displays its binary - -This challenge requires that the developer implementing it follow these -constraints: - -- Only integer datatype is allowed as the input -- Getting binary of a particular integer in the string must be calculated using a single mathematical function. It's up to you to figure out which function to use. -- Only strings are allowed as the output binary - -## User Stories - -- [ ] User can any integer except just 0 or 1 -- [ ] User must be notified if 0 or 1 was entered -- [ ] User views the results in a single output field containing the binary (base 2) equivalent of the decimal that was entered - - -## Bonus features - -- [non-numeric charecters to binary] We can give option to a user to convert a group of non-numeric charecters to binary by encoding to ascii or unicode -- [click here for ascii information](https://en.wikipedia.org/wiki/ASCII) -- [click here for unicode information](https://en.wikipedia.org/wiki/Unicode) - -## Useful links and resources - -[Binary number system](https://en.wikipedia.org/wiki/Binary_number) - -## Example projects -- [decimal to binary program geeks for geeks] (https://www.geeksforgeeks.org/dsa/program-binary-decimal-conversion/) - -# HAPPY CODING!! - diff --git a/README.md b/README.md index 4fc95ebe..2d209743 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,6 @@ required to complete them. | Name | Short Description | Tier | | --------------------------------------------------------------------------------- | ---------------------------------------------------------- | ---------- | | [Bin2Dec](./Projects/1-Beginner/Bin2Dec-App.md) | Binary-to-Decimal number converter | 1-Beginner | -| [Dec2Bin](./Projects/1-Beginner/Dec2Bin.md) | Decimal-to-Binary number converter | 1-Beginner | | [Border Radius Previewer](./Projects/1-Beginner/Border-Radius-Previewer.md) | Preview how CSS3 border-radius values affect an element | 1-Beginner | | [Calculator](./Projects/1-Beginner/Calculator-App.md) | Calculator | 1-Beginner | | [Christmas Lights](./Projects/1-Beginner/Christmas-Lights-App.md) | Simulate a string of Christmas lights | 1-Beginner | From 64cee73474858c7fd51bc2b1edba2a1b39c99b6e Mon Sep 17 00:00:00 2001 From: virajsharma2000 Date: Wed, 24 Sep 2025 21:35:02 +0530 Subject: [PATCH 4/8] revert contirbuting guide, fix Dec2Bin grammar --- CONTRIBUTING.md | 11 ++++++++++- Projects/1-Beginner/Dec2Bin.md | 13 +++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 Projects/1-Beginner/Dec2Bin.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4cacc979..324a52f6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1 +1,10 @@ -- [Viraj Sharma](https://github.com/virajsharma2000) +## Contribution Guide + +This guide will help us ensure that you have a simple and effective way to contribute to this project. + +- If you want to propose a new App Idea, please use the [Example Guide](./Example%20Guide.md) as a base template. +- Before creating a Pull Request, please make sure that your suggestion is not already added to the project. You can submit an update if you believe it improves an existing idea. +- Make sure you check your spelling and grammar. +- Create individual PR for each suggestion. + +Thank you for spending your time to improve this project! ^\_^ \ No newline at end of file diff --git a/Projects/1-Beginner/Dec2Bin.md b/Projects/1-Beginner/Dec2Bin.md new file mode 100644 index 00000000..6a6a644f --- /dev/null +++ b/Projects/1-Beginner/Dec2Bin.md @@ -0,0 +1,13 @@ +## User Stories + +- [ ] User can enter any integer except +- [ ] User must be notified if 0 or 1 was entered using validation error. +- [ ] User views the results in a single output field containing the binary (base 2) equivalent of the decimal that was entered + +@@ -34,7 +34,7 @@ constraints: +[Binary number system](https://en.wikipedia.org/wiki/Binary_number) + +## Example projects +- [decimal to binary program geeks for geeks] (https://www.geeksforgeeks.org/dsa/program-decimal-binary-conversion/) + +# HAPPY CODING!! \ No newline at end of file From 3d69f9529b5e2fb6add10b9576a43eb5bb4630cf Mon Sep 17 00:00:00 2001 From: virajsharma2000 Date: Wed, 24 Sep 2025 21:39:16 +0530 Subject: [PATCH 5/8] fixed grammar --- Projects/1-Beginner/Dec2Bin.md | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/Projects/1-Beginner/Dec2Bin.md b/Projects/1-Beginner/Dec2Bin.md index 6a6a644f..a17224b7 100644 --- a/Projects/1-Beginner/Dec2Bin.md +++ b/Projects/1-Beginner/Dec2Bin.md @@ -1,13 +1,37 @@ +# Dec2Bin + +**Tier:** 1-Beginner + +Binary is the number system all digital computers are based on. +Therefore it's important for developers to understand binary numbers, or base 2 mathematics. +The purpose of Dec2Bin is to provide practice and understanding of how binary calculations work. + +Dec2Bin allows the user to enter integers and displays its binary equivalent + +This challenge requires that the developer implementing it follow these constraints: + +- Only integer datatype is allowed as the input. +- The binary of a particular integer in the string must be calculated using a single mathematical function. It's up to the uer to figure out which function to use. +- Only strings are allowed as the output binary + ## User Stories -- [ ] User can enter any integer except -- [ ] User must be notified if 0 or 1 was entered using validation error. +- [ ] User can enter any integer. +- [ ] User must be notified if 0 or 1 was entered as a part of validation error. - [ ] User views the results in a single output field containing the binary (base 2) equivalent of the decimal that was entered -@@ -34,7 +34,7 @@ constraints: + +## Bonus features + +- [non-numeric charecters to binary] We can give option to a user to convert a group of non-numeric charecters to binary by encoding to ascii or unicode +- [click here for ascii information](https://en.wikipedia.org/wiki/ASCII) +- [click here for unicode information](https://en.wikipedia.org/wiki/Unicode) + +## Useful links and resources + [Binary number system](https://en.wikipedia.org/wiki/Binary_number) ## Example projects - [decimal to binary program geeks for geeks] (https://www.geeksforgeeks.org/dsa/program-decimal-binary-conversion/) -# HAPPY CODING!! \ No newline at end of file +# HAPPY CODING!! From 6902b0e3dd83bea9618fb0f99da6179240eea408 Mon Sep 17 00:00:00 2001 From: virajsharma2000 Date: Sat, 27 Sep 2025 21:10:35 +0530 Subject: [PATCH 6/8] fixed typo and grammar as per review comment --- Projects/1-Beginner/Dec2Bin.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Projects/1-Beginner/Dec2Bin.md b/Projects/1-Beginner/Dec2Bin.md index a17224b7..b201af9a 100644 --- a/Projects/1-Beginner/Dec2Bin.md +++ b/Projects/1-Beginner/Dec2Bin.md @@ -11,8 +11,7 @@ Dec2Bin allows the user to enter integers and displays its binary equivalent This challenge requires that the developer implementing it follow these constraints: - Only integer datatype is allowed as the input. -- The binary of a particular integer in the string must be calculated using a single mathematical function. It's up to the uer to figure out which function to use. -- Only strings are allowed as the output binary +- The binary output of the integer must be a string. ## User Stories From ab9fb0b4a6f635b74769b9b49fc07b275c9c34ea Mon Sep 17 00:00:00 2001 From: virajsharma2000 Date: Sat, 27 Sep 2025 21:18:22 +0530 Subject: [PATCH 7/8] removed the space and capitalized --- Projects/1-Beginner/Dec2Bin.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projects/1-Beginner/Dec2Bin.md b/Projects/1-Beginner/Dec2Bin.md index b201af9a..27f44677 100644 --- a/Projects/1-Beginner/Dec2Bin.md +++ b/Projects/1-Beginner/Dec2Bin.md @@ -31,6 +31,6 @@ This challenge requires that the developer implementing it follow these constrai [Binary number system](https://en.wikipedia.org/wiki/Binary_number) ## Example projects -- [decimal to binary program geeks for geeks] (https://www.geeksforgeeks.org/dsa/program-decimal-binary-conversion/) +- [Decimal to binary program (GeeksForGeeks)](https://www.geeksforgeeks.org/dsa/program-decimal-binary-conversion/) # HAPPY CODING!! From 1c0a15cb729d4f94c1e9e2a4b43411bb43674642 Mon Sep 17 00:00:00 2001 From: virajsharma2000 Date: Sun, 5 Oct 2025 19:22:43 +0530 Subject: [PATCH 8/8] fixed typo and grammar --- Projects/1-Beginner/Bin2Dec-App.md | 65 +++++++++++++++--------------- 1 file changed, 32 insertions(+), 33 deletions(-) diff --git a/Projects/1-Beginner/Bin2Dec-App.md b/Projects/1-Beginner/Bin2Dec-App.md index 9bb4503f..a0c0b638 100644 --- a/Projects/1-Beginner/Bin2Dec-App.md +++ b/Projects/1-Beginner/Bin2Dec-App.md @@ -1,47 +1,46 @@ -# Bin2Dec +# Bin2Dec +**Tier:** 1-Beginner -**Tier:** 1-Beginner +Binary is the number system that all digital computers are based on. Therefore, it's important for developers to understand binary (base-2) mathematics. The purpose of **Bin2Dec** is to help users practice and understand how binary calculations work. -Binary is the number system all digital computers are based on. -Therefore it's important for developers to understand binary, or base 2, -mathematics. The purpose of Bin2Dec is to provide practice and -understanding of how binary calculations. +**Bin2Dec** allows the user to enter strings of up to 8 binary digits (0s and 1s) in any sequence and then displays their decimal equivalent. -Bin2Dec allows the user to enter strings of up to 8 binary digits, 0's -and 1's, in any sequence and then displays its decimal equivalent. +--- -This challenge requires that the developer implementing it follow these -constraints: +## Requirements +This challenge requires that the developer implementing it follows these constraints: -- Arrays may not be used to contain the binary digits entered by the user -- Determining the decimal equivalent of a particular binary digit in the - sequence must be calculated using a single mathematical function, for - example the natural logarithm. It's up to you to figure out which function - to use. +- Arrays may **not** be used to contain the binary digits entered by the user. +- Determining the decimal equivalent of a particular binary digit in the sequence must be calculated using a single mathematical function (for example, the natural logarithm). It’s up to you to determine which function to use. -## User Stories +--- -- [ ] User can enter up to 8 binary digits in one input field -- [ ] User must be notified if anything other than a 0 or 1 was entered -- [ ] User views the results in a single output field containing the decimal (base 10) equivalent of the binary number that was entered +## User Stories +- User can enter up to 8 binary digits in one input field. +- User must be notified if anything other than a 0 or 1 is entered. +- User can view the result in a single output field containing the decimal (base-10) equivalent of the entered binary number. -## Bonus features +--- -- [ ] User can enter a variable number of binary digits +## Bonus Features +- User can enter a variable number of binary digits. -## Useful links and resources +--- -[Binary number system](https://en.wikipedia.org/wiki/Binary_number) +## Useful Links and Resources +- [Binary number system](https://en.wikipedia.org/wiki/Binary_number) -## Example projects +--- -Try not to view this until you've developed your own solution: +## Example Projects +Try not to view these until you’ve developed your own solution: + +- Binary to Decimal conversion program for beginners +- Binary to Decimal converter using React +- Binary to Decimal converter with plain HTML, JS, and CSS +- Binary to Decimal converter using Flutter & Dart +- Live preview built with Flutter for Web +- Binary to Decimal converter using React +- Matrix-like Binary to Decimal converter using Angular +- Live preview on Heroku -- [Binary to decimal conversion program for beginners](https://www.youtube.com/watch?v=YMIALQE26KQ) -- [Binary to Decimal converter using React](https://github.com/email2vimalraj/Bin2Dec) -- [Binary to Decimal converter with plain html, js and css](https://grfreire.github.io/Bin2Dec/) -- [Binary to Decimal converter using Flutter & Dart](https://github.com/israelss/AppIdeasCollection/tree/master/Tier1/Bin2Dec) - - [Live preview built with Flutter for Web](https://bin2dec.web.app/#/) -- [Binary to Decimal converter using React](https://github.com/geoffctn/Bin2Dec) -- [Matrix-like Binary to Decimal converter using Angular](https://github.com/ZangiefWins/MatrixBin2Dec) - - [Live preview on heroku](https://matrix-bin2dec.herokuapp.com/)