Commit bc692315 authored by 김민수's avatar 김민수
Browse files

No commit message

No commit message
parent 2c310feb
import React from 'react'; import React from 'react';
// import logo from './logo.svg'; // import logo from './logo.svg';
import './Quiz.css'; import './Quiz.css';
// import ReactTimeout from 'react-timeout';
// import {BrowserRouter as Router, Link, Route} from 'react-router-dom'
const question = [ const question = [
{ Q: "6 X 4 ?", Choose: [6, 12, 18, 24], A: "" }, { Q: "6 X 4 ?", Choose: [6, 12, 18, 24], A: "" },
...@@ -58,7 +59,7 @@ class Quiz extends React.Component { ...@@ -58,7 +59,7 @@ class Quiz extends React.Component {
{/* <div> {/* <div>
<input type="text" value={this.state.v} name="A" onChange={this.setAnswer} /> <input type="text" value={this.state.v} name="A" onChange={this.setAnswer} />
</div> */} </div> */}
<button type="button" onClick={this.setQuestion}>다음</button> <button type="button" onClick={this.setQuestion,3000}>다음</button>
</div> </div>
) )
} }
...@@ -75,7 +76,6 @@ class Quiz extends React.Component { ...@@ -75,7 +76,6 @@ class Quiz extends React.Component {
</div> </div>
<button className="QuizStart" onClick={this.ShowQuiz}>Quiz Start !</button> <button className="QuizStart" onClick={this.ShowQuiz}>Quiz Start !</button>
</div> </div>
) )
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment