Skip to content

Conversation

@npogodina
Copy link

Assignment Submission: Timeline

Congratulations! You're submitting your assignment. Please reflect on the assignment with these questions.

Reflection

Prompt Response
What is a Component in React? In React, Components are bundles of HTML, CSS and JavaScript code which identify one particular block of an application. It is a function or a class which knows how to render pieces of the user interface (HTML and CSS) and assign them behavior (event handling).
What are props in React? Props is a way to pass data from parent (wrapping) components to child (embedded) components. Short for properties.
How did you use props in this project? Data from a JSON document was imported to App.js and then passed as a prop to Timeline component. There it was split into pieces - individual props - which got passed into TimelineEvent component.

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.

1 participant