Link to the coursework
https://github.com/HackYourFutureBelgium/Module-Data-Groups/tree/main/Sprint-3/slideshow
Why are we doing this?
These challenges are designed to develop your problem-solving skills.
Acceptance criteria
Advanced stretch functionality
How to submit
- Fork the repo to your Github account.
- Make a branch
feature/slideshow for this project.
- Make regular small commits in this branch with clear messages.
- When you are ready, open a PR to the HYF repo, following the instructions in the PR template.
Link to the coursework
https://github.com/HackYourFutureBelgium/Module-Data-Groups/tree/main/Sprint-3/slideshow
Why are we doing this?
These challenges are designed to develop your problem-solving skills.
Acceptance criteria
Given a web page with a carousel of images
When the page loads
Then the first image in the carousel should be displayed
Given forward and back buttons
When the forward button is clicked
Then the next image in the carousel should be displayed
And
When the back button is clicked
Then the previous image in the carousel should be displayed
Given at least 4 images in the carousel
When the user reaches the end of the carousel in either direction
Then the carousel should loop back to the first/last image
Advanced stretch functionality
Given auto-forward and auto-back buttons
When the auto-forward button is clicked
Then the images should automatically advance every 5 seconds
When the auto-back button is clicked
Then the images should automatically go back every 5 seconds
Given the carousel is auto-advancing (in either direction)
When the stop button is clicked
Then the auto-advance/go back should stop
Given the carousel is auto-advancing (in either direction)
When the forward button is clicked
Then the auto-advance should stop
And the next image should show
(next = stop + forward)
Given the carousel is auto-advancing (in either direction)
When the back button is clicked
Then the auto-advance should stop
And the previous image should show
(back = stop + back)
How to submit
feature/slideshowfor this project.