This content originally appeared on DEV Community and was authored by ebuka anthony
Javascript is a well loved & accepted Programming Language, due to it’s synchrony with both client and server-side applications. and API’s are simply url’s that makes request to server side & gets data & sending it back to client side. Here, I made a simple web app that spits out nerdy jokes with liners & responses with the click of a button, this was of course made possible with a free web API for random jokes i found on Github. So I Would like to show y’all how i made this fun project from scratch. With Steps and Code visualization of the processes.
Step 1: Set up your project
To get started, create a new folder for your project and open it in your favorite code editor. Then, create a new HTML file called index.html and a new JavaScript file called main.js.
Next, you'll need to include the following scripts in your HTML file:
This content originally appeared on DEV Community and was authored by ebuka anthony
ebuka anthony | Sciencx (2023-03-13T22:09:48+00:00) Building a Random Nerd Joke App with Public API’s in Javascript .. Retrieved from https://www.scien.cx/2023/03/13/building-a-random-nerd-joke-app-with-public-apis-in-javascript/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.