Giter Site home page Giter Site logo

semih-turan / chuck-norris-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 115 KB

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.

Home Page: https://chuck-norris-io-api.netlify.app/

License: MIT License

CSS 59.29% HTML 19.05% JavaScript 21.66%
chuck-norris-api chuck-norris-jokes

chuck-norris-api's Introduction

Chuck Norris Jokes

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.

Features

  • 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.

๐Ÿš€ Live Demo

Pro Task Manager Screenshot
Live Demo

Technologies Used

  • HTML
  • CSS
  • JavaScript
  • Fetch API

Project Structure

โ”œโ”€โ”€ index.html
โ”œโ”€โ”€ css
โ”‚ โ””โ”€โ”€ style.css
โ”œโ”€โ”€ js
โ”‚ โ””โ”€โ”€ script.js
โ””โ”€โ”€ assets
โ””โ”€โ”€ chucknorris_logo_coloured_small.png

Getting Started

Prerequisites

Make sure you have a modern web browser installed.

Installation

  1. Clone the repository:
git clone https://github.com/semih-turan/Chuck-Norris-API.git
  1. Navigate to the project directory
cd chuck-norris-jokes

Usage

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.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.