Skip to content

hellomlorg/Online-Meme-Generator

Repository files navigation

Online-Meme-Generator

This project is on an online meme generator which generates random meme templates or image as a background for the texts that the users enter.


image

Description

This is a React app which generates random meme images on top which the user can write text to express their creativity through a meme image.


Technologies Used

  1. HTML
  2. CSS
  3. JavaScript
  4. React.js

Installation

Some of the code is written in JSX, for which React.js library must be installed.

If you have NPM and Node.js installed, you can create a React application by first installing the create-react-app.

Install create-react-app by running this command in your terminal:

npm install -g create-react-app

How To Use

  1. To create a React app named 'onlinememegenerator', run this command:
npx create-react-app onlinememegenrator
  1. Add the files to this app folder.

  2. To run the React app, run this command:

cd myfirstreact
npm start
  1. First, the user can generate a random meme template or backgorund, by clicking on 'Generate' button. Every time the button is clicked, a different image appears.

  1. After selecting an image, the user can type in the texts which then appears on the top and bottom of the meme backgorund.


Credits

This project was entirely inspired from the 'React Meme Generator Capstone Project' in 'Learn React for free' course by Bob Ziroll on Scrimba. The link for the course: https://scrimba.com/learn/learnreact