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

feat: add JS Quiz #62

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

feat: add JS Quiz #62

wants to merge 4 commits into from

Conversation

dzienisz
Copy link
Collaborator

@dzienisz dzienisz commented Nov 13, 2024

Screenshot 2024-11-13 at 19 12 35 Screenshot 2024-11-13 at 19 12 31

Copy link

vercel bot commented Nov 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
meetjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 13, 2024 11:41pm

{
question: 'What is the purpose of the "use strict" directive in JavaScript?',
options: [
'To enforce stricter parsing and error handling',
Copy link
Owner

Choose a reason for hiding this comment

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

I don't think there's a correct answer that would fit on one screen.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ok, we can change that

{
question: 'What is a closure in JavaScript?',
options: [
'A function that has access to variables in its outer scope',
Copy link
Owner

Choose a reason for hiding this comment

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

A function that creates a lexical scope to contain variables.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

thanks

dzienisz and others added 3 commits November 14, 2024 00:39
Co-authored-by: Zbyszek Tenerowicz <[email protected]>
Co-authored-by: Zbyszek Tenerowicz <[email protected]>
Co-authored-by: Zbyszek Tenerowicz <[email protected]>
@Eghizio
Copy link
Collaborator

Eghizio commented Mar 2, 2025

Maybe we could expose the questions via the API?
Some newbies could use it to create pet projects 😉 Or used for some workshops 🎉

And create some way for the users to add questions & answers.
Also categorising them would be neat (based on tech & difficulty) and flagging if some mistakes are spotted (or just guide people to GitHub issues).

We could be trying to accomplish something like this:

@dzienisz
Copy link
Collaborator Author

dzienisz commented Mar 3, 2025

Sure good idea!

Do you want to do this?

I think exposing API is too much. I thought it would be a fun quick game if you know JS.

@Eghizio
Copy link
Collaborator

Eghizio commented Mar 3, 2025

@dzienisz yeah I can do it. I might have some time next week.

API is public by default so we would just move JSON/objects to the backend part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants