Instructions for building a meme gallery using introductory JavaScript.
Congratulations on completing the LFZ Prep course at LearningFuze! This project will help you apply JavaScript concepts that you learned during your studies.
For this project, you will be building a simple interactive Meme Gallery as demonstrated in the example below.
As you can see, the user can enter a URL to any image and it will be added to the gallery when they click a button.
To begin, you'll need a GitHub repository to commit your code to. Create a new repository on the GitHub website now. There are steps below the following image to help you out.
- Leave the Repository template set to No template.
- Leave the Owner set to your own GitHub username.
- Name your repository
meme-gallery
. - Give it the following description: An interactive HTML, CSS, and JavaScript app.
- Leave the repository set to Public.
- Check the box that says Initialize this repository with a README.
- Click the Create repository button.
Once your GitHub repository has been created, you'll need to clone it to your computer with the git
command.
- Open your Terminal (on Mac) or Git Bash (on Windows).
- Change to your
repos/
directory with the following command:cd ~/repos
- On your repository's GitHub page, find and click the Code button.
- Make sure to change the clone option to SSH and copy the URL that is displayed.
- Back in your Terminal (Mac) or Git Bash (Windows), clone your repository with the
git clone
command. You'll need to paste the URL you copied instead of the example below.
Don't copy-paste the below command, it's just an example. You should use your own SSH URL.git clone [email protected]:my-profile/meme-gallery.git
- Then, change directories to your freshly cloned repository.
cd meme-gallery
- Lastly, open your new
portfolio
directory in your code editor!
This project is broken into three major phases:
- Initial HTML Page and Styling
- Accepting User Input
- Dynamically Rendering Images
Let's get started with setting up our initial HTML page and styling in the first section.