Skip to content

A JavaScript App to Help me Throughout My Diet Journey.

Notifications You must be signed in to change notification settings

peter-c0de/weightcalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

‘Man shall not live on bread alone, but on every word that comes from the mouth of God.’ Mathew 4:4

Ⲁⲝⲓⲟⲥ Ⲁⲝⲓⲟⲥ Ⲁⲝⲓⲟⲥ ⲡⲁϭⲟⲓⲥ ̀ⲡⲟⲩⲣⲟ Ⲅⲉⲱⲣⲅⲓⲟⲥ

WeightCalc

I have created 2 webpages, to help me track down my weight loss and keep me motivated everyday when I enter my new weight.

One page for my desktop and the other is for my cellphone.

I used JavaScript to create them.

The only problem I had was editing the data in both files every week.

And that was exhausting.

So I have created a python3 script to help me, so when I edit the data every time in much clearer file: data.py and I run the main.py the script will output 2 html files, 1 for the desktop and the other for my cellphone.

You can try them youself: https://peter-c0de.github.io/weightcalc/Demo/index.html

data.py

Screenshot: data.py

main.py

Screenshot: main.py

$python3 main.py

executing main.py

index.html

index.html screenshot

PCs Version

PCs version screenshot

Cellphones Version

Cellphones version screenshot

About

A JavaScript App to Help me Throughout My Diet Journey.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages