Skip to content
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

Learn quizzes #8094

Merged
merged 58 commits into from
Oct 27, 2022
Merged

Learn quizzes #8094

merged 58 commits into from
Oct 27, 2022

Conversation

corwintines
Copy link
Member

@corwintines corwintines commented Sep 29, 2022

Description

  • Builds out a widget for learning quizzes
  • Adds a questionBank that stores all questions to be utilized.
  • Quizzed can be created using any questions from the questionBank within data/learnQuzzes/index.ts
  • Widget component can be placed on any page. If not provided a quiz key as a prop, it will attempt to use the path location to find the appropriate quiz. Best practice is to include the quiz key that is declared in the data/learnQuizzes/index.ts file.
  • Optional prop for maxQuestions can be passed to limit the size of a quiz as more questions are added with time.

Preview links

Related issue

Note this does not yet include the quizzed prepared to address Gas (#7559) page.

@github-actions github-actions bot added content 🖋️ This involves copy additions or edits review needed 👀 labels Sep 29, 2022
@gatsby-cloud
Copy link

gatsby-cloud bot commented Sep 29, 2022

✅ ethereum-org-website-dev deploy preview ready

)
})}
</Center>
<Center>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<Center>
<Center maxW={'29.75rem'} m='auto'>

This brings it in line with figma style

@konopkja
Copy link
Contributor

Screenshot 2022-10-26 at 20 18 48

@konopkja @jmcook1186 thoughts on the button copy here?

'Take quiz again' seems like unusual phrasing to me. What about just 'Try again'?

try again is better

Copy link
Member

@pettinarip pettinarip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job @wackerow @corwintines! approoobig

import { getLocaleForNumberFormat } from "./translations"
import type { Lang } from "./languages"

export const numberToPercent = (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shipppppp it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content 🖋️ This involves copy additions or edits
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants