Update Prog Langs Qs/html5.json
Browse files- Prog Langs Qs/html5.json +78 -1
Prog Langs Qs/html5.json
CHANGED
|
@@ -1 +1,78 @@
|
|
| 1 |
-
[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{ "question": "How do you structure a basic HTML5 document with head and body sections?" },
|
| 3 |
+
{ "question": "How do you link an external CSS file in an HTML5 document?" },
|
| 4 |
+
{ "question": "How do you include an external JavaScript file using the defer attribute?" },
|
| 5 |
+
{ "question": "What happens if you omit the <!DOCTYPE html> declaration in a modern browser?" },
|
| 6 |
+
{ "question": "How do you make an image responsive using HTML attributes?" },
|
| 7 |
+
{ "question": "How do you provide alternative text for an image and why is it required?" },
|
| 8 |
+
{ "question": "How do you embed a video with multiple formats for browser compatibility?" },
|
| 9 |
+
{ "question": "How do you autoplay a muted video inline on mobile browsers?" },
|
| 10 |
+
{ "question": "How do you display fallback content if a video tag is not supported?" },
|
| 11 |
+
{ "question": "How do you preload audio metadata without downloading the entire file?" },
|
| 12 |
+
|
| 13 |
+
{ "question": "How do you create a semantic page layout using header, main, section, and footer?" },
|
| 14 |
+
{ "question": "When should you use <section> instead of <div> in real projects?" },
|
| 15 |
+
{ "question": "How do screen readers interpret semantic HTML5 elements?" },
|
| 16 |
+
{ "question": "How do you group a blog post with metadata using <article>?" },
|
| 17 |
+
{ "question": "How do you mark navigation links correctly for accessibility?" },
|
| 18 |
+
{ "question": "How do you associate a caption with an image using <figure> and <figcaption>?" },
|
| 19 |
+
{ "question": "How do you highlight search terms in text using HTML5 tags?" },
|
| 20 |
+
{ "question": "How do you represent machine-readable dates and times in HTML?" },
|
| 21 |
+
{ "question": "How do you hide content visually but keep it accessible to screen readers?" },
|
| 22 |
+
{ "question": "How do you create collapsible content using <details> and <summary>?" },
|
| 23 |
+
|
| 24 |
+
{ "question": "How do you build a form that validates email input without JavaScript?" },
|
| 25 |
+
{ "question": "How do you restrict a numeric input to a specific range?" },
|
| 26 |
+
{ "question": "How do you show placeholder text in an input field?" },
|
| 27 |
+
{ "question": "How do you mark a form field as mandatory using HTML5 only?" },
|
| 28 |
+
{ "question": "How do you apply regex-based validation using the pattern attribute?" },
|
| 29 |
+
{ "question": "How do you disable browser autocomplete for a sensitive input?" },
|
| 30 |
+
{ "question": "How do you associate a label correctly with an input element?" },
|
| 31 |
+
{ "question": "How do you group related form controls semantically?" },
|
| 32 |
+
{ "question": "How do you submit a form without reloading the page using native HTML behavior?" },
|
| 33 |
+
{ "question": "How do you display validation error messages triggered by the browser?" },
|
| 34 |
+
|
| 35 |
+
{ "question": "How do you draw a rectangle on a canvas using JavaScript?" },
|
| 36 |
+
{ "question": "How do you scale a canvas for high-DPI displays?" },
|
| 37 |
+
{ "question": "How do you clear and redraw a canvas efficiently?" },
|
| 38 |
+
{ "question": "How do you handle mouse events on a canvas element?" },
|
| 39 |
+
{ "question": "How do you export canvas content as an image?" },
|
| 40 |
+
{ "question": "How do you create simple animations using requestAnimationFrame with canvas?" },
|
| 41 |
+
{ "question": "How do you handle resizing a canvas when the window size changes?" },
|
| 42 |
+
{ "question": "How do you layer multiple drawings in a single canvas?" },
|
| 43 |
+
{ "question": "How do you optimize canvas performance for frequent redraws?" },
|
| 44 |
+
{ "question": "How do you detect whether canvas is supported by the browser?" },
|
| 45 |
+
|
| 46 |
+
{ "question": "How do you store user preferences using localStorage?" },
|
| 47 |
+
{ "question": "How do you clear specific keys from localStorage?" },
|
| 48 |
+
{ "question": "How do you persist session-only data using sessionStorage?" },
|
| 49 |
+
{ "question": "How do you safely parse JSON data retrieved from Web Storage?" },
|
| 50 |
+
{ "question": "How do you handle storage limits being exceeded?" },
|
| 51 |
+
{ "question": "How do you store structured data using IndexedDB?" },
|
| 52 |
+
{ "question": "How do you perform a read-write transaction in IndexedDB?" },
|
| 53 |
+
{ "question": "How do you version an IndexedDB schema?" },
|
| 54 |
+
{ "question": "How do you detect IndexedDB support in older browsers?" },
|
| 55 |
+
{ "question": "How do you compare IndexedDB with localStorage for large datasets?" },
|
| 56 |
+
|
| 57 |
+
{ "question": "How do you enable drag-and-drop for an HTML element?" },
|
| 58 |
+
{ "question": "How do you transfer custom data during a drag operation?" },
|
| 59 |
+
{ "question": "How do you prevent default browser behavior during drag events?" },
|
| 60 |
+
{ "question": "How do you handle file drops onto a specific DOM element?" },
|
| 61 |
+
{ "question": "How do you validate file types using HTML input attributes?" },
|
| 62 |
+
{ "question": "How do you preview an uploaded image before submitting a form?" },
|
| 63 |
+
{ "question": "How do you read a file locally using the FileReader API?" },
|
| 64 |
+
{ "question": "How do you limit file upload size on the client side?" },
|
| 65 |
+
{ "question": "How do you handle multiple file uploads using HTML5?" },
|
| 66 |
+
{ "question": "How do you provide graceful fallback when File API is unsupported?" },
|
| 67 |
+
|
| 68 |
+
{ "question": "How do you request the user's location using the Geolocation API?" },
|
| 69 |
+
{ "question": "How do you handle permission denial in geolocation requests?" },
|
| 70 |
+
{ "question": "How do you continuously track location changes?" },
|
| 71 |
+
{ "question": "How do you display latitude and longitude values on a web page?" },
|
| 72 |
+
{ "question": "How do you stop a geolocation watch request?" },
|
| 73 |
+
{ "question": "How do you check if geolocation is supported before calling it?" },
|
| 74 |
+
{ "question": "How do you handle geolocation errors gracefully?" },
|
| 75 |
+
{ "question": "How do you combine geolocation data with a map library?" },
|
| 76 |
+
{ "question": "How do you reduce battery usage when using geolocation?" },
|
| 77 |
+
{ "question": "How do you ensure user privacy when handling location data?" }
|
| 78 |
+
]
|