Skip to content

Conversation

ChubbyCub
Copy link

React Timeline

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
Explain what purpose a component serves in React?
How does adding dynamic content to a web page in React compare to jQuery?
How did you use props in this project?
Do you have any recommendations on how we could improve this project for the next cohort?

<div className="App">
<header className="App-header">
<h1 className="App-title">Application title</h1>
<h1 className="App-title"> {timelineData.person} timeline </h1>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great use of timelineData on the timeline header!

const individualEvent = props.events.map( (event, i) => {
return (
<p key={i}><TimelineEvent person={event.person} status={event.status} timestamp={event.timeStamp} /></p>
);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great use of map function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants