Loading index.html +2 −3 Original line number Original line Diff line number Diff line Loading @@ -32,11 +32,10 @@ <button id="next-button">Próxima</button> <button id="next-button">Próxima</button> </div> </div> <div class="score-container hide"> <div class="score-container hide"> <div id="user-score">Pontuação</div> <div id="theme-header">Desempenho por Temas</div> <div id="theme-score" class="score-theme-container"> <div id="theme-score" class="score-theme-container"> <h4>Desempenho por temas</h4> </div> </div> <div id="user-score">Pontuação</div> <button id="restart">Reiniciar</button> <button id="restart">Reiniciar</button> </div> </div> <!-- Script --> <!-- Script --> Loading perguntas.js +13 −0 Original line number Original line Diff line number Diff line Loading @@ -2,6 +2,19 @@ // Modelo de dados: // Modelo de dados: // // //------------------------------------------------------------------------------------------ // Temas: //------------------------------------------------------------------------------------------ // name: question.theme, // Nome do tema // numberOfQuestions: 1, // # de questões no tema // answeredQuestions: 0, // # de questões respondidas no tema // maxScoreTheme: 0, // Maior pontuação possivel // score: 0, // Peso do Tema no todo (0 a 100), onde 0 = não considerado. // // //------------------------------------------------------------------------------------------ // Perguntas: //------------------------------------------------------------------------------------------ // id: "01.01", // identificador da pergunta (id único) // id: "01.01", // identificador da pergunta (id único) // type: "noAnswer", // tipo pergunta: answer -> tem resposta certa // type: "noAnswer", // tipo pergunta: answer -> tem resposta certa // // noAnswer -> não tem resposta certa // // noAnswer -> não tem resposta certa Loading style.css +6 −1 Original line number Original line Diff line number Diff line Loading @@ -117,10 +117,15 @@ button { color: #689f38; color: #689f38; border-color: #689f38; border-color: #689f38; } } #user-score { #theme-header { font-size: 1.5em; font-size: 1.5em; color: #ffffff; color: #ffffff; } } #user-score { color: #ffffff; font-weight: 700; margin-bottom: 2em; } /* score table styling */ /* score table styling */ .tg { .tg { Loading Loading
index.html +2 −3 Original line number Original line Diff line number Diff line Loading @@ -32,11 +32,10 @@ <button id="next-button">Próxima</button> <button id="next-button">Próxima</button> </div> </div> <div class="score-container hide"> <div class="score-container hide"> <div id="user-score">Pontuação</div> <div id="theme-header">Desempenho por Temas</div> <div id="theme-score" class="score-theme-container"> <div id="theme-score" class="score-theme-container"> <h4>Desempenho por temas</h4> </div> </div> <div id="user-score">Pontuação</div> <button id="restart">Reiniciar</button> <button id="restart">Reiniciar</button> </div> </div> <!-- Script --> <!-- Script --> Loading
perguntas.js +13 −0 Original line number Original line Diff line number Diff line Loading @@ -2,6 +2,19 @@ // Modelo de dados: // Modelo de dados: // // //------------------------------------------------------------------------------------------ // Temas: //------------------------------------------------------------------------------------------ // name: question.theme, // Nome do tema // numberOfQuestions: 1, // # de questões no tema // answeredQuestions: 0, // # de questões respondidas no tema // maxScoreTheme: 0, // Maior pontuação possivel // score: 0, // Peso do Tema no todo (0 a 100), onde 0 = não considerado. // // //------------------------------------------------------------------------------------------ // Perguntas: //------------------------------------------------------------------------------------------ // id: "01.01", // identificador da pergunta (id único) // id: "01.01", // identificador da pergunta (id único) // type: "noAnswer", // tipo pergunta: answer -> tem resposta certa // type: "noAnswer", // tipo pergunta: answer -> tem resposta certa // // noAnswer -> não tem resposta certa // // noAnswer -> não tem resposta certa Loading
style.css +6 −1 Original line number Original line Diff line number Diff line Loading @@ -117,10 +117,15 @@ button { color: #689f38; color: #689f38; border-color: #689f38; border-color: #689f38; } } #user-score { #theme-header { font-size: 1.5em; font-size: 1.5em; color: #ffffff; color: #ffffff; } } #user-score { color: #ffffff; font-weight: 700; margin-bottom: 2em; } /* score table styling */ /* score table styling */ .tg { .tg { Loading