Skip to content

zookatt/zookatt-S4.-API

Repository files navigation

Joke Voting Web App

Description

This is a simple web application that displays jokes fetched from two different APIs. Users can vote on the jokes using emoji buttons and view the current weather. The project is built using HTML, TypeScript, and utilizes Bootstrap for styling.

Features

  • Fetch jokes from two different APIs: icanhazdadjoke and Chuck Norris jokes.
  • Allow users to vote on jokes using emoji buttons.
  • Display the current weather based on geographical coordinates.

Technologies Used

  • HTML
  • TypeScript
  • Bootstrap 5.3.2

Setup

  1. Clone the repository to your local machine.

    bashCopy code

    git clone https://github.com/your-username/joke-voting-web-app.git

  2. Open the project in your preferred code editor.

  3. Open the index.html file in a web browser to view the application.

Usage

  • Click the "Siguiente chiste" button to fetch a new joke alternately from the two APIs.
  • Vote on jokes using the provided emoji buttons.
  • View the current weather displayed at the top of the page.

Development

To contribute or modify the code:

  1. Install dependencies.

    bashCopy code

    # No additional dependencies are required for this project.

  2. Make changes to the TypeScript files (index.ts) or update the styles in the main.css file.

  3. Test the changes in a web browser.

  4. Commit and push your changes.

Credits

About

zookatt/S4.-API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published