New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calculator components #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @iLynette
Your project is complete! There is nothing else to say other than... it's time to merge it
Congratulations! 🎉 👏 👏 💯
Optional suggestions
- Check the comment under the review
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!:clap::clap::clap:
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
_As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.
<div className="container"> | ||
<form> | ||
<input type="text" /> | ||
</form> | ||
<div className="keypad"> | ||
<div className="clear num">AC</div> | ||
<div className="ad num">+/-</div> | ||
<div className="modulo num">%</div> | ||
<div className="divide operator">÷</div> | ||
<div className="num">7</div> | ||
<div className="num">8</div> | ||
<div className="num">9</div> | ||
<div className="times operator">×</div> | ||
<div className="num">4</div> | ||
<div className="num">5</div> | ||
<div className="num">6</div> | ||
<div className="clear operator">–</div> | ||
<div className="num">1</div> | ||
<div className="num">2</div> | ||
<div className="num">3</div> | ||
<div className="add operator">+</div> | ||
<div className="zero">0</div> | ||
<div className="num">.</div> | ||
<div className="equals operator">=</div> | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does look better. thank you @Emmyn5600 I will change it to this
In this project I implemented the following;
Create a directory called
components
.Inside components, create a new
Calculator.js
file.In Calculator.js, create a React component that matches the required design: