Code Monkey home page Code Monkey logo

fllcalculator's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar mxmoss avatar

Watchers

 avatar  avatar

fllcalculator's Issues

Add "About" page

In the "About" page explain the following:

  • Purpose of FLL Calculator
  • Link to FLL 2017 challenge
  • Paypal donate link
  • Contact
  • Link to Github Repo

Add a banner ad to the footer

Display a banner ad in the footer. The benefits of this are two-fold:

  1. Learn how to have a footer anchored to the bottom of the page
  2. Possibly get some clicks & earn some revenue

Selecting radio buttons doesn't always update score

The radio buttons don't always update the score. Reselecting a previously selected radio button doesn't update the state.

Steps to recreate:

  1. Run the app
  2. Click on Yellow for cargo plane
  3. Current score: 20 points
  4. Click on Blue for cargo plane
  5. Current score: 30 points
  6. Click on Yellow for cargo plane
  7. Current score still shows 30 points. A correct score should show 20 points

Read the title from the JSON data

Currently the app's title, "2013 FLL Challenge Nature's Fury" is hard-coded.
In view of trying to make this calculator re-usable over multiple FLL years, it would be good to read the title from the JSON data.

For example, read the title "2013 FLL Challenge Nature's Fury" from the file FLL2013Challenge.json
But for 2017 the title is "2017 FLL Challenge Hydro Dynamis" from the file FLL2017Challenge.json

Only show a Challenge's detailed description when the user wants to see it

The full text of the challenge description isn't always necessary. People new to the challenge might want to know more, but after one or two times using the app it's OK to hide the text.

Suggested solution:
Only show a Challenge's detailed description when the user wants to see it

Add click to "show more" "show less"
more -> display the full text of the description
less -> hide the text

Genericize the calculator

The first iteration of this calculator was created to re-implement the 2013 FLL Calculator for the Nature's Fury challenge. After moving most of the year-specific information into JSON files, it's apparent that there are other parts of the project that should be made more generic.
Suggested solution: Replace any reference to "FLL2013Challenge" with "FLLChallengeCalc"

  • Rename this Repo to FLLChallengeCalc
  • Rename the github pages URL to FLLChallengeCalc
  • Other items?

Improve the navigation menu

The navigation menu at the top is not as simple or nicely formatted as it seems that it should be.
Can we improve on how it works?

Issues:

  • Layout & design of menu is bumpy
  • I originally used this method because I wanted it to be responsive. The responsive result, however, wasn't as simple or nice to use as expected.
  • Sometimes the text scrolls under the nav menu

Caktus has a tutorial on a different way to add a navigation menu. Maybe this would be better?

Format the score panel

The "Current Score" panel floats on the upper right side.
When you scroll, it stays put, but it's hard to read since there is other text showing underneath it.

It would be nice to format the panel like this:

  1. floating is OK
  2. No other text obscures the score
  3. Give the score panel some color so it stands out

Optimize the Challenge graphics

Currently the challenge graphic files are larger than they need to be.
They range from 50 to 70 KB in size, and are about 250 px across. The calculator only shows them as 80 x 80 pixel icons.

An 80x80 pixel PNG file is only 13KB and would load about 5 times faster.

Add a Reset button

Currently the only way to reset the score is to refresh the page.
When kids are calculating the scores, they may have many robot runs and will want to reset the score after each one.
Adding a [Reset] button or some way to reset the score to zero would be handy.

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.