Skip to content

AshM10/react-mock-interview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Mock Interview Practice

This is a repository I made for watching a React Mock Interview via Youtube. I watched it first then tried to solve the problem on my own. The website is not responsive.

Table of Contents

Challenge

Screen Shot 2022-10-11 at 1 22 19 PM

  • Create 6 cute kitten cards from the data provided
  • Year of age should be correct
  • Create cards using grid

Screenshot

Screen Shot 2022-10-11 at 3 00 39 PM

Link

What I learned

  • It's always good to practice and voice out your thought patterns while coding
  • Never be afraid to ask questions when you get stuck
  • Use good HTML semantics
  • Application of slice method on a real project:
const MAX_CATS = 6;
const App = () => {
  return (
    <section className="App">
      {CATS.slice(0, MAX_CATS).map((cat) => {
        return <Card {...cat} />;
      })}
    </section>
  );
};

Further Development

  • You can make the website responsive by collapsing the grid
  • More UX/UI design
  • Use API for more or real live data

Resources

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •