You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open your command line and navigate to your repos directory (if you do not have a repos folder, then you can use mkdir repos to create one)
Use this template repository to start a new project in your repos folder: git clone <repo_name>
cd repo_name to navigate into your new repo directory
Start Visual Studio Code and select 'Open Folder'. Then select repo_name to open the folder in the editor (or just type code . in your terminal inside the repo directory)
Follow the instructions on the README.md file to complete exercises
Open the index.html file to get started
Exercise 1
Let's play around with API calls to Giphy
Open your index.html
Beneath the p tag, but before the img tag, add the following:
Label, input, and button
Feel free to label and style
Open your app.js
Add an event listener to the button that listens for a click event, and does the following:
Selects the img element and assigns it to a variable
Selects the input element, grabs the value from the element and assigns it to a variable