2023-11-21
Max. 100 points
Name:
| Task | Max. | Achieved |
|---|---|---|
| 1 | 24 | |
| 2 | 24 | |
| 3 | 24 | |
| 4 | 28 | |
| Sum | 100 |
| Statement | True | False |
|---|---|---|
| HTML is used to create the structure and content of a web page. | ||
| The <ul> tag is used to create an ordered list. | ||
| The <li> tag denotes a list item. | ||
| The <hyperlink> tag defines a hyperlink, which is used to link from one page to another. | ||
| The <css> tag is used to define how a website looks. | ||
The type attribute is is relevant for html form elements. |
| Statement | True | False |
|---|---|---|
| CSS code is used to define the behavior of a web page. | ||
| `color: red;` sets the background color to red. | ||
| CSS can change the font color of an HTML element. | ||
| CSS can be used to change the size of an HTML element. | ||
| CSS can be used to create the structure of an HTML document. | ||
| Margin and padding are the same thing. |
| Statement | True | False |
|---|---|---|
function f(a) { return a / 2; } is valid JavaScript | ||
| JavaScript is a programming language. | ||
The result of 8 % 3 is 2. | ||
The result of 1 == "1" is true. | ||
Math.randint() returns a random integer. | ||
let s = "first "; s += "second"; leads to an error. |
form tag<form>
<p>
<label for="firstname">First name:</label>
<input type="text" id="firstname" name="firstname" />
</p>
<p>
<input type="checkbox" id="full_age" name="full_age" checked />
<label for="full_age">18+ years old</label>
</p>
<p>
<input type="submit" value="submit">
</p>
</form>