GarrettAnderson / assignments

1 stars 0 forks source link

Week 04 - Day 1 - React-ified Octocats #12

Closed mdewey closed 5 years ago

mdewey commented 5 years ago

React-ified Octocats

Your Octodex is amazing. It has revolutionized the Github Octodex experience and more people are viewing Octocats on their mobile devices than ever.

However, the code is repetitive and isn't yet setup to work with an API.

Your task now is to refactor the static Octodex into a static (non-API) version in React.

You'll identify the main Components on the page and create React components for each, breaking down those Components into smaller ones as needed.

Objectives

Stretch Objectives

Explorer Mode

Adventure Mode

Epic Mode

Additional Resources

GarrettAnderson commented 5 years ago

https://github.com/GarrettAnderson/reactified-octodex

Got most of the requirements for explorer mode but got mixed up when trying to apply props to the octocat figures. I was trying to jump ahead and create an object of cats instead of starting smaller and more explicit when first playing with props. Tried to do the map function before the props which tripped me up. However, today, I went back and applied what we learned from class and was able to get props working and seems like the map function works, too. Still having issues getting the images to populate which I'd like to better understand.

mdewey commented 5 years ago

Your homework was marked: Meets Expectations

Well done!

“Well done!” — via Gavin Stark