Skip to content

Utilizes the XKCD API to fetch and display comics in a user-friendly interface, allowing you to easily browse, search, and enjoy your favorite XKCD strips.

Notifications You must be signed in to change notification settings

colechang/xkcdComics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XKCD Comic Viewer Web App

XKCD Logo

This is a simple web application that allows users to view and explore XKCD comics using the XKCD API. XKCD is a popular webcomic created by Randall Munroe, known for its humor, wit, and insightful commentary on a wide range of topics.

Features

  • View the latest XKCD comic on the homepage.
  • Navigate through comics using previous and next buttons.
  • Search for comics by comic number.
  • Randomly explore XKCD comics using the "Random Comic" button.
  • Enjoy alt text for each comic, providing additional context and humor.

Technologies Used

Getting Started

To run this web app locally, follow these steps:

  1. Clone this repository to your local machine:
git clone https://github.com/yourusername/xkcd-comic-viewer.git
  1. Open the index.html file in your preferred web browser.

Usage

  • When you open the web app, the latest XKCD comic will be displayed on the homepage.
  • To navigate to the previous or next comic, use the respective buttons below the comic.
  • You can enter a specific comic number and click the "Go" button to view that comic.
  • Click the "Random Comic" button to explore a random XKCD comic.
  • Hover over the comic to view its alt text for additional humor and context.

Acknowledgments

  • XKCD comics are created by Randall Munroe and are available at https://xkcd.com/.
  • This web app is a project created for educational purposes and is not affiliated with XKCD or Randall Munroe.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Utilizes the XKCD API to fetch and display comics in a user-friendly interface, allowing you to easily browse, search, and enjoy your favorite XKCD strips.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published