Basic knowledge
- Create a comment component with
name
,email
,country
,age
props and integrate it to Post component - Create a list of comments by post and show it in each post.
- Add a button to show/hide the comments component.
- If there's not comments in a post, show the message "This post has not comments".
- Create a component with a form with 4 input fields:
name
,email
,country
,age
(validate input types). - Render the comments form (the component created in the step 5) below the comments component in each Post.
- Use an stylesheet and apply the styles that you consider for each component.
try to...
- Use the React Toolbox Card component for each post.