Skip to content

beautiful but not working

Compare
Choose a tag to compare
@lightningRalf lightningRalf released this 15 Mar 09:32
ab6739c
Update script.js

Lets go on and make it more beautiful.

First things first:
- modify it, so that you could toggle between dark and light mode on the upper right corner
- add some nice graphic as background behind the 'h1'
- make the field for the trading stack a bit more spacious.
- dont display results table, before pushing the 'calculate' button
- dont show the add row button
- show one row from the beginning.
- when hopping from the win probability column with 'tab' to the next field, add automatically another row
- adjust the 'calculate' button a bit more in the middle and below the table
- when pushing the 'calculate' button: 
    1. hide the entry table
    2. show the results table, but without the 'results' label
    3. resize the table to the values inside
    4. publish it in the middle of the page