From bf018d09a8e9eabc99addd96c63931e6949172de Mon Sep 17 00:00:00 2001 From: Jiwon Yoon Date: Mon, 27 Jul 2020 10:51:44 +0900 Subject: [PATCH] push --- src/Quiz.css | 22 ++++++++++++++++++++++ src/Quiz.js | 16 ++++++++-------- 2 files changed, 30 insertions(+), 8 deletions(-) create mode 100644 src/Quiz.css diff --git a/src/Quiz.css b/src/Quiz.css new file mode 100644 index 0000000..6f6c763 --- /dev/null +++ b/src/Quiz.css @@ -0,0 +1,22 @@ +.Main { + background: orange; + display: inline-block; + border: 3px solid black; + width: 200px; + text-align: center; +} + +/* .Name {} */ + +.Box { + text-align: center; + margin: 0 auto; +} + +.QuizStart { + margin: 30px; + margin-left: 500px; + width: 150px; + height: 30px; + font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; +} \ No newline at end of file diff --git a/src/Quiz.js b/src/Quiz.js index 6fc89d0..6a8df82 100644 --- a/src/Quiz.js +++ b/src/Quiz.js @@ -1,6 +1,6 @@ import React from 'react'; // import logo from './logo.svg'; -// import './App.css'; +import './Quiz.css'; const question = [ @@ -40,7 +40,7 @@ class Quiz extends React.Component { } else { return ( -
+

Q:{this.state.Q}

@@ -52,16 +52,16 @@ class Quiz extends React.Component { } else { return ( - <> -
-

Calculus

+
+
+

Calculus

-
+
이름을 입력하세요 { console.log(event.target.value) }} />
- - + +
) } -- GitLab