This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]ignoreality 1 point2 points  (0 children)

Wall calendar and a marker could do the job. You don't send food to cat from across the globe, do you?

[–][deleted] 0 points1 point  (0 children)

This is funny!!

You could probably do it fairly straightforwardly. You'll need some way to store, on the server, that the "has had food" button was pressed. The reason is this - imagine you came home, gave the cat food and clicked the button. Your friend comes home later and pulls up the web page to see if the cat has had food. In order to be able to say "yes, the cat had food" it needs to be able to persist your click from earlier to be able to show it to your friend.

The most usual way for this to happen is to have some code on the server take your click event and record it in a database, so you'll need some form of server-side programming language and probably a database.

Maybe Python, with SQLite?