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
deec65de
Commit
deec65de
authored
Aug 05, 2020
by
김민수
Browse files
No commit message
No commit message
parent
e7191d29
Changes
3
Show whitespace changes
Inline
Side-by-side
src/End.css
0 → 100644
View file @
deec65de
.card
{
font-size
:
'30px'
;
text-align
:
"center"
;
}
.Box-text-center
{
display
:
flex
;
justify-content
:
center
;
margin-top
:
'100px'
;
}
src/End.js
View file @
deec65de
import
React
from
'
react
'
import
tr
from
'
./img_end.jpg
'
;
import
'
./End.css
'
// import { Link } from 'react-router-dom';
...
...
@@ -30,7 +31,7 @@ function End() {
return
(
<>
<
div
className
=
"
card
"
style
=
{{
fontSize
:
'
30px
'
,
textAlign
:
"
center
"
}}
>
<
div
className
=
"
card
"
>
<
div
className
=
'
card-header
'
>
-
채점표
-
<
div
className
=
'
card-body
'
>
...
...
@@ -42,7 +43,7 @@ function End() {
<
p
className
=
'
card-text
'
>
Quiz
3
:
{
localStorage
.
getItem
(
'
채점3
'
)}
<
/p
>
<
p
className
=
'
card-text
'
>
Total
Score
:
{
a
[
0
]
+
a
[
1
]
+
a
[
2
]}
<
/p
>
<
/div
>
<
div
style
=
{{
marginTop
:
'
100px
'
}}
className
=
"
Box
text-center
"
>
<
div
className
=
"
Box
-
text-center
"
>
<
img
src
=
{
tr
}
alt
=
"
수고
"
/>
<
/div
>
...
...
src/Home.css
View file @
deec65de
.Main
{
background-image
:
'url('
+
bg
+
')'
;
background-color
:
"grey"
;
background-size
:
"100%"
;
width
:
"100%"
;
height
:
"880px"
;
background-repeat
:
'no-repeat'
;
}
.Name
{
font-size
:
'30px'
;
position
:
"absolute"
;
top
:
"330px"
;
left
:
"38%"
;
}
.input-style
{
margin-left
:
'30px'
;
inline-size
:
'200px'
;
block-size
:
'40px'
;
font-size
:
'40px'
;
}
.QuizStart
{
margin-top
:
'35%'
;
block-size
:
'100px'
;
inline-size
:
'200px'
;
font-size
:
'35px'
}
\ No newline at end of file
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