GGambitinjavascriptfromscratch.hashnode.dev·1d ago · 11 min readJs - DOM 01So far we learned how JS ran in a console, the same JS also runs on the browser and can help us manipulate HTML and CSS as the user interacts. How JavaScript gets onto a page? The browser only runs JS00
GGambitinjavascriptfromscratch.hashnode.dev·Jul 13 · 11 min readJS - oops'this' and it's properties // this console.log(this) //{} function onGlobalStage() { return this; } function onGlobalStageStrict() { "use strict"; return this; } console.log(onGlobalSt00
GGambitinjavascriptfromscratch.hashnode.dev·May 31 · 10 min readJS - 3 simple DOM projects with writeup and key conceptsP01 : Counter App Problem statement : make a simple counter app, where you click an 'increment' button and a counter counts up from 0. If you press the 'save' button counter resets to 0 again but the 00
GGambitinjavascriptfromscratch.hashnode.dev·May 31 · 2 min readJS - Date ObjectObjects that contain values that represent dates and times, these date objects can be formatted and changed. const date1 = new Date() console.log(date1) // 2026-04-13T01:40:46.976Z This gives me cur00
GGambitinjavascriptfromscratch.hashnode.dev·May 31 · 3 min readJs - Maps and setSet It's just like arrays but contains only unique values (you can store anything numbers, strings, arrays, objects,.. as items inside it) let arr = [1,2,2,3,3,3] let s = new Set(arr) console.log(00