Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
online-quiz-react
Commits
346060e8
Commit
346060e8
authored
Jul 29, 2020
by
JeongYeonwoo
Browse files
다시
parent
a9cf33de
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Quiz.js
View file @
346060e8
...
...
@@ -47,8 +47,8 @@ function Quiz() {
<
div
>
<
form
onSubmit
=
{
handleChange
}
>
{
question
.
Choose
.
map
(
(
a
,
index
)
=>
<
div
>
<
input
key
=
{
index
}
type
=
"
radio
"
name
=
'
answer
'
id
=
{
'
anwer
'
+
a
}
value
=
{
a
}
onClick
=
{
handleChange
}
/
>
<
div
key
=
{
index
}
>
<
input
type
=
"
radio
"
name
=
'
answer
'
id
=
{
'
anwer
'
+
a
}
value
=
{
a
}
onClick
=
{
handleChange
}
/
>
<
label
htmlFor
=
{
a
}
>
{
a
}
<
/label
>
<
/div
>
)}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment