Q421. Which HTTP status codes should a REST API return?
Group them by intent and be consistent: - 2xx success: 200 OK, 201 Created (with `Location`), 202 Accepted for async work, 204 No Content after DELETE. - 3xx: 301/308 for...
Technical Question Bank · Peer-Reviewed
Search and filter frequently asked interview questions across technical, programming, and behavioral domains. Tailor your interview preparation by difficulty for freshers or experienced developers (2,728 available).
Group them by intent and be consistent: - 2xx success: 200 OK, 201 Created (with `Location`), 202 Accepted for async work, 204 No Content after DELETE. - 3xx: 301/308 for...
Hot Module Replacement updates modules in a running app without a full page reload, preserving application state and often scroll position. When a file changes, the dev s...
When no native element supports the interaction, you implement an ARIA design pattern and must replicate all the expected behaviour. A custom combobox, for example, needs...
Caching avoids re-downloading assets and is one of the cheapest performance wins. Use content-hashed filenames with a long Cache-Control: public, max-age=31536000, immuta...
When a design needs a one-off value that is not in the scale, arbitrary value syntax accepts raw CSS inside square brackets: w-[327px], top-[117px], bg-[#1da1f2], grid-co...
Svelte components have a small lifecycle API. onMount runs once after the component is first rendered in the browser. It does not run during SSR, so it is the place for D...
You export a static metadata object or a generateMetadata async function from a layout or page. It can set title, description, canonical URL, Open Graph, Twitter cards an...
Angular calls lifecycle hooks in a defined order. The constructor runs first and should only inject dependencies. Then ngOnChanges fires whenever a bound input changes, b...
The key gives each rendered item a stable identity so Vue can match old and new nodes during patching. Without a key, Vue uses an in-place patch strategy and reuses DOM n...
Shell variables hold strings and have no strict typing. `$?` is the exit status of the last command, where 0 means success. ```bash greeting="hello" echo "${greeting} wor...
HireXTech uses essential storage to remember your study preferences and third-party advertising cookies via Google AdSense in compliance with GDPR. You can choose to enable essential cookies only or accept all cookies. Read our Privacy Policy.