[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"me":3,"catalog:en:frontend\u002Fdom-browser-apis":4,"config":236},null,{"field_key":5,"field_name":6,"seniority":7,"topic_key":8,"topic_name":9,"spec_key":7,"spec_name":7,"locale":10,"cell_total":11,"field_total":12,"seniorities":13,"topics":17,"specs":133,"samples":150},"frontend","Frontend","","dom-browser-apis","Dom Browser Apis","en",75,2925,[14,15,16],"junior","mid","senior",[18,21,24,27,30,33,36,39,42,43,46,49,52,55,58,61,64,67,70,73,76,79,82,85,88,91,94,97,100,103,106,109,112,115,118,121,124,127,130],{"key":19,"name":20,"count":11},"accessibility","Accessibility",{"key":22,"name":23,"count":11},"angular-change-detection","Angular Change Detection",{"key":25,"name":26,"count":11},"angular-components-lifecycle","Angular Components Lifecycle",{"key":28,"name":29,"count":11},"angular-dependency-injection","Angular Dependency Injection",{"key":31,"name":32,"count":11},"angular-directives-pipes","Angular Directives Pipes",{"key":34,"name":35,"count":11},"angular-router-forms","Angular Router Forms",{"key":37,"name":38,"count":11},"angular-testing-performance","Angular Testing Performance",{"key":40,"name":41,"count":11},"css-layout","Css Layout",{"key":8,"name":9,"count":11},{"key":44,"name":45,"count":11},"javascript-async-concurrency","Javascript Async Concurrency",{"key":47,"name":48,"count":11},"javascript-language","Javascript Language",{"key":50,"name":51,"count":11},"javascript-memory-performance","Javascript Memory Performance",{"key":53,"name":54,"count":11},"javascript-modules-bundling","Javascript Modules Bundling",{"key":56,"name":57,"count":11},"javascript-prototypes-oop","Javascript Prototypes Oop",{"key":59,"name":60,"count":11},"javascript-runtime-apis","Javascript Runtime Apis",{"key":62,"name":63,"count":11},"javascript-testing-tooling","Javascript Testing Tooling",{"key":65,"name":66,"count":11},"performance","Performance",{"key":68,"name":69,"count":11},"react-components-jsx","React Components Jsx",{"key":71,"name":72,"count":11},"react-context-state","React Context State",{"key":74,"name":75,"count":11},"react-effects-lifecycle","React Effects Lifecycle",{"key":77,"name":78,"count":11},"react-forms-suspense","React Forms Suspense",{"key":80,"name":81,"count":11},"react-hooks-state","React Hooks State",{"key":83,"name":84,"count":11},"react-rendering-performance","React Rendering Performance",{"key":86,"name":87,"count":11},"rendering-reactivity","Rendering Reactivity",{"key":89,"name":90,"count":11},"state-management","State Management",{"key":92,"name":93,"count":11},"testing","Testing",{"key":95,"name":96,"count":11},"typescript-advanced-types","Typescript Advanced Types",{"key":98,"name":99,"count":11},"typescript-generics","Typescript Generics",{"key":101,"name":102,"count":11},"typescript-modules-declarations","Typescript Modules Declarations",{"key":104,"name":105,"count":11},"typescript-narrowing-control-flow","Typescript Narrowing Control Flow",{"key":107,"name":108,"count":11},"typescript-tooling-config","Typescript Tooling Config",{"key":110,"name":111,"count":11},"typescript-type-fundamentals","Typescript Type Fundamentals",{"key":113,"name":114,"count":11},"vue-components-props","Vue Components Props",{"key":116,"name":117,"count":11},"vue-composition-api","Vue Composition Api",{"key":119,"name":120,"count":11},"vue-directives-templates","Vue Directives Templates",{"key":122,"name":123,"count":11},"vue-performance-testing","Vue Performance Testing",{"key":125,"name":126,"count":11},"vue-reactivity-system","Vue Reactivity System",{"key":128,"name":129,"count":11},"vue-router-state-management","Vue Router State Management",{"key":131,"name":132,"count":11},"web-security","Web Security",[134,138,141,144,147],{"key":135,"name":136,"count":137},"angular","Angular",450,{"key":139,"name":140,"count":137},"javascript","JavaScript",{"key":142,"name":143,"count":137},"react","React",{"key":145,"name":146,"count":137},"typescript","TypeScript",{"key":148,"name":149,"count":137},"vue","Vue",[151,169,182,196,209,222],{"id":152,"topic":9,"difficulty":153,"body":154,"options":155,"correct_key":163,"explanation":168},"019f56bb-ba60-7832-a3d4-fea4bb5ee318",1,"What does `document.getElementById('menu')` return, compared with `document.querySelector('#menu')`?",[156,159,162,165],{"key":157,"text":158},"a","`getElementById` returns a NodeList containing every element whose id matches, while `querySelector` returns just the first element it happens to find in the document",{"key":160,"text":161},"b","`getElementById` searches by CSS selector, while `querySelector` can only search by an element's id",{"key":163,"text":164},"c","Both return the first matching element or `null`, but `getElementById` takes an id while `querySelector` takes any CSS selector",{"key":166,"text":167},"d","`getElementById` is deprecated in favour of `querySelector`, so new code should never use it any more","`getElementById` looks up a single element by its id and returns that element or `null`; `querySelector` returns the first element matching any CSS selector (so `'#menu'` works too) or `null`. Neither returns a NodeList (a) — that is `querySelectorAll`. `getElementById` is not deprecated (d); it is perfectly idiomatic and slightly faster for plain id lookups.",{"id":170,"topic":9,"difficulty":153,"body":171,"options":172,"correct_key":157,"explanation":181},"019f56bb-ba61-728e-9926-964730dbfd0f","You need every element with class `card` on the page. Which call gives you all of them?",[173,175,177,179],{"key":157,"text":174},"`document.querySelectorAll('.card')`, which returns a NodeList of all matching elements",{"key":160,"text":176},"`document.querySelector('.card')`, which returns every element that has that class",{"key":163,"text":178},"`document.getElementById('.card')`, which can select elements by their class name",{"key":166,"text":180},"`document.querySelectorAll('card')`, dropping the dot so it matches the class attribute","`querySelectorAll` returns a (static) NodeList of every element matching the selector; `querySelector` (b) stops at the first match only. The leading dot is required for a class (d) — without it `'card'` matches `\u003Ccard>` tags instead; and `getElementById` (c) accepts an id, not a class selector.",{"id":183,"topic":9,"difficulty":184,"body":185,"options":186,"correct_key":160,"explanation":195},"019f56bb-ba61-785c-a722-c8dcdc750efa",2,"Why is `element.addEventListener('click', handler)` generally preferred over setting an inline `onclick` attribute in the HTML?",[187,189,191,193],{"key":157,"text":188},"Because an inline `onclick` cannot call handler functions that take any arguments",{"key":160,"text":190},"Because `addEventListener` can attach several independent handlers for the same event without overwriting each other",{"key":163,"text":192},"Because `addEventListener` runs its handler before the page loads, whereas `onclick` waits until afterwards",{"key":166,"text":194},"Because an inline `onclick` fires only in the capturing phase and never during bubbling","`addEventListener` lets multiple listeners coexist for one event on one element, and it keeps behaviour out of the markup (separation of concerns). An inline `onclick` (or the `.onclick` property) holds a single handler, so assigning a new one replaces the old. Inline handlers can pass arguments (a), and both mechanisms fire in the bubbling phase by default (d).",{"id":197,"topic":9,"difficulty":184,"body":198,"options":199,"correct_key":166,"explanation":208},"019f56bb-ba62-70cc-8edb-279a627d9c38","What is a practical difference between reading `element.textContent` and `element.innerText`?",[200,202,204,206],{"key":157,"text":201},"`textContent` returns the surrounding HTML tags as part of the string, while `innerText` conveniently strips every one of those tags out for you first",{"key":160,"text":203},"`innerText` is always faster because reading it never triggers any layout work in the browser",{"key":163,"text":205},"They are exact synonyms — the browser computes and returns an identical string for both",{"key":166,"text":207},"`innerText` gives the rendered, visible text and skips hidden elements, while `textContent` returns every node's raw text","`innerText` is layout-aware: it approximates what the user actually sees, so it ignores `display:none` text and reading it can force the browser to compute layout. `textContent` returns the concatenated text of every node, hidden or not, and is cheaper. Neither returns HTML tags (a) — getting the tag string is what `innerHTML` does.",{"id":210,"topic":9,"difficulty":153,"body":211,"options":212,"correct_key":160,"explanation":221},"019f56bb-ba62-7790-a297-879a10c38558","In the DOM event model, what does 'bubbling' mean when you click a button that is nested inside a `\u003Cdiv>`?",[213,215,217,219],{"key":157,"text":214},"The click is handled on the outer `\u003Cdiv>` first, and only after that does it reach and fire on the button nested inside it",{"key":160,"text":216},"After firing on the button, the same event travels up to its ancestors (the `\u003Cdiv>`, then further up)",{"key":163,"text":218},"The event fires only on the button itself and never reaches any ancestor element",{"key":166,"text":220},"The browser keeps firing the event on the button until some handler returns `false`","Bubbling means the event is first handled on the actual target (the button) and then propagates upward through each ancestor, so a listener on the `\u003Cdiv>` runs too. Firing on the ancestor first (a) describes the earlier capturing phase, not bubbling. By default the event does reach ancestors, so (c) is wrong.",{"id":223,"topic":9,"difficulty":224,"body":225,"options":226,"correct_key":163,"explanation":235},"019f56bb-ba62-7e0a-9a89-3939445b8963",3,"```html\n\u003Cdiv id=\"outer\">\n  \u003Cbutton id=\"inner\">Click\u003C\u002Fbutton>\n\u003C\u002Fdiv>\n```\n```js\nouter.addEventListener('click', () => log('outer'), true);  \u002F\u002F capture\ninner.addEventListener('click', () => log('inner'));        \u002F\u002F bubble\n```\nWhen the button is clicked, in what order do the handlers log?",[227,229,231,233],{"key":157,"text":228},"`inner` then `outer`, because the element that was actually clicked always runs its own handler before any of its ancestors do",{"key":160,"text":230},"`outer`, then `inner`, then `outer` again, because it is registered in both phases",{"key":163,"text":232},"`outer` then `inner`, because the capturing listener on the ancestor runs before the target's bubbling listener",{"key":166,"text":234},"Only `inner`, because a capturing listener does not fire on an ordinary click","The third argument `true` registers `outer`'s listener for the capturing phase, which travels top-down before reaching the target — so `outer` logs first, then the event reaches `inner`. If `outer` had used the default (bubbling), the order would flip to `inner` then `outer` (a). `outer` is registered once, in one phase, so it fires once (b).",{"fields":237,"seniorities":410,"interview_shapes":411,"locales":416,"oauth":418,"question_count":421,"coach_enabled":422,"jd_match_enabled":422},[238,263,271,287,311,324,343,362,384,391,397,404],{"key":239,"name_tr":240,"name_en":240,"sort":153,"specializations":241},"backend","Backend",[242,245,248,251,254,257,260],{"key":243,"name":244,"field":239},"general","Genel",{"key":246,"name":247,"field":239},"go","Go",{"key":249,"name":250,"field":239},"python","Python",{"key":252,"name":253,"field":239},"java","Java",{"key":255,"name":256,"field":239},"csharp","C#\u002F.NET",{"key":258,"name":259,"field":239},"nodejs","Node.js",{"key":261,"name":262,"field":239},"php","PHP",{"key":5,"name_tr":6,"name_en":6,"sort":184,"specializations":264},[265,266,267,268,269,270],{"key":243,"name":244,"field":5},{"key":139,"name":140,"field":5},{"key":145,"name":146,"field":5},{"key":142,"name":143,"field":5},{"key":148,"name":149,"field":5},{"key":135,"name":136,"field":5},{"key":272,"name_tr":273,"name_en":273,"sort":224,"specializations":274},"fullstack","Fullstack",[275,276,277,278,279,280,281,282,283,284,285,286],{"key":243,"name":244,"field":272},{"key":246,"name":247,"field":239},{"key":249,"name":250,"field":239},{"key":252,"name":253,"field":239},{"key":255,"name":256,"field":239},{"key":258,"name":259,"field":239},{"key":261,"name":262,"field":239},{"key":139,"name":140,"field":5},{"key":145,"name":146,"field":5},{"key":142,"name":143,"field":5},{"key":148,"name":149,"field":5},{"key":135,"name":136,"field":5},{"key":288,"name_tr":289,"name_en":289,"sort":290,"specializations":291},"devops-cloud","DevOps \u002F Cloud",4,[292,293,296,299,302,305,308],{"key":243,"name":244,"field":288},{"key":294,"name":295,"field":288},"aws","AWS",{"key":297,"name":298,"field":288},"gcp","GCP",{"key":300,"name":301,"field":288},"azure","Azure",{"key":303,"name":304,"field":288},"kubernetes","Kubernetes",{"key":306,"name":307,"field":288},"terraform","Terraform",{"key":309,"name":310,"field":288},"linux","Linux",{"key":312,"name_tr":313,"name_en":313,"sort":314,"specializations":315},"ai-engineer","AI Engineer",5,[316,317,318,321],{"key":243,"name":244,"field":312},{"key":249,"name":250,"field":312},{"key":319,"name":320,"field":312},"llm-rag","LLM\u002FRAG",{"key":322,"name":323,"field":312},"mlops","MLOps",{"key":325,"name_tr":326,"name_en":327,"sort":328,"specializations":329},"database","Veritabanı","Database",6,[330,331,334,337,340],{"key":243,"name":244,"field":325},{"key":332,"name":333,"field":325},"postgresql","PostgreSQL",{"key":335,"name":336,"field":325},"mysql","MySQL",{"key":338,"name":339,"field":325},"mongodb","MongoDB",{"key":341,"name":342,"field":325},"redis","Redis",{"key":344,"name_tr":345,"name_en":346,"sort":347,"specializations":348},"mobile","Mobil","Mobile",7,[349,350,353,356,359],{"key":243,"name":244,"field":344},{"key":351,"name":352,"field":344},"ios-swift","iOS (Swift)",{"key":354,"name":355,"field":344},"android-kotlin","Android (Kotlin)",{"key":357,"name":358,"field":344},"flutter","Flutter",{"key":360,"name":361,"field":344},"react-native","React Native",{"key":363,"name_tr":364,"name_en":365,"sort":366,"specializations":367},"security","Güvenlik","Security",8,[368,369,372,375,378,381],{"key":243,"name":244,"field":363},{"key":370,"name":371,"field":363},"appsec","AppSec",{"key":373,"name":374,"field":363},"offensive-pentest","Offensive \u002F Pentest",{"key":376,"name":377,"field":363},"cloud-security","Cloud Security",{"key":379,"name":380,"field":363},"devsecops","DevSecOps",{"key":382,"name":383,"field":363},"blue-team-incident","Blue Team \u002F Incident",{"key":385,"name_tr":386,"name_en":387,"sort":388,"specializations":389},"qa-test-automation","QA \u002F Test Otomasyonu","QA \u002F Test Automation",9,[390],{"key":243,"name":244,"field":385},{"key":392,"name_tr":393,"name_en":393,"sort":394,"specializations":395},"data-engineer","Data Engineer",10,[396],{"key":243,"name":244,"field":392},{"key":398,"name_tr":399,"name_en":400,"sort":401,"specializations":402},"game-dev","Oyun Geliştirme","Game Development",11,[403],{"key":243,"name":244,"field":398},{"key":405,"name_tr":406,"name_en":406,"sort":407,"specializations":408},"ml-engineer","ML Engineer",12,[409],{"key":243,"name":244,"field":405},[14,15,16],{"junior":412,"mid":414,"senior":415},{"questions":413,"median_sec":3},20,{"questions":413,"median_sec":3},{"questions":413,"median_sec":3},[417,10],"tr",[419,420],"google","github",21750,true]