A simple javascript powered page displaying all the my favourite quotes https://quotes.fyrf.li
Go to file
2022-05-28 00:11:21 -05:00
.gitignore Initial 2022-05-18 00:14:26 -05:00
app.js add animation to quote display 2022-05-28 00:11:21 -05:00
favicon.ico master push to gitlab 2022-05-18 10:10:25 -05:00
FavouriteQuotes.json Initial 2022-05-18 00:14:26 -05:00
index.html add animation to quote display 2022-05-28 00:11:21 -05:00
README.md Merge branch 'master' of https://github.com/fyrfli/quotes 2022-05-18 10:45:12 -05:00
style.css add animation to quote display 2022-05-28 00:11:21 -05:00

Reading json and randomly posting content

I wanted to create an "app" that would read in JSON and print out the results randomly based on a randomly generated number. It took me a while to get right, mostly because of the JSON file format. I have it down now. This is my result.

Next steps ...

I want to add more quotes and a button to run the code instead of having the user reload the page.

Or at least create a timer loop to do the refreshing of the quotes automatically.

-- 18 May, 2022 - 10:42:14