This is a GitHub Template that you can reuse and customise, to create your own Random Quote Generator.
As I made it pre-Christmas, it also has a snowing effect toggle button
- Click the green
Use This Templatebutton above, and give your repo a name - Clone the new repo locally &
cdto the new directory - Open the
index.htmlfile in your browser
You can customise this template in the following ways
-
Add your own text/quotes to the
randomQuotesarray in thescript.jsfile -
Add your own images to the
randomImagesarray in thescript.jsfile, and also add them to the/imagesdirectory -
Add your own font class in
style.cssinstead of the current onefont_merienda(you may wish to adjust the font-size and/or line-height if you change the font) -
Add your own picture-frame SVG image, in the
frameclass instyle.css(you may wish to adjust the slice options depending on your SVG) -
Adjust the background colours
