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
c1376bc4
Commit
c1376bc4
authored
Aug 12, 2020
by
Jiwon Yoon
Browse files
q
parent
96ab4893
Changes
2
Show whitespace changes
Inline
Side-by-side
src/Admin.js
View file @
c1376bc4
...
...
@@ -9,11 +9,6 @@ let QuizBtn = []
function
Admin
()
{
let
QnAadmins
=
[]
let
QnAadmin
=
{}
let
Setadmins
=
[]
let
Setadmin
=
{}
const
[
result
,
setresult
]
=
useState
(
''
)
// const [addQuiz, setaddQuiz] = useState('')
...
...
src/AdminQuiz.js
View file @
c1376bc4
...
...
@@ -29,7 +29,7 @@ function AdminQuiz() {
<
input
type
=
"
radio
"
id
=
{
selectOption
+
1
}
name
=
"
answer
"
/>
<
/div
>
<
/div
>
<
input
type
=
"
text
"
class
=
"
form-control
"
placeholder
=
"
보기를 입력하세요
"
onChange
=
{
handleChangeChoose
}
/
>
<
input
type
=
"
text
"
class
Name
=
"
form-control
"
placeholder
=
"
보기를 입력하세요
"
onChange
=
{
handleChangeChoose
}
/
>
<
/div
>
)
setselectOption
(
selectOption
+
1
)
...
...
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