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

Create Static Site With Built Components #35

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

Conversation

ASPhillips8
Copy link

Created a Header component that using a prop called name. Created an About component that creates an aside element. Created a ArticleList component that uses map method to return child Article component. Create a Article component that returns article element for props defined in parent component.
Screenshot 2024-06-10 at 3 31 16 PM

Copy link

@stephenmckeon stephenmckeon left a comment

Choose a reason for hiding this comment

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

Awesome job.

import Article from "./Article";

function ArticleList ({posts}) {
console.log(posts)

Choose a reason for hiding this comment

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

Suggested change
console.log(posts)

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