Code Monkey home page Code Monkey logo

2020-04-01-interactive-calculator's Introduction

Today's Objective: Interactive Calculator

Prize

$25 CAD Amazon gift card + bragging rights.

Tip: Read the [General Information Document]("./General\ Information.md") for more info on how to get started and submit.

Objective

Interactive calculators are a beautiful way to inform, entertain, and educate people. Some of them are very beautiful, featuring graphs, charts, and animations. Many of them are simple, practical, and pragmatic. They find uses in marketing, engineering, finance, medicine -- pretty much every field. At some point in their careers, most developers have been involved in a calculator project or two.

Here are some examples of interesting interactive calculators. Notice that they all vary in feature sets, functionality, objective, and scope. Some of them focus on beauty and aesthetics, while others focus on practicality and simplicity.

Today's objective is to create a simple interactive calculator of your own design.

Requirements

Create an interactive calculator!

The design can be of your own choosing, and so this project is very open-ended. Here are some suggestions:

Tip: Make sure you choose an EASY problem! You only have 2h15m to finish while also writing clean code.

Suggested project: Tip calculator

Take a restaurant bill and calculate how much tip you have to add on top of it. Easy peasy!

Inputs: bill amount, tip percentage Outputs: tip amount, grand total

Suggested project: Bill split calculator

Take a restaurant bill and split it between a number of parties.

Inputs: bill amount, number of parties. Outputs: amount of money each party has to pay

To make it more fun, you can maybe create some kind of way to assign greater or lower ratios of the bill to different parties.

Suggested project: Compound growth calculator

Create a growth chart that tells you how fast a number will grow over time, given a growth rate.

Input: initial number, growth rate Output: a chart or table that shows you how much the number has grown over time.

Or, do your own thing!

You can create something cooler if you wish. Please don't copy/paste old projects, though -- write from scratch, even if you're inspired by the old project :-)

Restrictions

You must be able to deploy your project online. Your project must use JavaScript.

There are no other restrictions.

Technology suggestions

  • Templated HTML
  • React
  • Vue
  • Angular
  • Pure Express API - see StackOverflow link in "Library Suggestions" below

Library suggestions

Avoid D3.js unless you're already experienced at it. D3 is very powerful for custom graphs, but has an extremely steep learning curve, making it unsuitable for this project.

Good libraries to use:

Tips for success:

  1. The project is intentionally simple so you can focus on code quality.
  2. The requirements are intentionally minimalistic so you can get as creative as you'd like.
  3. You get a LOT of time for code review comments. So you can win even if you feel your project isn't great, simply on the strength of your code review comments!
  4. Keep in mind, 33% of your score is based on aesthetic appeal! So try to make it look nice.

2020-04-01-interactive-calculator's People

Contributors

monarchwadia avatar zckramer avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.