xdebbie / fortunecookie

Random fortune cookie generator written in PHP, JS and Sass

Home Page:https://xdebbie-fortunecookie.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fortune Cookie

Random fortune cookie generator in PHP, HTML, SASS and Javascript.


Fortune cookie snapshot


The fortune

You can only open 1 cookie every 2 hours.

The PHP file contains a small database of the fortunes and the Javascript handles the fortune reveal and the cooldown management.

The project

This PHP mini-experiment was deployed on Heroku since GitHub won't handle PHP. The objective of this little project was to practice the integration between PHP and Javascript, the deployment of web-apps using Composer on Heroku and the implementation of a 7-1 directory structure on SASS.

About

Random fortune cookie generator written in PHP, JS and Sass

https://xdebbie-fortunecookie.herokuapp.com

License:Mozilla Public License 2.0


Languages

Language:CSS 97.6%Language:PHP 2.3%Language:JavaScript 0.1%