Skip to content

hilaryhacksel/cohort3-react-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

cohort3-react-1

First React Assignment

  1. Make a React Application using create-react-app
  2. Using this Array:
[
{
  "first": "Heath",
  "last": "Richmond",
  "age": 27,
  "isBestFriend": true
},
{
  "first": "Cox",
  "last": "Estrada",
  "age": 27,
  "isBestFriend": true
},
{
  "first": "Norma",
  "last": "Mccoy",
  "age": 35,
  "isBestFriend": false
},
{
  "first": "Wallace",
  "last": "Montoya",
  "age": 27,
  "isBestFriend": false
},
{
  "first": "Concepcion",
  "last": "Mccarthy",
  "age": 22,
  "isBestFriend": true
},
{
  "first": "Albert",
  "last": "Wade",
  "age": 25,
  "isBestFriend": true
},
{
  "first": "Sykes",
  "last": "Gonzalez",
  "age": 29,
  "isBestFriend": false
},
{
  "first": "Alisa",
  "last": "Ryan",
  "age": 30,
  "isBestFriend": true
},
{
  "first": "Holmes",
  "last": "Bright",
  "age": 28,
  "isBestFriend": false
},
{
  "first": "Estrada",
  "last": "Pittman",
  "age": 25,
  "isBestFriend": false
}
]

Set a value in your component to friendList = above_data

  1. Make a list showing all your friends names
  2. Make a list only showing your best friends right next to it
  3. Show the average age of your best friends in a final section

About

First React Assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published