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
0e77fbf7
Commit
0e77fbf7
authored
Aug 12, 2020
by
Jiwon Yoon
Browse files
a
parent
60d232d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Admin.js
View file @
0e77fbf7
...
...
@@ -16,7 +16,7 @@ function Admin() {
}
function
handleClickQuiz
(
e
)
{
setresult
(
<
AdminQuiz
name
=
{
e
.
target
.
id
}
/>
)
setresult
(
<
AdminQuiz
QuizNum
=
{
e
.
target
.
id
}
/>
)
}
function
handleClickAddQuiz
()
{
...
...
src/AdminQuiz.js
View file @
0e77fbf7
...
...
@@ -79,7 +79,7 @@ function AdminQuiz(props) {
return
(
<
div
className
=
""
id
=
"
Quiz1
"
>
<
h2
className
=
"
p-3 border text-center
"
>
{
String
(
props
.
name
)}
번
문제만들기
<
/h2
>
<
h2
className
=
"
p-3 border text-center
"
>
{
String
(
props
.
QuizNum
)}
번
문제만들기
<
/h2
>
<
div
className
=
"
p-3 borber
"
>
<
div
className
=
"
p-3
"
>
<
span
className
=
"
font-weight-bold mr-2 h3
"
>
1
.
문제
입력하기
<
/span
>
...
...
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