This project is a simple React meme generator application that allows users to create custom memes by adding top and bottom text to random images. It demonstrates the use of React's key features like useState
, useEffect
, and asynchronous operations with Promises.
This project is based on the concepts taught in the Scrimba course Scrimba Learn React, where I learned about building interactive user interfaces with React.
- Create memes by adding custom text to random images.
- Utilizes the
useState
hook to manage meme data. - Fetches a list of memes using the Imgflip API through asynchronous operations.
- Demonstrates the usage of the
useEffect
hook for data fetching on component mount. - Interactively updates meme text with the
onChange
event handler.
- Clone this repository to your local machine.
- Navigate to the project directory using the terminal.
- Run
npm install
to install the project dependencies. - Start the development server with
npm start
. - Navigate through the link
- Open the application in your browser.
- In the input fields, enter the desired top and bottom text for your meme.
- Click the "Get a new meme image 👾" button to generate a random meme image with the provided text.
- Repeat step 2 and 3 to create different meme variations.
This project is intentionally minimal in terms of styling. It serves as a demonstration of key React concepts and functionality without focusing on visual design.
- Scrimba - For providing an excellent course on React that inspired this project.
- Imgflip API - For providing access to random meme images.
This project is licensed under the MIT License.