


We now create the handleSubmit() function above the render() function. We can break this task down into smaller parts.įirstly, we set the form's onSubmit to equal the name of our new method, which we will call handleSubmit(). The property on the chosen image in the array is. Now, we need to create a method which displays a meme image which it randomly chooses from our allMemeImgs array when the Gen button is clicked. Displaying a random meme image alongside the Top and Bottom text As state is being correctly set on every keystroke, the text displayed on the image changes each time we type.ġ0. We can now test the app by typing into the text boxes. We also import App from its file "./App", which we will create shortly.
#BE LIKE MEME CREATOR FOR FREE#
We then put the App component at the 'root'. made a positive impact on their teaching Get started for free Bring Book Creator to your school Improving Literacy with Book Creator Supporting Language Learners Supporting Special Education Get Book Creator for your District 100 million books made Combine text, images, drawings, audio, video and AppSmash with your favorite tools. To do this, we import React and ReactDOM and use ReactDOM to render a component called App, which we will create later. Evil X Be Like refers to an image macro trend that uses the catchphrase and phrasal template 'Evil X Be Like.
#BE LIKE MEME CREATOR CODE#
The first thing we need to do is to create the boilerplate code for the app. Creating the boilerplate and rendering an App component Also, this tutorial doesn't use Hooks, but in my upcoming course we'll cover Hooks in depth and get tons of practice using them.ġ. Note: You should already be fairly familiar with some of the fundamental concepts of React, like components, state, props, and lifecycle methods. If you ever get confused, you can also follow these steps in the Scrimba course, starting at this lecture.Īnd then if you like my teaching style and are in the mood for a tougher challenge after you complete this tutorial, please check out my upcoming advanced course on Scrimba. So in this article, I'll give you a step-by-step guide to creating the app. The app works by pulling a random meme image from an API and placing your text over the top of it to create your very own, personalized meme.
#BE LIKE MEME CREATOR GENERATOR#
So it's no coincidence that I picked a meme generator app as the capstone project in my free React course on Scrimba.

We love memes, and it's just as fun to create our own as it is to check out the trending ones all over the web.Memes are great - they're such a fun way of describing ideas and opinions. While Memes Generator + Memes Creator is free to download and use, some of the better features (watermark, all stickers, etc.) are locked behind an in-app purchase.įree with in-app purchases - Download Now (opens in new tab) What are your favorites? And if you prefer to gain the infamy if your meme goes viral, there is the option to add your own watermark, because you know things get reposted on Reddit sometimes without credit to the original creator. You can make your meme stand out with some basic photo editing and distortion effects, add stickers, change font colors and size, and more. With this one, you can choose from millions of meme and even GIF templates, or import your own photos.

Need memes fast and hot with little effort? Then Memes Generator + Meme Creator is just what the doctor ordered.
