2 ms·
Dad Jokes on Demand
- felipesabino 3y agoit seems you can just read all jokes at once via https://dadjokes736.onrender.com/jokes.json https://dadjokes736.onrender.com/jokes.json The client side js code just picks up one in the list at random. Also, looking at the js code, you can get the html to print a fixed joke by referencing the key in the json object on an "index" query param, ex: https://dadjokes736.onrender.com/?index=7 https://dadjokes736.onrender.com/?index=7
- felipesabino 3y agoI just found out that the same author has an api if anyone here is looking for a server side joke alternative :p https://us-central1-dadjokeapi.cloudfunctions.net/getRandomJoke https://us-central1-dadjokeapi.cloudfunctions.net/getRandomJ...
- Biganon 3y agoSo... I read all 333 of them to see which ones would also work in French, and happened to find two typos: 305 : "What is a vampire's favorite kind of shop? A blood vessel." Should be "ship". 324 : "Tomorrow my wife and I are getting new classes. And after that? We'll see...". Should be "glasses".
- gorkish 3y ago294 also has a typo: "I'm having a hard time organizing a hide-and-seek league. Good players aare hard to find."