The Notifications API
The Notifications API allows web applications to send push notifications to users similar to native OS applications. This means web apps can notify users even if the application is idle or in the background.…
The Notifications API allows web applications to send push notifications to users similar to native OS applications. This means web apps can notify users even if the application is idle or in the background.…
Which HTML tag is used to define an internally embedded style sheet? <style> What is the difference between classes and ID's in CSS? Use IDs for individual elements. Use Classes for groups of elements. IDs have higher priority as selectors. What does * { box-sizing: border-box; } do? What…
What is doctype? Why do you need it? doctype tells the browser to parse the document as html5. Else it will guess how to parse it and can go into quirks mode. <!DOCTYPE html> It is the first tag of a valid html file, is not case-sensitive and…
Here's a brain dump of different frontend interview questions from my personal archive. In no particular order. What are the building blocks of HTML5/WHATWG? * Semantic markup (article, strong, em, mark, etc) * ES6/ES2015 * Video and Audio API * Canvas and SVG * Geolocation API * Communication API/Websockets * Web Worker…
A mid to senior frontend developer is expected to answer most if not all of these advanced javascript questions in some detail. What is asynchronous programming and why is it important in JavaScript? Synchronous programming means that code is executed sequentially from top-to-bottom, blocking on long-running tasks such as network…
Here are some frequently asked JavaScript interview questions. You can expect to be asked these types of questions in a phone screening or a first round interview, depending on the position and your experience. What is scope? scope is the set of rules that determines where and how a variable…