Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VSCode Schulung
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Schwertgen
VSCode Schulung
Commits
df4f5474
Commit
df4f5474
authored
2 months ago
by
Subliminal Guy
Browse files
Options
Downloads
Patches
Plain Diff
Change Data Helper Files
parent
14b5011a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+2
-1
2 additions, 1 deletion
.gitignore
helper/data.js
+6
-0
6 additions, 0 deletions
helper/data.js
helper/quizData.js
+34
-0
34 additions, 0 deletions
helper/quizData.js
with
42 additions
and
1 deletion
.gitignore
+
2
−
1
View file @
df4f5474
/node_modules
package-lock.json
\ No newline at end of file
package-lock.json
/.vscode
\ No newline at end of file
This diff is collapsed.
Click to expand it.
helper/data.js
+
6
−
0
View file @
df4f5474
...
...
@@ -4,6 +4,12 @@ const data = [
"
name
"
:
"
Leanne Graham
"
,
"
username
"
:
"
Bret
"
,
"
email
"
:
"
Q7Z2H@example.com
"
,
},
{
"
id
"
:
2
,
"
name
"
:
"
Ervin Howell
"
,
"
username
"
:
"
Antonette
"
,
"
email
"
:
"
Ht2QX@example.com
"
,
}
]
...
...
This diff is collapsed.
Click to expand it.
helper/quizData.js
0 → 100644
+
34
−
0
View file @
df4f5474
const
questions
=
[
{
category
:
"
Geography
"
,
question
:
"
What is the capital of France?
"
,
choices
:
[
"
London
"
,
"
Paris
"
,
"
Berlin
"
,
"
Rome
"
],
answer
:
"
Paris
"
},
{
category
:
"
Movies
"
,
question
:
"
What is the name of the main character in The Matrix?
"
,
choices
:
[
"
Neo
"
,
"
Trinity
"
,
"
Morpheus
"
,
"
Cypher
"
],
answer
:
"
Neo
"
},
{
category
:
"
History
"
,
question
:
"
Who was the first president of the United States?
"
,
choices
:
[
"
John Adams
"
,
"
Thomas Jefferson
"
,
"
George Washington
"
,
"
Abraham Lincoln
"
],
answer
:
"
George Washington
"
},
{
category
:
"
Sports
"
,
question
:
"
Which team won the World Cup in 2018?
"
,
choices
:
[
"
France
"
,
"
Brazil
"
,
"
Germany
"
,
"
Italy
"
],
answer
:
"
France
"
}
,
{
category
:
"
Science
"
,
question
:
"
What is the chemical symbol for gold?
"
,
choices
:
[
"
Au
"
,
"
Ag
"
,
"
Pt
"
,
"
Cu
"
],
answer
:
"
Au
"
}
]
export
default
questions
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment