This is a pokemon selection and battle site that uses pokeApi, Javascript, CSS, local storage and HTML.
No installation required. You can access the application by clicking on the following link: Pokemon Online
To use the application, click on the link provided in the installation section. Once the application is open, click on the "Generate Password" button. You will be prompted to enter the length of the password you would like to generate. You will then be prompted to select the criteria for the password. You can choose to include lowercase letters, uppercase letters, numbers, and special characters. Once you have selected the criteria, the password will be generated and displayed on the screen.
The deployed application can be accessed by clicking on the following link: Pokemon Online
MIT License
Mainpage: We start with the head, and then the links that we are using for everything, from fonts to CSS. At the top of the page, we added links to the Battle and Pokemon selection pages (the pokeball).
Then there's the title in the header, along with links in the navigation bar, as well as the audio in an autoplay loop. We also added the links to the API links that we used for this project as "resources and credits."
At the footer of the page is a link to our Github page, and a link to change to the Pokemon selection page, as well as sourcing the JS page for this.
Pokemon Selection Page: We start with the title in the header, and that's followed by having the "pokemon-list" and "pok-img" to get the Pokemon pictures from the API (in the JS). Then the list of hard-coded spots for allowing the Pokemon to appear on the page are below.
Every spot for the Pokemon is also hard-coded with an element for the
HTML BattlePage: With a font and CSS style, as well as the autoplay loop audio track. For the Pokemon
Under "windows," there are window texts to establish fonts, then the "button," which are as follows under "window menu:" "window fight" 4 buttons; "window item" potion (hit points) or cancel, "PKMN" to select other Pokemon, and "Run" to display a message.
Underneath those, there is also a button to "Return" to the homepage. In addition, there are sources for the jQuery, audio volume level control, and the JS.
JS PokemonSprite: We sourced from 2 API sources: https://pokeapi.co/api/v2/characteristic/ and https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork.png.
We then first fetch and return the blob from array and sprites.
Next, we fetch the elements for the Pokemon, including name, image, and description, all of which has to be indexed (some hard-coded into the HTML page instead), to align in sequential order.
In addition, there are if statements when there are errors that occur when aligning and/or selecting the Pokemon.
