Build a slideshow app
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 半天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- frontend
调研方向
先从 issue 中链接的 Sprint-3/slideshow 课程作业开始,并在创建 app 入口点之前阅读其规范。构建图像轮播,以满足首张图像、导航、循环以及至少四张图像的要求;将定时控件视为扩展功能。在浏览器中手动验证每项验收标准。
由索引模型根据 Issue 内容生成。
描述
Link to the coursework
https://github.com/CodeYourFuture/Module-Data-Groups/tree/main/Sprint-3/slideshow
Learning Objectives
- Develop a web app according to a specification
- Combine concepts covered in previous exercises
Why are we doing this?
These challenges are designed to develop your problem-solving skills.
In this exercise you will build an app which shows one image at a time from a collection. It must meet the criteria below:
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)
Maximum time in hours
4
How to get help
General advice on asking for help can be found on the curriculum pages.
You can always share your blockers in your class channel and get help from your colleagues.
How to submit
- Fork the coursework repo to your Github account.
- Make a branch for this project.
- Make regular small commits in this branch with clear messages.
- When you are ready, open a PR to the CYF repo, following the instructions in the PR template.
There are several projects in this repo. Make a new branch based on main for each project.
- 主要语言
- JavaScript
- 星标
- 1
- 派生
- 327
- 平均合并
- 3 天 7 小时
- 30 天内合并 PR
- 3
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CodeYourFuture/Module-Data-Groups 的其他 Issue
-
🏕 Priority Mandatory 🐇 Size Small 📅 Sprint 1 Core Module-Data-Groups Submit:None 🦔 Size Tiny
难度 1/5 1 小时以内 新手友好度 65/100
-
📅 Sprint 1 NotCoursework
CodeYourFuture/Module-Data-Groups#1443 · 已指派 1 人 ·
-
🏝️ Priority Stretch 🐇 Size Small 📅 Sprint 2 Module-Data-Groups Optional Submit:Issue
难度 1/5 1 小时以内 新手友好度 58/100
-
🏕 Priority Mandatory 🐂 Size Medium 📅 Sprint 2 Core Module-Data-Groups Submit:Issue
难度 1/5 1-3 小时 新手友好度 58/100
-
🏝️ Priority Stretch 🐂 Size Medium 📅 Sprint 3 Module-Data-Groups Optional Submit:None
难度 1/5 1 小时以内 新手友好度 35/100
查看 CodeYourFuture/Module-Data-Groups 的全部 Issue
相似的 Issue
-
bot:ai-assisted component:compact-js status:untriaged
难度 2/5 1-3 小时 新手友好度 84/100
midnightntwrk/midnight-sdk#403 ·
-
难度 1/5 1 小时以内 新手友好度 92/100
-
难度 1/5 1-3 小时 新手友好度 86/100
DavidAnson/markdownlint-cli2#940 ·
-
documentation
难度 2/5 1-3 小时 新手友好度 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
难度 2/5 1-3 小时 新手友好度 90/100