Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
codio_signup/pt1resources.html
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
76 lines (63 sloc)
1.54 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<title> | |
Coventry test recording | |
</title> | |
<body> | |
<div style="width:90%;font-family: 'Helvetica'; margin:auto"> | |
<div class="fit"> | |
During the test you may use these resources: | |
<ul> | |
<li>The test environment</li> | |
<li>Pen/pencil and paper</li> | |
<li><a target="_blank" href="reference/en/index.html">This copy of cppreference</a></li> | |
</ul> | |
</div><br><br> | |
<div class="fit"> | |
You may <b>not</b> use any other resources, including (but not limited to): | |
<ul> | |
<li>Personal notes</li> | |
<li>Lecture slides</li> | |
<li>Lecture videos</li> | |
<li>3rd party websites</li> | |
<li>Practise tests</li> | |
<li>IDEs</li> | |
</ul> | |
</div> | |
<br><br><br> | |
<div style="width:50%;float: right;"> | |
<div id="clock" class="fit"></div><br> | |
<button id="go" class="fit" onclick="go()" disabled>I understand</button> | |
</div> | |
</div> | |
<script src="fitty.min.js"></script> | |
<script> | |
fitty('.fit', {multiLine: true, maxSize: 60}) | |
var count = 15; | |
function countDown() | |
{ | |
let button = document.getElementById("go"); | |
let clock = document.getElementById("clock"); | |
if( count <= 0 ) | |
{ | |
clock.textContent = ""; | |
button.disabled = false; | |
} | |
else | |
{ | |
clock.textContent = count + " seconds"; | |
count--; | |
} | |
} | |
window.onload = function() | |
{ | |
countDown(); | |
var t = setInterval( countDown, 1000 ); | |
} | |
function go() | |
{ | |
const url = window.location.search.substring(1); | |
window.location.replace( url ); | |
} | |
</script> | |
</body> | |
</html> |