This project displays random Chuck Norris jokes fetched from an external API. The application features a loader animation on initial load and allows users to fetch new jokes by clicking a button.
- Initial loader animation displayed for 3 seconds.
- Fetch and display a random Chuck Norris joke from the API.
- Italicized joke text surrounded by " " characters.
- Button to fetch a new joke.
- Responsive design with centered content.
- HTML
- CSS
- JavaScript
- Fetch API
├── index.html
├── css
│ └── style.css
├── js
│ └── script.js
└── assets
└── chucknorris_logo_coloured_small.png
Make sure you have a modern web browser installed.
- Clone the repository:
git clone https://github.com/semih-turan/Chuck-Norris-API.git
- Navigate to the project directory
cd chuck-norris-jokes
1- Open index.html in your web browser. 2- Wait for the loader to disappear. 3- Enjoy the displayed joke. 4- Click the "Load New Joke" button to fetch and display a new joke.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.