To help show off my coding abilities, I built a simple pokedex using a pokeAPI which allows users to access information about the pokemon universe. This is a RESTful API using React Js
- GET /pokemon
- This should serve all the pokemon in a JSON arrray.
- GET /pokemon/3
- This should serve only the pokemon matching this ID. e.g.
Coding examples to clean professional code every student needs. The tips are also demonstrated and noted thru out the actual code as well!
-
Pseudo code to help keep track of the code you've written and how it was implemented; this helps future you read something long forgotten.
-
Add comments to console.logs to easily spot your log!
-
Console.log every func and the data you're attempting to pull before moving on.
-
Always comment out or erase console.logs once it has fufilled it's purpose
-
Vs code has the extension "prettier"; makes for an ease when your code is a little out of line and un-readable. Left click, format document, and your code instantly is easier for you and every one else to read. While learning to write and read code; messy work will be your worst enemy, especially in languages like python! Never leave code that serves no purpose ex: a function you didnt realized you didnt need and just commented it out.
-
Working thru Github is a skill of its own and commits are very important. When working on projects big or small, commit early, commit often.
