Read-Only Mode: Your progress will not be saved, and certain functions are unavailable.Sign upto access the full features of Cratecode.

Basic calculator

By: Cratecode

Now that we know about data types and variables, let's put everything together and build a basic calculator. This calculator will take two strings, convert them to numbers, add them together, then output them to the console. Open up index.js to get started!

Edit this lesson

Output is unavailable in read-only mode.

AI Assistant


Building a Basic Calculator