Want to make creations as awesome as this one?

Transcript

How to create a password check with S'cape

Download this presentation with template by clicking "reuse" below.

OK

SCAPE6GTpala

Example

UsernamePassword

Wrong username or password

Next task

Try entering the correct password.Then try what happens if you get it wrong.

//-----VARIABLES UTILISATEUR----- var solution = ['SCAPE', '6GTpala']; //enter your answers between the quotation marks, delete or add extra ones var ordre = 1; // change to 1 if order of answers is important (otherwise 0) var casse = 0; // change to 1 if capital letters are important (otherwise 0) var correct=0; // change to 1 to change box colour red/green for correct/incorrect answer (otherwise 0) //------VARIABLES A NE PAS MODIFIER--- var question; var reponse = []; var faux = 0; var BON = document.getElementById('bon').parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; if (BON.getAttribute("id") == null) { BON = document.getElementById('bon').parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; } var PASBON = document.getElementById('erreur').parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; if (PASBON.getAttribute("id") == null) { PASBON = document.getElementById('erreur').parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; } //--- DISPARITION FENETRE ---- setTimeout(function() { document.getElementsByClassName('icon-close')[0].click() }, 10); document.getElementById('genially-view-modal').style.visibility = "hidden"; //--- RECUPERATION DES REPONSES for (var i = 1; i

Check

Example 2

What is the capital of the UK?4+5=What colour are lemons?

Not all correct. Check capital letters

Correct!The passcode is12874

//-----VARIABLES UTILISATEUR----- var solution = ["London", "9", "yellow"]; //enter your answers between the quotation marks, delete or add extra ones var ordre = 1; // change to 1 if order of answers is important (otherwise 0) var casse = 1; // change to 1 if capital letters are important (otherwise 0) var correct=1; // change to 1 to change box colour red/green for correct/incorrect answer (otherwise 0) //------VARIABLES A NE PAS MODIFIER--- var question; var reponse = []; var faux = 0; var BON = document.getElementById('bon').parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; if (BON.getAttribute("id") == null) { BON = document.getElementById('bon').parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; } var PASBON = document.getElementById('erreur').parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; if (PASBON.getAttribute("id") == null) { PASBON = document.getElementById('erreur').parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; } //--- DISPARITION FENETRE ---- setTimeout(function() { document.getElementsByClassName('icon-close')[0].click() }, 10); document.getElementById('genially-view-modal').style.visibility = "hidden"; //--- RECUPERATION DES REPONSES for (var i = 1; i

On the picture are aand a

Check

Example 2

//-----VARIABLES UTILISATEUR----- var solution = ["cat", "dog"]; //enter your answers between the quotation marks, delete or add extra ones var ordre = 0; // change to 1 if order of answers is important (otherwise 0) var casse = 0; // change to 1 if capital letters are important (otherwise 0) var correct=0; // change to 1 to change box colour red/green for correct/incorrect answer (otherwise 0) //------VARIABLES A NE PAS MODIFIER--- var question; var reponse = []; var faux = 0; var BON = document.getElementById('bon').parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; if (BON.getAttribute("id") == null) { BON = document.getElementById('bon').parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; } var PASBON = document.getElementById('erreur').parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; if (PASBON.getAttribute("id") == null) { PASBON = document.getElementById('erreur').parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; } //--- DISPARITION FENETRE ---- setTimeout(function() { document.getElementsByClassName('icon-close')[0].click() }, 10); document.getElementById('genially-view-modal').style.visibility = "hidden"; //--- RECUPERATION DES REPONSES for (var i = 1; i

Check

Quiz

Use this template to create a quiz, gap fill text or password check.

//-----VARIABLES UTILISATEUR----- var solution = ["student", "1234"]; //enter your answers between the quotation marks, delete or add extra ones var ordre = 1; // change to 1 if order of answers is important (otherwise 0) var casse = 1; // change to 1 if capital letters are important (otherwise 0) var correct=0; // change to 1 to change box colour red/green for correct/incorrect answer (otherwise 0) //------VARIABLES A NE PAS MODIFIER--- var question; var reponse = []; var faux = 0; var BON = document.getElementById('bon').parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; if (BON.getAttribute("id") == null) { BON = document.getElementById('bon').parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; } var PASBON = document.getElementById('erreur').parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; if (PASBON.getAttribute("id") == null) { PASBON = document.getElementById('erreur').parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; } //--- DISPARITION FENETRE ---- setTimeout(function() { document.getElementsByClassName('icon-close')[0].click() }, 10); document.getElementById('genially-view-modal').style.visibility = "hidden"; //--- RECUPERATION DES REPONSES for (var i = 1; i