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

xings music libary #95

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

xings music libary #95

wants to merge 9 commits into from

Conversation

xingyin2024
Copy link

Netlify link

https://xingsmusiclibary.netlify.app/

Collaborators

My friend ChatGPT

@JennieDalgren JennieDalgren self-assigned this Oct 17, 2024
Copy link

@JennieDalgren JennieDalgren 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 with this project!

You have used components in a really good way, really practising passing props.
Good job with the strcutre of your files, and in the css as well.
When the projects grow, one idea is to split up the css to specific components as well. But more on that later!

Keep up the good work.

Comment on lines +29 to +49
Album.propTypes = {
album: PropTypes.shape({
name: PropTypes.string.isRequired,
images: PropTypes.arrayOf(
PropTypes.shape({
url: PropTypes.string.isRequired,
})
).isRequired,
external_urls: PropTypes.shape({
spotify: PropTypes.string.isRequired,
}).isRequired,
artists: PropTypes.arrayOf(
PropTypes.shape({
name: PropTypes.string.isRequired,
external_urls: PropTypes.shape({
spotify: PropTypes.string.isRequired,
}).isRequired,
})
).isRequired,
}).isRequired,
};

Choose a reason for hiding this comment

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

Do you understand this part? We have not gone through it. It's important that you understand the code, even though you've gotten help from your collaborator. :)

Comment on lines +14 to +16
AlbumList.propTypes = {
albums: PropTypes.arrayOf(PropTypes.object).isRequired,
};

Choose a reason for hiding this comment

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

Again, prop types is nice to understand. But we haven't really gone thru it yet.

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