Menu
Forum
Guide
Medium
YouTube
In your city
Contribute
About
Map
Map
Donate
Sign in
Community
Forum
Guide
Medium
YouTube
In your city
Contribute
About
Map
Map
Donate
Sign in
Build a JavaScript Calculator
Objective:
Build a
CodePen.io
app that is functionally similar to this:
https://codepen.io/FreeCodeCamp/full/rLJZrA/
.
Fulfill the below
user stories
. Use whichever libraries or APIs you need. Give it your own personal style.
User Story:
I can add, subtract, multiply and divide two numbers.
User Story:
I can clear the input field with a clear button.
User Story:
I can keep chaining mathematical operations together until I hit the equal button, and the calculator will tell me the correct output.
Remember to use
Read-Search-Ask
if you get stuck.
When you are finished, click the "I've completed this challenge" button and include a link to your CodePen.
You can get feedback on your project by sharing it with your friends on Facebook.
Go to my next challenge (ctrl + enter)
Sign in so you can save your progress
There is no spoon!
×
Go to my next challenge
Did you find a bug?
×
Before you submit a new issue, read "Help I've Found a Bug" and browse other issues with this challenge.
Read "Help I've Found a Bug"
Browse other issues with this challenge
Create my GitHub issue
Cancel
Clear your code?
×
This will restore your code editor to its original state.
Clear my code
Cancel
Ask for help?
×
If you've already tried the
Read-Search-Ask
method, then you can ask for help on the freeCodeCamp forum.
Create a help post on the forum
Cancel