Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
James Speake committed Jul 21, 2020
1 parent c8831ae commit ef9eb6b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config_registration.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"iframe": "./iframe/registration/registration.html",
"title": "Registering on a website",
"steps": [
{ "step": 1, "triggerField": "inputFirstName", "triggerValue": "fred", "instruction": "Type 'fred' into the first name box please.", "hint": "Sorry that's wrong" },
{ "step": 2, "triggerField": "inputLastName", "triggerValue": "smith", "instruction": "Well done, now type 'smith' into the Last Name field.", "hint": "Sorry that's wrong" },
{ "step": 1, "triggerField": "inputFirstName", "triggerValue": "fred", "instruction": "Type 'fred' into the first name box please.", "hint": "Sorry that's wrong mate" },
{ "step": 2, "triggerField": "inputLastName", "triggerValue": "smith", "instruction": "Well done, now type 'smith' into the Last Name field.", "hint": "Sorry try again" },
{ "step": 3, "triggerField": "buttonSave", "triggerValue": "save", "instruction": "Super, now click on the save button." },
{ "step": 4, "triggerField": null, "triggerValue": null, "instruction": "Well done, you know how to submit a form now!" }
]
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h1>LMW Practise Tasks - proof of concept</h1>

<p>How it works</p>

<p>Obviously this POC is rough and ready, but the general idea is that we build a 'dummy' website featuring all the concepts we want to teach,
<p>Obviously this POC is rough and ready, and the teaching is terrible(!) but the general idea is that we build a 'dummy' website featuring all the concepts we want to teach,
then wrap it with tasks .</p>

<ul>
Expand Down
2 changes: 2 additions & 0 deletions task1.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
</head>

<body data-config="config_email.json">

<div class="row-container">
<div class="first-row">
<p class="small"><a href="index.html">home</a></p>
<h1 id="title"></h1>

<!-- Put a progress bar here -->
Expand Down
1 change: 1 addition & 0 deletions task2.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<body>
<div class="row-container">
<div class="first-row">
<p class="small"><a href="index.html">home</a></p>
<h1 id="title"></h1>

<!-- Put a progress bar here -->
Expand Down
4 changes: 3 additions & 1 deletion wrapper.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ body, html { width: 100%; height: 100%; margin: 0; padding: 0;
}
.row-container {display: flex; width: 100%; height: 100%; flex-direction: column; overflow: hidden;}
.first-row { background-color: #ccc; border-bottom: 1px solid #333; padding: 10px; }
.second-row { flex-grow: 1; border: none; margin: 0; padding: 0; }
.second-row { flex-grow: 1; border: none; margin: 0; padding: 0; }
.small { font-size: small; margin-bottom: 0; padding-bottom: 0;}
h1 { margin-top: 0;}

0 comments on commit ef9eb6b

Please sign in to comment.