Typescript: Type NarrowingWhen compiling TypeScript code to JavaScript, the compiler will throw any errors related to variable types. This process of compilation involves giving the TypeScript compiler the information it needs to perform type checks. Therefore, when we give t...Mar 3, 2025·4 min read
Intro to UI DesignContents UI Design Fundamentals Build a simple layout Full project refactoring Design Fundamentals White Space Color Contrast Scale Alignment Typography Visual Hierarchy White Space White Space is the empty space b/w the elements in the...Nov 15, 2023·4 min read
Notes: Making of Momentum DashboardAPIs in the app Weather API Unsplash API Cryptocurrency API Step 1: Calling API to set up the background image fetch("https://apis.scrimba.com/unsplash/photos/random?orientation=landscape&query=nature") .then(response => response.json()) ...Nov 14, 2023·3 min read
Async JavaScriptLet's first understand Synchronous Javascript: Each command must be completed before the next command can execute No two commands can be running at the same time as each other. E.g. for loops, console.log(), variable declaration, and mostly everyt...Nov 10, 2023·2 min read
URLs & RESTHTTP Requests Hypertext Transfer Protocol - A protocol determining how Hypertext (text) should be transferred over the internet. Components of a Request Path (URL) address where the desired resource "lives" BaseURL vs Endpoint: BaseURL stays the sa...Nov 8, 2023·2 min read
Intro to APIsAn API (Application Programming Interface) is any tool that helps connect your program with someone else program. API Examples Getting data from a server The server hosts "an API" - exposed "endpoints" we can access for getting data from the server....Nov 1, 2023·2 min read
Notes: Building Responsive SitesRelative v/s Absolute Units Absolute units like pixels will always appear the same size no matter where you view them. Not intended to be responsive. Relative Units are relative to another value, are dynamic and flexible, and can resize and scale com...Oct 17, 2023·5 min read