Skip to content

Conversation

@piffer59
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

@msfinnan msfinnan left a comment

Choose a reason for hiding this comment

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

Great job, Heather. Your code is clear, clean and easy to read. Nice job reading the JSON data.

<main className="App-main">

<Timeline events={timelineData["events"]} />

Choose a reason for hiding this comment

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

Great job reading the data from the JSON file!

return;
const Timeline = (props) => {

const events = props.events.map((event, i) => {

Choose a reason for hiding this comment

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

Good 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