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

Description
A simple javascript powered page displaying all the my favourite quotes
https://quotes.fyrf.li
Readme 2 MiB
2024-11-08 12:06:45 -06:00
Languages
CSS 40%
HTML 21.6%
JavaScript 20.3%
Less 18.1%