import React from 'react' import tr from './img_end.jpg'; // import { Link } from 'react-router-dom'; function End() { let k = [] for (let i = 0; i < 3; i++) { if (localStorage.getItem(i + '번문제답') === localStorage.getItem(i + '번문제정답')) { k[i] = ['O', 1] } else { k[i] = ['X', 0] } } return ( <>
Quiz 1 : {k[0][0]}
Quiz 2 : {k[1][0]}
Quiz 3 : {k[2][0]}
Total Score : {k[0][1] + k[1][1] + k[2][1]}