HTML ElementStructure This is the basic template or barebone structure of HTML. Boilerplate <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <!-- Body --> </body> </html> Copy Headings There are s...Jan 19, 2023·3 min read
React PropsWhat are React Props? We use props in React to pass data from one component to another (from a parent component to a child component). Props are just a shorter way of saying properties. They are useful when you want the flow of data in your app to be...Dec 6, 2022·2 min read
Intro to ReactWhat is React? It is a JavaScript library designed to create single-page applications with reusable UI components. How does it work? React stores the information DOM by creating a virtual DOM in its memory. Before it renders the DOM nodes onto the br...Nov 15, 2022·2 min read
Javascript PrototypeWhat is a prototype As you already know, every function has a prototype property, which contains an object. When this function is invoked using the new operator, an object is created and this object has a secret link to the prototype object. The secr...Nov 10, 2022·2 min read
JavaScript ClassesClass JavaScript supports the concept of classes as a syntax for creating objects. Classes specify the shared properties and methods that objects produced from the class will have. When an object is created based on the class, the new object is refer...Nov 2, 2022·2 min read
JavaScript and the DOMNodes in DOM tree A node in the DOM tree is the intersection of two branches containing data. Nodes can represent HTML elements, text, attributes, etc. The root node is the top-most node of the tree. The illustration shows a representation of a DOM c...Nov 1, 2022·5 min read
Javascript PromiseA JavaScript Promise object can be in one of three states: pending, resolved, or rejected. While the value is not yet available, the Promise stays in the pending state. Afterwards, it transitions to one of the two states: resolved or rejected. A reso...Oct 30, 2022·5 min read