Commit 346060e8 authored by JeongYeonwoo's avatar JeongYeonwoo
Browse files

다시

parent a9cf33de
...@@ -47,8 +47,8 @@ function Quiz() { ...@@ -47,8 +47,8 @@ function Quiz() {
<div> <div>
<form onSubmit={handleChange}> <form onSubmit={handleChange}>
{question.Choose.map( (a,index) => {question.Choose.map( (a,index) =>
<div> <div key={index}>
<input key={index} type="radio" name='answer' id={'anwer' + a} value={a} onClick={handleChange} /> <input type="radio" name='answer' id={'anwer' + a} value={a} onClick={handleChange} />
<label htmlFor={a}> {a}</label> <label htmlFor={a}> {a}</label>
</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