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
923219b0
Commit
923219b0
authored
Aug 17, 2020
by
Jiwon Yoon
Browse files
ㅁ
parent
9cd9d519
Changes
1
Show whitespace changes
Inline
Side-by-side
src/AdminQuiz.js
View file @
923219b0
...
@@ -11,6 +11,7 @@ function AdminQuiz(props) {
...
@@ -11,6 +11,7 @@ function AdminQuiz(props) {
const
[
answer
,
setAnswer
]
=
useState
(
''
)
const
[
answer
,
setAnswer
]
=
useState
(
''
)
const
[
selectOption
,
setselectOption
]
=
useState
(
1
)
const
[
selectOption
,
setselectOption
]
=
useState
(
1
)
const
handleChangeQuestion
=
(
event
)
=>
{
const
handleChangeQuestion
=
(
event
)
=>
{
QnAadmin
[
'
Q
'
]
=
event
.
target
.
value
QnAadmin
[
'
Q
'
]
=
event
.
target
.
value
setQuestion
(
event
.
target
.
value
)
setQuestion
(
event
.
target
.
value
)
...
@@ -61,8 +62,6 @@ function AdminQuiz(props) {
...
@@ -61,8 +62,6 @@ function AdminQuiz(props) {
}
}
return
(
return
(
<
div
className
=
""
id
=
"
Quiz1
"
>
<
div
className
=
""
id
=
"
Quiz1
"
>
<
h2
className
=
"
p-3 border text-center bg-white
"
>
{
String
(
props
.
quizNum
)}
번
문제만들기
<
/h2
>
<
h2
className
=
"
p-3 border text-center bg-white
"
>
{
String
(
props
.
quizNum
)}
번
문제만들기
<
/h2
>
...
...
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