Commit 9a7b7c99 authored by baesangjune's avatar baesangjune
Browse files

good

parent 46475100
......@@ -19,4 +19,5 @@
width: 150px;
height: 30px;
font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}
\ No newline at end of file
}
......@@ -37,7 +37,7 @@ class Quiz extends React.Component {
if (answers[i].checked) {
// checked_index = i;
checked_value = answers[i].value;
localStorage.setItem('answer-' + i, checked_value)
localStorage.setItem(this.state.i+'번문제 답' + checked_value, checked_value)
}
}
}
......@@ -76,7 +76,7 @@ class Quiz extends React.Component {
<div>
{this.state.Choose.map((a) =>
<div>{this.state.N}
<input type="radio" name='answer' id={'anwer'+a} value={a} /*ref={this.textInput} input 네임을 문제단위로 바꾸어주어야 함. */ />
<input type="radio" name='answer' id={a} value={a} /*ref={this.textInput} input 네임을 문제단위로 바꾸어주어야 함. */ />
<label for={a}>{a}</label>
</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