geekyjedy.hashnode.devMulti-threading in JavaScript with Web Workers and WebSocketWhy you should use Multi-Threading ? As we know, JavaScript is a single-threaded, synchronous language. When implementing a WebSocket on the main thread, it can lead to performance issues, especially if the WebSocket is handling heavy computations. T...Jan 19, 2025·4 min read
geekyjedy.hashnode.dev10 Array Methods in JavaScriptArray Methods in JavaScript are Following: 1) push() push() method is use to add element at the end of an Array example let car = ["alto", "wagonR", "swift", "eeco"]; car.push("ertiga"); console.log(car); //output: [ 'alto', 'wagonR', 'swift', 'eec...Nov 8, 2022·3 min read
geekyjedy.hashnode.devWhat is markdown file ?Headings # use for hadings from 1 # to 6 # we can create hadings its in big to small heading fonts Syntax Output bold fonts Syntax there are 2 ways to make fonts bold Output italic Syntax there are 2 ways to make fonts italic Out...Aug 15, 2022·2 min read
geekyjedy.hashnode.devPseudo selectors, elements and custom attribute in CSSPseudo selectors are as following: chained selectors combined selectors inside an element direct child siblings (~ and +) before, after focus first-child, last-child, nth-child(n) etc... custom attribute 1) Chained Selectors syntax //HTML <li cla...Aug 13, 2022·3 min read
geekyjedy.hashnode.devCSS Positions: Static, Relative, Absolute, Fixed, StickyStatic by default all elements are static (you can check it by opening developer tools>compute>check all default properties) Relative in Relative position we can apply following properties: Right Left Top Bottom so now our element moves from i...Aug 13, 2022·2 min read