Commit f0bfb2a0 authored by baesangjune's avatar baesangjune
Browse files

css직전

parent 5b7d3476
......@@ -33,10 +33,11 @@ function End() {
{scores.map((score, index) => {
if (score === 1) {
return <p className='card-text'>Quiz {index+1} : 'O' </p>
}
else { return <p className='card-text'>Quiz {index+1} : 'X' </p> }
return (score===1) ? <p className='card-text'>Quiz {index+1} : 'O' </p> : <p className='card-text'>Quiz {index+1} : 'X' </p>
// if (score === 1) {
// return <p className='card-text'>Quiz {index+1} : 'O' </p>
// }
// else { return <p className='card-text'>Quiz {index+1} : 'X' </p> }
......
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