Frontend Next.js programming exercise
The goal of this exercise is to demonstrate an understanding of React and Next.js. It is NOT expected to complete all of these tasks.
- Create a page
/dogsthat displays every dog breed in a stylized<Card />- Style the
<Card />to display the dog breed - Display the
<Card />components in a grid (using flexbox or grid) - BONUS: display an image of that dog breed in the card
- Style the
- Create a page
/dogs/[breed]that displays an image of that dynamic dog breed- Display an image of the dog breed using
next/image - Describe the differences between server-side fetching (
getStaticProps,getServerSideProps) and client-side fetching
- Display an image of the dog breed using
- Add a searchbar on the
/dogspage that allows the user to search for a dog breed (case insensitive)
These are some example mockups to represent a potential UI. These are to give a general direction for the app.