Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MCQ Quiz App
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gaston Morales
MCQ Quiz App
Commits
cbf45a07
Commit
cbf45a07
authored
Aug 09, 2023
by
Gaston Morales
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentaçao e mudança de layout na tela final
parent
5b33d76e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
4 deletions
+21
-4
index.html
index.html
+2
-3
perguntas.js
perguntas.js
+13
-0
style.css
style.css
+6
-1
No files found.
index.html
View file @
cbf45a07
...
...
@@ -32,11 +32,10 @@
<button
id=
"next-button"
>
Próxima
</button>
</div>
<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"
>
<h4>
Desempenho por temas
</h4>
</div>
<div
id=
"user-score"
>
Pontuação
</div>
<button
id=
"restart"
>
Reiniciar
</button>
</div>
<!-- Script -->
...
...
perguntas.js
View file @
cbf45a07
...
...
@@ -2,6 +2,19 @@
// 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)
// type: "noAnswer", // tipo pergunta: answer -> tem resposta certa
// // noAnswer -> não tem resposta certa
...
...
style.css
View file @
cbf45a07
...
...
@@ -117,10 +117,15 @@ button {
color
:
#689f38
;
border-color
:
#689f38
;
}
#
user-score
{
#
theme-header
{
font-size
:
1.5em
;
color
:
#ffffff
;
}
#user-score
{
color
:
#ffffff
;
font-weight
:
700
;
margin-bottom
:
2em
;
}
/* score table styling */
.tg
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment