Web Development (HTML, CSS and JavaScript) Flashcards
6 cards from real IKM practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 6 Web Development (HTML, CSS and JavaScript) flashcards as text
In JavaScript, what does `typeof null` return?
Answer: "object"
typeof null returns "object". This is a long-standing quirk of the language that has been kept for backward compatibility.
Which CSS property controls the space between an element's border and its content?
Answer: padding
Padding is the space inside the border around the content. Margin is the space outside the border.
Which HTML element is the most appropriate semantic choice for the main navigation links of a page?
Answer:
marks a block of major navigation links. This helps accessibility tools and search engines understand the page structure.
What is the difference between `let` and `var` in JavaScript?
Answer: let is block-scoped and var is function-scoped
let is block-scoped, so it exists only inside the nearest enclosing braces. var is function-scoped and is hoisted to the top of its function. const is the keyword that prevents reassignment.
What does `===` do in JavaScript?
Answer: Compares both value and type without coercion
The strict equality operator === returns true only if both the value and the type are the same. The loose operator == coerces types first, so 5 == "5" is true but 5 === "5" is false.
Which CSS layout module is designed for laying out items in one dimension, either a row or a column, with flexible sizing?
Answer: Flexbox
Flexbox (display: flex) is the one-dimensional layout model for distributing space and aligning items along a single axis. CSS Grid is the two-dimensional layout model.
Written and edited by Nathan Beja, founder of Practice Test Geeks, with AI assistance. Exam facts are checked against the official sources linked below. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- ikmnet.com — Test delivery, passing score · verified Oct 2026
- online.ikmnet.com — Eligibility, exam format, retake policy, score release, time limit · verified Oct 2026