blog.sagarkemble.devOptional chaining and Nullish coalescingOptional chaining (?.) As you know if there is a undefined property in object and we try to access then it throws error and stops the flow of code const obj = { name:"sagar", } console.log(obj.ag5h ago路2 min read
blog.sagarkemble.devFunction curry 馃崨What is Currying Currying is a technique where a function that takes multiple arguments is transformed into a sequence of functions, each taking one argument. //Instead of: f(a, b, c) // 1d ago路2 min read
blog.sagarkemble.devHow a Browser Works: A Beginner-Friendly Guide to Browser InternalsMain parts of a browser (high-level overview) Browser is mainly in high level divided into 7 parts Ui interface Browser engine Rendering engine Js engine Ui backend Network We will discuss all these parts in further points of the blog User I...Feb 1路5 min read
blog.sagarkemble.devCSS Selectors 101: Targeting Elements with PrecisionWhy CSS selectors are needed A webpage can have many elements paragraphs, headings, buttons, images. If you write CSS without selectors, the browser won鈥檛 know where to apply the style. Selectors help us target the right elements. They are the founda...Jan 31路2 min read
blog.sagarkemble.devUnderstanding HTML Tags and ElementsWhen you open any website, what you see text, images, buttons all of it is built on a basic structure. That structure is HTML. Think of HTML as the skeleton of a webpage. Just like a body needs bones to hold everything together, a webpage needs HTML ...Jan 31路2 min read