-
-
Notifications
You must be signed in to change notification settings - Fork 96
ITP-JAN-LONDON|FOROGH AGHAEIYARIJANI|MODULE-DATA-GROUP|SPRINT3|SLIDESHOW APP|Image carousel #476
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
base: main
Are you sure you want to change the base?
ITP-JAN-LONDON|FOROGH AGHAEIYARIJANI|MODULE-DATA-GROUP|SPRINT3|SLIDESHOW APP|Image carousel #476
Conversation
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.
-
Code is working great.
-
Not all the requirements specified in "Level 1 Challenge" in
readm.md
are met. (Can you find out what you missed and update your code accordingly?) -
Consider setting fixed dimensions for the displayed image to prevent the buttons from shifting positions due to changes in image size.
-
After you have made the necessary changes, you can mark this as "Complete".
autoBackwardBtn.textContent = "Auto Backward"; | ||
stopBtn.textContent = "Stop"; | ||
|
||
autoForwardBtn.id = "auto-forward"; | ||
autoBackwardBtn.id = "auto-backward"; | ||
stopBtn.id = "stop"; | ||
|
||
document.body.appendChild(autoForwardBtn); | ||
document.body.appendChild(autoBackwardBtn); | ||
document.body.appendChild(stopBtn); |
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.
Why not just add these as HTML elements in index.html
?
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.
I did it.
Learners, PR Template
Self checklist
Changelist
Briefly explain your PR.
Questions
Ask any questions you have for your reviewer.