Building a Random Nerd Joke App with Public API’s in Javascript .

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. Her…


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:

Image description


This content originally appeared on DEV Community and was authored by ebuka anthony


Print Share Comment Cite Upload Translate Updates
APA

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/

MLA
" » Building a Random Nerd Joke App with Public API’s in Javascript .." ebuka anthony | Sciencx - Monday March 13, 2023, https://www.scien.cx/2023/03/13/building-a-random-nerd-joke-app-with-public-apis-in-javascript/
HARVARD
ebuka anthony | Sciencx Monday March 13, 2023 » Building a Random Nerd Joke App with Public API’s in Javascript .., viewed ,<https://www.scien.cx/2023/03/13/building-a-random-nerd-joke-app-with-public-apis-in-javascript/>
VANCOUVER
ebuka anthony | Sciencx - » Building a Random Nerd Joke App with Public API’s in Javascript .. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2023/03/13/building-a-random-nerd-joke-app-with-public-apis-in-javascript/
CHICAGO
" » Building a Random Nerd Joke App with Public API’s in Javascript .." ebuka anthony | Sciencx - Accessed . https://www.scien.cx/2023/03/13/building-a-random-nerd-joke-app-with-public-apis-in-javascript/
IEEE
" » Building a Random Nerd Joke App with Public API’s in Javascript .." ebuka anthony | Sciencx [Online]. Available: https://www.scien.cx/2023/03/13/building-a-random-nerd-joke-app-with-public-apis-in-javascript/. [Accessed: ]
rf:citation
» Building a Random Nerd Joke App with Public API’s in Javascript . | ebuka anthony | Sciencx | 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.

You must be logged in to translate posts. Please log in or register.