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
20a8adf8
Commit
20a8adf8
authored
Aug 03, 2020
by
김민수
Browse files
No commit message
No commit message
parent
a1909827
Changes
3
Show whitespace changes
Inline
Side-by-side
src/Home.js
View file @
20a8adf8
...
...
@@ -6,15 +6,14 @@ import bg from './background_ex1.jpg'
function
Home
()
{
return
(
<>
<
div
style
=
{{
backgroundImage
:
'
url(
'
+
bg
+
'
)
'
,
backgroundColor
:
"
grey
"
,
backgroundSize
:
"
100%
"
}}
>
<
div
style
=
{{
backgroundImage
:
'
url(
'
+
bg
+
'
)
'
,
backgroundSize
:
"
100%
"
}}
>
<
div
className
=
"
Main
"
><
/div
>
<
div
className
=
"
Box
"
>
<
div
className
=
"
Name
"
style
=
{{
color
:
"
white
"
,
fontSize
:
'
30px
'
}}
>
<
div
className
=
"
Box
"
style
=
{{}}
>
<
div
className
=
"
Name
"
style
=
{{
color
:
"
black
"
,
fontSize
:
'
30px
'
}}
>
이름을
입력하세요
<
input
style
=
{{
blockSize
:
'
4
0px
'
,
marginLeft
:
'
30px
'
}}
onChange
=
{(
event
)
=>
sessionStorage
.
setItem
(
'
name
'
,
event
.
target
.
value
)}
/
>
<
input
style
=
{{
blockSize
:
'
3
0px
'
,
marginLeft
:
'
30px
'
}}
onChange
=
{(
event
)
=>
sessionStorage
.
setItem
(
'
name
'
,
event
.
target
.
value
)}
/
>
<
/div
>
{
/* sessionStorage를 사용해야는지 localstorage를 사용해야하는지 */
}
<
/div
>
...
...
@@ -25,7 +24,6 @@ function Home() {
<
/div
>
<
/div
>
<
/
>
)
}
function
checking
(
event
)
{
...
...
src/Quiz.css
View file @
20a8adf8
...
...
@@ -7,7 +7,7 @@
height
:
180px
;
text-align
:
center
;
margin-left
:
410px
;
margin-top
:
10px
;
margin-top
:
1
5
0px
;
font-size
:
120px
;
font-family
:
cursive
;
color
:
greenyellow
;
...
...
@@ -24,13 +24,13 @@
.Box
{
text-align
:
center
;
margin
:
0
auto
;
margin-top
:
75
px
;
margin-top
:
30
px
;
}
.QuizStart
{
margin
:
30px
;
margin-left
:
650px
;
margin-top
:
15
0px
;
margin-top
:
3
0px
;
margin-bottom
:
200px
;
width
:
220px
;
height
:
50px
;
...
...
src/background_ex1.jpg
View replaced file @
a1909827
View file @
20a8adf8
158 KB
|
W:
|
H:
214 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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