Web Development Last-Minute Revision
Quickly revise the questions you picked. Add questions from the interview-questions lists with Save to → Last-Minute Revision.
30 quick revision notes for Web Development
- Semantic tags like header, nav, main and footer improve accessibility and SEO compared with generic div wrappers.
- defer scripts run after HTML parsing in order, while async scripts run as soon as they download in any order.
- Always add width and height to images so the browser reserves space and avoids layout shift.
- box-sizing: border-box makes width include padding and border, which keeps layouts predictable.
- Specificity order is inline styles, then ids, then classes and attributes, then element selectors.
- Flexbox is one-dimensional for rows or columns, while Grid controls rows and columns together.
- rem is relative to the root font size, whereas em compounds based on the parent element's font size.
- z-index only works within a stacking context, which transform, opacity and positioned elements can create.
- let and const are block-scoped; var is function-scoped and hoisted with an initial value of undefined.
- A closure is a function that keeps access to variables from the scope where it was created.
- Microtasks such as promise callbacks run before macrotasks such as setTimeout callbacks in the event loop.
- fetch does not reject on HTTP errors like 404 or 500, so always check response.ok before using data.
- Event delegation uses one parent listener and event.target.closest to handle clicks on dynamic children.
- Use textContent instead of innerHTML for user data to prevent cross-site scripting.
- localStorage persists across sessions, sessionStorage clears when the tab closes, and cookies travel with every request.
- Since PHP 8, comparing a number with a non-numeric string compares them as strings, so 0 == 'abc' is false.
- Use password_hash and password_verify for passwords; never store plain text, md5 or sha1 hashes.
- Call session_regenerate_id(true) after login to prevent session fixation attacks.
- require stops the script with a fatal error if the file is missing, while include only raises a warning.
- Prepared statements with PDO send SQL structure and data separately, which prevents SQL injection.
- WHERE filters rows before grouping, while HAVING filters groups after GROUP BY using aggregates.
- InnoDB is the default MySQL engine with transactions, row-level locks, foreign keys and crash recovery.
- InnoDB's default isolation level is REPEATABLE READ, which gives each transaction a consistent snapshot.
- Composite indexes follow the leftmost prefix rule, so column order in the index matters for queries.
- Keyset pagination with WHERE id < last_id scales far better than large OFFSET values on big tables.
- CSRF tokens plus SameSite cookies stop attackers from forging state-changing requests from other sites.
- Broken access control, such as changing an id in the URL to see another user's data, is the top OWASP risk.
- A, CNAME, MX and TXT records handle IP mapping, aliases, mail routing and verification data like SPF and DKIM.
- A 502 Bad Gateway from Nginx usually means PHP-FPM or the upstream application is down or overloaded.
- Lower DNS TTL a day before a server migration so the switch to the new IP spreads quickly.
Night-before checklist
- Revise your saved questions on this page once, aloud.
- Read the quick notes and mark any you cannot explain in one line.
- Rehearse a two-minute self-introduction and two project stories.
- Keep CV, ID, laptop charger and interview link ready; sleep on time.
Frequently asked questions
How does Last-Minute Revision work?
On any question page, open Save to → Last-Minute Revision. Saved questions appear here with their answers, so the night before an interview you revise only what you found hard.
Is my list saved?
Yes, in this browser. Guests can save 5 questions; free accounts can save 20 for revision and 100 for the 7-day plan.
What should I revise last before a Web Development interview?
Your saved misses first, then the quick notes on this page, then one or two project stories. Avoid learning brand-new topics the night before.
Find questions to save
Company-wise Web Development questionsExperience-wise Web Development questionsRole-wise Web Development questionsCity-wise Web Development questionsMost asked Web Development questionsScenario-based questionsPractical / hands-on questionsHR & behavioural questionsWeb Development mock interviewOnline assessment questionsTechnical round questionsManagerial round questionsWeb Development topic sheets