Making a toy app with Google AntiGravity
Developent process¶
The log below shows my interaction with the Antigravity app (typo-s and all)
Code me a web app thta takes a usersbbirthdate in the YYYMMDD, and display the dayus and seconds of expected life left. Update the seconds counter every 1/10 second
app incoorect, says Please enter exactly 8 digits (YYYYMMDD). even on valid dates
now add a switch for Male / Female
now create a steampunk themed version
the files male_expected_years_to_live.csv and female_expected_years_to_live.csv hold theexpected years more to live given survival to a given age. Read these files and include the data hard-coded in the javascript to give a more accurate estimate of years more to live
the layout is to tall. also, can you add a reset button
just have male / female on the gender select buttons
Conclusions¶
A fun little project!
In [ ]: