File permissions in unix-like OSs ft. ls stdoutnuclearegg69@zenbook-f13:~$ ls -l total 56 -rw-r--r-- 1 nuclearegg69 nuclearegg69 0 Oct 10 07:55 1 -rw-r--r-- 1 nuclearegg69 nuclearegg69 0 Oct 10 07:55 2 -rw-r--r-- 1 nuclearegg69 nuclearegg69 0 Oct 10 07:55 3 -rw-r--r-- 1 nuclearegg69 nucl...3 min read·justmyahia.hashnode.devDec 22, 2023
Quirks with 'value' attrib/prop on 'input' element/object<input value='something'> If we change the user input (text on ui) to be 'something else', what happens to the attribute value in the html and what happens to the value property on the dom object representing that element? The property value will ch...2 min read·justmyahia.hashnode.devDec 21, 2023
Closures !!A closure is a function with its outer function lexical scope/environment. What does 'lexical' mean? 'Lexical' means relating to words, so the 'lexical scope of a function' is the scope related to the wording of that function or the definition of th...4 min read·justmyahia.hashnode.devDec 18, 2023
HTML Collection vs NodelistBoth are array-like objects but they differ in some areas HTML Collection is a collection of element nodes is returned by 'getElementsByClassName' and 'getElementsByTagName' Nodelist contains all types of nodes: element nodes, text nodes, etc is r...1 min read·justmyahia.hashnode.devDec 17, 2023
window object and the DOMWhen we query an element in js using document.querySelector syntax. We might would want to stop a bit and think about what we wrote document.querySelector looks like the syntax we use for properties on a object where the name before the dot (.) repre...3 min read·justmyahia.hashnode.devDec 14, 2023