Skip to content

learn-co-students/react-static-components-lab-london-web-060418

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Static Components

Objectives

  • Practice rendering static children components
  • Have some fun with the rendered components in the browser

Instructions

In this lab, we will be rendering a few children components in our top-most component: App. All of our work will be done in src/App.js, the rest of the components/source files shouldn't need any alterations.

Begin with npm installing and examining what we have rendering in the browser with npm start. You should see an error we need to fix!

Once we properly render the other three components: CatComponent, FordQuoteComponent, and MouseComponent in App, we will have the flag of the Bundesrepublik Deutschland. The birthplace of the first fully automatic, programmable, digital computer!

Deliverables

  • One component has not been properly imported in src/App.js. Identify and debug the issue (hint: the stack strace when running npm test should point you in the right direction!)
  • App needs to render three children components:
    1. CatComponent
    2. FordQuoteComponent
    3. MouseComponent
  • Once the tests are passing, make sure to check out the fun animation in the browser!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published