This is a simplistic binary converter for 8 bits. It was written to learn about React.
To see this code working visit:
https://rgu.freeshell.org/binary-converter/
This project was bootstrapped with Create React App. See this project to learn how to use the scripts in package.json
https://reactjs.org/docs/forms.html
- Helped with understanding React forms
https://stackoverflow.com/questions/1133770/how-to-convert-a-string-to-an-integer-in-javascript
- Code for converting an integer to a binary string
https://stackoverflow.com/questions/2998784/how-to-output-numbers-with-leading-zeros-in-javascript
- Described how to pad strings with leading zeroes (padStart())
https://stackoverflow.com/questions/39120007/setting-a-checkbox-check-property-in-react
- Helped with setting checkbox property
https://stackoverflow.com/questions/27991366/what-is-the-difference-between-state-and-props-in-react
- "Props and state are related." (from accepted answer)
https://www.twilio.com/blog/react-choose-functional-components
- Helped with distinguishing between functional components vrs class components
https://reactjs.org/tutorial/tutorial.html#lifting-state-up
- Helped with understanding "how to lift state up"
https://stackoverflow.com/questions/3576605/prevent-linebreak-after-div
- Helped with layout
https://stackoverflow.com/questions/32174317/how-to-set-default-checked-in-checkbox-reactjs
- Helped with checkbox issues
- How to build
Rick Umali ([email protected])