From 3d0226acc2a52fc4d53d3b935a4c8c056d4a94ed Mon Sep 17 00:00:00 2001 From: Thiago Date: Tue, 23 Nov 2021 13:12:25 -0300 Subject: [PATCH] Add data-identifier on quizz-creation screen --- js/quizz-creation.js | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/js/quizz-creation.js b/js/quizz-creation.js index 80abc90..2714efe 100644 --- a/js/quizz-creation.js +++ b/js/quizz-creation.js @@ -68,7 +68,7 @@ function createQuestionRender(){ const questions = document.querySelector(".second-step") for(let i = 0; i < nQuestions; i++){ if(i===0){ - questions.innerHTML += `
  • + questions.innerHTML += `
  • Pergunta ${i+1}

    @@ -92,11 +92,11 @@ function createQuestionRender(){ - +
  • ` } else if(i < nQuestions - 1){ - questions.innerHTML += `
  • + questions.innerHTML += `
  • Pergunta ${i+1}

    @@ -120,11 +120,11 @@ function createQuestionRender(){ - +
  • ` } else{ - questions.innerHTML += `
  • + questions.innerHTML += `
  • Pergunta ${i+1}

    @@ -147,7 +147,7 @@ function createQuestionRender(){ - +
  • ` } @@ -249,7 +249,6 @@ function hexCheck(inputColorValue){ } } if(!aux){ - //alert("Informaçoes inválidas"); return false; } return true; @@ -261,37 +260,37 @@ function createResultsRender(){ for(let i = 0 ; i < nResults; i++){ if(i === 0){ results.innerHTML += ` -
  • +
  • Nível ${i+1}

    - +
  • ` } else if(i < nResults - 1){ results.innerHTML += ` -
  • +
  • Nível ${i+1}

    - +
  • ` } else{ results.innerHTML += ` -
  • +
  • Nivel ${i+1}

    - +
  • ` }