Skip to content

Commit

Permalink
first puzzle
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraselby committed Apr 23, 2024
1 parent 43a25e8 commit c82db72
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
11 changes: 8 additions & 3 deletions questions/First.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,27 +40,32 @@
</div>

<!-- Main Content -->
<p> This page prompts teams to look for the misspelled words in the letter and type the clue in to move to the next screen. There may be a way to combine this with the next puzzle to make it less hand holdy. It needs to be more clear what should be submit here to move on</p>
<p> Alternative could be that the letter is on the table to start with, and clue is 'look for QR code' which we've hidden somewhere on their table? And first page in the website just directs straight to COP quality section. </p>

<div class="container">
<!-- Form -->
<!-- Step one -->
<div class="row mt-5 mb-5">
<div class="w-100 w-md-50 mx-auto">
<div class="card white card-top-blue">
<div class="card-content">
<span class="card-title black-text underline">Question 1</span>
<div name="questionBox">
<div class="row mt-4">
<h5 class="left heading">Question 1?</h5>
<p> Oh no! it looks like the Regulator has had an issue with their keyboard!</p>
<p> But wait, is there something strange about the words?</p>
</div>
<div class="row">
<div class="input-field col s12">
<input id="answer" name="answer" type="text" class="validate">
<label for="answer">Your Answer</label>
<label for="answer">What is the clue?</label>
</div>
<div class="center">
<button name="submitStudBtn" class="btn btn-puzzle z-depth-0 waves-effect mb-n4"
id="submitStudBtn" value="Submit">Submit</button>
</div>
</div>
<p> We expect them to type 'Look at CoP' here. Will this direct to another envelope open or will the coffee stained sheet be out on the table already? </p>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion questions/js/q1.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$("#submitStudBtn").click(function () {
var answer = document.getElementById("answer").value.toString().toLowerCase();
var result = answer.includes("1") || answer.includes("1.1") || answer.includes("1.1.1");
var result = answer.includes("Look at CoP");
if (result == true) {
window.location.href = "second.html";
}
Expand Down
17 changes: 13 additions & 4 deletions start.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,30 @@
</div>

<!-- Main Content -->
<p> This page assumes a QR code has been used to get the team to this website - perhaps hidden on the agenda or somewhere else on the table? It gives them the main scenario and a button prompt to start.</p>

<div class="container">
<!-- Login Form -->
<div class="row mt-5 mb-5">
<div class="w-100 w-md-50 mx-auto">
<div class="card white card-top-blue">
<div class="card-content">
<span class="card-title black-text">Heeey</span>
<span class="card-title black-text"> <h2> You have been transported!</h2> </span>
<div name="loginStud">
<div class="row">
<div class="input-field col s12">
<p> hello this is the starting scenario</p>
<p> You are the team responsible for the most hotly anticipated statistics in [LOCATION]. </p>
<br>
<p> But something is amiss! The Office for Statistics Regulation has gotten in touch with your Head of Profession as they have concerns about your latest '<b>Sweet Statistics: [LOCATION]'s tastiest ice cream sales, 2022-2023</b>' release.</p>
<br>
<p> They've written to your department and your HoP has shared their letter with you.</p>
<br>
<p> Your task is to lead on the response to this casework, correcting your statistics release ASAP.</p>
<br>
<p> Open envelope X and accept your mission</p>
</div>
<div class="center">
<button name="loginStudBtn" class="btn btn-puzzle z-depth-0 waves-effect mb-n4"
id="loginStudBtn" value="Login">Go!</button>
id="loginStudBtn" value="Login">Let's go!</button>
</div>
</div>
</div>
Expand Down

0 comments on commit c82db72

Please sign in to comment.