Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time - Nataliya #34

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Time - Nataliya #34

wants to merge 6 commits into from

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