Skip to content

atton88/Baby-Feeding-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 

Repository files navigation

#Route Schedules

Created a psychic game where the user tries to guess a random letter in 9 guesses.

Link to deployed site

Website

GitHub Profile

Images

Page Add Route

technology used

  • HTML
  • CSS
  • JavaScript
  • Bootstrap CDN
  • jQuery
  • Firebase (online data storage)
  • Moment js (time manipulation)

code snippets

Moment js was a little tought to figure out, but it ended up being pretty simple once I understood it. This ended up being most of the code that I needed to figure out the next route time.

if (timeNow.diff(startTime, "m") > 0) {
    while (timeNow.diff(startTime, "m") > 0) {
        startTime.add(frequency, "m");
    }
}

Learning points

  • Learned to integrate Firebase into website

    • Allow multiple connections
    • Save data on Firebase
  • Learned to use moment js to format times and manipulate them

Author

Andrew Ton

About

Baby Hollis' Feeding Tracker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors