Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Build a quote generator app

未关闭
#20 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
65/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
停滞
技术栈
javascript
领域
frontend, web-dev

调研方向

从 Sprint-3/quote-generator 中链接的课程作业开始,在选择入口文件之前先阅读其规范。使用 quotes array 构建引文显示和 New Quote 交互,然后在浏览器中验证初始引文和作者会显示,并且重复点击会显示不同的引文和作者。

由索引模型根据 Issue 内容生成。

描述

🏕 Priority Mandatory 🐂 Size Medium 📅 Sprint 3 Core Module-Data-Groups Submit:PR
Link to the coursework

https://github.com/CodeYourFuture/Module-Data-Groups/tree/main/Sprint-3/quote-generator

Learning Objectives
  • Develop a web app according to a specification
  • Practice manipulating data in JavaScript
Why are we doing this?

These challenges are designed to develop your problem-solving skills.

In this exercise you will build an app which displays famous quotes. It must meet the following criteria:

Acceptance criteria
  • Given a user visits the quote generator web page
    When the page loads
    Then a random quote from the quotes array should be displayed on the screen
    And the name of the person who said the quote should be displayed

  • Given a user is viewing a random quote on the quote generator page
    When the user clicks the 'New Quote' button
    Then a new random quote from the quotes array should be displayed on the screen
    And the name of the new quote's author should be displayed

  • Given a user is viewing a quote on the quote generator page
    When the user clicks the 'New Quote' button multiple times
    Then a different random quote from the quotes array should be displayed each time
    And the name of the new quote's author should be displayed each time

Maximum time in hours

3

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
  1. Fork the coursework repo to your Github account.
  2. Make a branch for this project.
  3. Make regular small commits in this branch with clear messages.
  4. 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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CodeYourFuture/Module-Data-Groups 的其他 Issue

查看 CodeYourFuture/Module-Data-Groups 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。