Signed up recently but had issues with the confirmation email?
Click Forgot password and follow the reset steps. You can choose the same password you used when you signed up. This should then provide access.
Remember to check Spam and Junk. The email will be from auth@progressbytes.co.uk.
HTML, CSS and JavaScript. See appendix 5d.
1.3.4 Web Technologies
Practise exam questionsWeb Technologies — Note 1 of 4
Candidates need to understand the purpose of HTML, CSS and JavaScript. Candidates should have experience of writing webpages using HTML, CSS and JavaScript. Candidates need to be able to recognise the code in Appendix 5d, and be able to read, write, amend and interpret code using HTML, CSS and JavaScript.
Web pages are built using three technologies: HTML defines the structure and content, CSS defines the presentation, and JavaScript adds interactivity and processing in the browser. You need to be able to read, write, amend and interpret code using the elements listed in appendix 5d.
<html>, <head>, <title>, <body>, <h1> to <h3>, <p>, <img> (src, alt, height, width), <a> (href), <div>, <form>, <input> (text and submit), <ol>, <ul>, <li>, <link> and <script>.style attribute, or in an external style sheet linked with <link>. Selectors can target elements (h1), classes (.infoBox) and identifiers (#menu). An id identifies ONE unique element on a page; a class can be given to many elements.document.getElementById("id").innerHTML = ..., write with document.write(...), or show an alert(...). Input is read from form elements.<html>
<head>
<title>Revision Quiz</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Quick Quiz</h1>
<div class="infoBox">
<p>What is 6 x 7?</p>
<input type="text" id="answer">
<input type="submit" value="Check" onclick="check()">
<p id="result"></p>
</div>
<script>
function check() {
var answer = document.getElementById("answer").value;
if (answer == "42") {
document.getElementById("result").innerHTML = "Correct!";
} else {
document.getElementById("result").innerHTML = "Try again";
}
}
</script>
</body>
</html>h1 {
color: #A2441B;
font-family: Arial;
}
.infoBox {
background-color: lightgrey;
border-style: solid;
border-width: 2px;
}
#result {
font-size: 20px;
}Uses tags to define the structure and content of a web page, e.g. headings, paragraphs, images and links.
Defines how HTML elements are displayed, e.g. colours, fonts, borders and sizes.
A scripting language that runs in the browser to make pages interactive, e.g. validating form input before it is sent.
<script> tags is JavaScript; 'Java' is a different language and is not credited.<a href="quiz2.html">Next quiz</a>. For a clickable image, put the <img src="..."> inside the <a> tag. When explaining a <head>, say what each line does for the page: <title> sets the text in the browser tab and <link> attaches the external style sheet.. for an id selector or # for a class. Class = .className, id = #idName.color = "white", or spelling the property 'colour'. A rule is selector { property: value; }, so write color: white; inside the braces, using the American spelling.<body><h2>Chess Club</h2><a href="fixtures.html"><img src="board.png" alt="Chess board"></a><ul><li>A pencil</li><li>Your score sheet</li></ul></body>. Read each pair of tags back before you move on: the slash goes straight after the < in a closing tag, and attribute values go in quotes.Past exam questions
Ready to test yourself?
Practise 1.3.4 questions