Skip to content

Conversation

@Faiza1987
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?

Copy link

@AngelaOh AngelaOh left a comment

Choose a reason for hiding this comment

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

Great work on nesting components and passing data through props!

});
return (
<section>
{mappedTimeline}

Choose a reason for hiding this comment

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

I like how your variable names are clear and easy to follow the logic with!

<li>
<p className="event-style">{props.person}</p>
<p className="event-style">{props.status}</p>
<p className="event-style">{props.timeStamp}</p>

Choose a reason for hiding this comment

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

Where are you incorporating the Timestamp.js file?

<main className="App-main">
<ul>

<Timeline eventProps={timelineData.events}/>

Choose a reason for hiding this comment

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

I love how you pass through the data here so you can manipulate it in more nested components.

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