alitindrawan24 / binary-calculator Goto Github PK
View Code? Open in Web Editor NEWBinary Calculator
Home Page: https://alitindrawan24.github.io/Binary-Calculator/
Binary Calculator
Home Page: https://alitindrawan24.github.io/Binary-Calculator/
Adding Numbers in the calculator and Fixing the Border
Currently, there is an no functionality to display the binary to hexadecimal conversion functionality in the application. When users input a binary number, the application cannot display the hexadecimal equivalent.
I would like to add a hexadecimal button.
It look like the calculator needs some UI fix so that it looks a little better for the user. Please assign this to me.
The binary calculator currently lacks error messages when incorrect input is provided, resulting in the input field being cleared without any explanation. This can be confusing for users, as it doesn't provide guidance on what went wrong.
Example:
Input: ++-
Expected: Display an error message explaining the incorrect input.
Current: Input field is cleared without any error message.
Additional
I would like to work on this issue, kindly assign.
i think the js Function have Bug or something is wrong with it , it show 1+1 =10 and 1/0 broke the application, fix this answer Zero is not showing , like = 1*0 = empty .
please don't change the whole, function try to solve with minor changes .
Currently, there is an no functionality to display the binary to decimal conversion functionality in the application. When users input a binary number, the application does not display the decimal equivalent. This can be resolved to ensure accurate conversions and provide users with the correct results.
I want to add buttons like 1's complement and 2's complement in this.
@Hacktoberfest
I would like to add Right and Left shit operations on binary numbers.
As a participant of hactoberfest please add hacktoberfest labels to issues.
The calculator currently has support for fractional output, but has no '.'(decimal) button for fractional input.
I want to add the '.' (decimal) button.
May I work on this??
I would like to request the implementation of a theme toggle feature in the project. Currently, there is a need for users to switch between light and dark themes, and having a dedicated button for this would greatly enhance the user experience.
@Alitindrawan24 pls assign this issue to me, i have already implemented it!
When the input is Invalid, the text field contains "Invalid Input" and when the new key is triggered it remains the same.
Would like to work on this under hacktoberfest
Adding add(&) , or [ | ] , Xor [ ^ ] operators.
Please assign this under hacktoberfest_23 and Please label this : )
I would like to add a cursor in the display area so that user can use the calculator more easily.
Kindly assign this issue to me @Alitindrawan24
Changing dark theme button into some another modern button and arranging the buttons into more efficient way .
The calculator outputs decimal numbers in fractions instead of only binary numbers when attempting to divide a number by a larger number.
Example:
Input: 11 / 101
Current: 0.33333333...
Expected: 0.10011001100....
The calculator should output only binary digits in case of a binary fraction.
May I work on this issue ??
The calculator currently has a 'C' button that clears the whole input, if clicked.
I want to add a backspace button that would omit the last character of the input stream.
Also, I would like to rearrange the existing buttons for aesthetic purposes.
If you wish I may work on that too.
I have added the necessary code and now the project looks like this,
Do you wish me to create a PR for you to merge this ??
The calculator crashes when attempting to divide by zero, causing the website to hang on reload. This behavior is inconsistent with other aspects of the application, where it should ideally display an appropriate message and gracefully handle divide by zero cases without impacting user experience.
Example:
1101 / 0
Steps to Recreate:
1101 / 0
.Expected Behavior:
The calculator should detect the divide by zero condition, handle it gracefully, and provide appropriate feedback to the user without crashing the website.
This issue impacts user experience and should be addressed to ensure the calculator functions smoothly.
Note: I would like to work on this issue. Please assign it to me.
Register keyboard event listeners in the app's javascript to handle keyboard input
Whats happing is when user is entering an invalid input the calculator show the invalid input result on the screen but it is not clearing when entering new input number. Need to clear before enter manually.
What i will do is that when this message is showing i will allow input field to get clear automatically when a new digit is entered from the keyboard without manually clearing the field for next solution.
Readme file looks a bit older I can fix this problem
Hi @Alitindrawan24 I would like to change the CSS styling of the webpage by make the page attractive & easy-readable to the user. I am good in this kind of issue. Please assign this task to me. Thank you.
now, the user has to click on button numerous times to give the operands. I would like to make that happen through keyboard.
I thought of adding below changes to the readme file:
If you wish to add these changes please assign this issue to me @Alitindrawan24
Currently, there is an no functionality to display the binary to octal conversion in the application.
I would like to add a button that converts the binary number to octal number and displays it.
I have noticed that with some of the PRs merged, the logic of the calculator is getting broken.
Even though I have fixed all the bugs in my last commit (PR #53), this might happen again later on.
I suggest that @Alitindrawan24, please implement a process such that, before merging any new PR, the commit passes through a set of test cases that contain all the different types of cases where the logic might get broken, i.e. edge cases.
I may work on this if you wish, but I think you(@Alitindrawan24 ) should implement this asap(before any further PRs are merged).
It will perform a bitwise shift operation with carry (rotation) for circular shifts.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.