-
Notifications
You must be signed in to change notification settings - Fork 218
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
Additional example using Nextjs and Vanillajs #2
base: main
Are you sure you want to change the base?
Conversation
remove possible bad storage check
vanillajs/public/js/musicBox.js
Outdated
setInfo(info) { | ||
const cover = document.getElementById('np-cover'); | ||
cover.setAttribute('src', info.album.images[0].url); | ||
cover.setAttribute('alt', `cover art for ${info.album.name}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the tag @Act0fKindness
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really appreciate being roped in on this project. I have no experience with NextJS, so I didn't review anything there, but from what I saw with the vanilla JS version, the codebase looks clean and functional. I'd love to contribute testing, where necessary.
Nextjs
Vanillajs