Star 0. Branches Tags. Could not load branches. Could not load tags. Latest commit. Git stats 14 commits. Failed to load latest commit information. View code. Save it to a variable called topics. We chose animals for our theme, but you can make a list to your own liking. It will then provide some information about the Pokemon you have clicked:.
There is also an input field that allows the user to input Pokemon he or she wants to see. As mentioned before, this is a site for viewing Pokemon, so it will first check to see if what has been entered is, in fact, a Pokemon. If it is, a new button will be created in the color of the primary type of that Pokemon, which will have all the functionality of the pre-existing buttons. Colors and formatting inspired by the Pokemon Ruby Summary Screen. Skip to content. Star 1. Branches Tags. When the user clicks on a button, a page loads 10 gif stills not animated on the page.
When the user clicks on the image, it plays the gif animation. When the user clicks on the same image again, the animation stops and reverts to the still image.
Each gif should display a rating PG, G, etc. A text box on the side of the page is filled with the topic when a button is clicked. The user can add their own topic to display 10 gifs after they click the submit button. The value is also added to the topics array and added as a new button. Bonus Goals Allow users to request an addition 10 gifs to be added to the page.
0コメント