Skip to content

Commit

Permalink
Contador preguntas respondidas
Browse files Browse the repository at this point in the history
  • Loading branch information
uo287998 committed Apr 2, 2024
1 parent 805391a commit cb5f9c6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions webapp/src/components/QuizGame.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,15 @@ const QuizGame = () => {
color: 'white',
padding: '10px',
borderRadius: '8px',
boxShadow: '0px 0px 10px rgba(0, 0, 0, 0.1)',
boxShadow: 'rgb(25, 118, 210) 0px 0px 15px',
display: 'flex',
justifyContent: 'space-between',
alignItems: 'center'
alignItems: 'center',
width: '60%',
}}
>
<Timer onTimeOver={handleTimeOver} onTimeChange={(time) => assignTime(time)} />
<h3>Preguntas respondidas: {questionsNumber}/{numberOfQuestions + 1}</h3>
</Box>) : null}
{error ? (
<h2>{error}</h2> // Si hay un error, muestra el mensaje de error
Expand Down

0 comments on commit cb5f9c6

Please sign in to comment.