OBULIPURUSOTHAMAN Kobulipurusothaman.hashnode.dev·Apr 12, 2024Javascript SnippetsGet current date and time const now = new Date(); EXPLANATION : The code const now = new Date(); is written in JavaScript and creates a new instance of the Date object, assigning it to the variable now. Here's a breakdown: new Date(): This is a con...Discuss·20 likesJavaScript
MKhalidwebdesignguy.me·Jan 8, 2024Trending JavaScript Snippets for Efficient Coding in 2024Trending JavaScript Snippets for Efficient Coding in 2024 JavaScript continues to be an indispensable language in web development, with its vast ecosystem constantly evolving. As we step into 2024, certain JavaScript code snippets have emerged as par...Discuss·1 like·37 readsJavaScript
Prince C. Ngumohachukwuemekangumoha.hashnode.dev·Jan 2, 2024Unwrapping HTML: A Gentle Peek into Web Building BasicsAs a child, I enjoyed playing the games on the Cartoon Network website. I still remember how happy I was back then to be able to load up that page every evening and play games on it. It was a joy. I always wondered how it all worked? How was it possi...Discuss·10 likesHTML
Mario Montellanetworkmario.hashnode.dev·Dec 29, 2023The Spread Operator in JavascriptWith “spread operators”, introduced starting with ECMAScript 6 (ES6), it is possible to copy all or part of an existing array or object into another array or object, combine arrays or objects, and pass an array to a function as a topic. The notation ...Discuss·27 readsJavaScript
JV conseiljv-conseil.hashnode.dev·Nov 26, 2023Python 🐍 Code SnippetsIn your repository, create a file under .vscode/python.code-snippets { // Place your workspace snippets here. // Each snippet is defined under a snippet name and has a scope, prefix, body and description. // Add comma separated ids of th...DiscussVSCode Tips
Rajarshi Samaddarrajarshisamaddar.hashnode.dev·Oct 18, 2023Generate Table Of Content From MarkdownCreating a Table of Contents manually is a very intimidating task. So in this post, I will share my code snippet that will help you to dynamically generate a Table of Contents from Markdown files programmatically. type TableItem = { level: number; he...Discuss·54 readssnippets
Aniket Pandharabaleaniketicloud.hashnode.dev·Oct 15, 2023VS Code snippet: console.log(), React FCWhen coding React, I use React plus Typescript pattern a lot. Also, you import { FC } from "react" interface OptionsProps { } export const Options: FC<OptionsProps> = () => { return ( <> </> ) } So, I made a snippet in VS-Code to red...Discussconsole.log
Syeda Maham Fahimsyedamahamfahim.hashnode.dev·Oct 6, 2023Quick Refresh of OOP In JAVAThis article serves as a comprehensive and concise review of key object-oriented programming (OOP) concepts in Java. It provides a quick revision for those already familiar with OOP principles, enabling them to refresh their knowledge efficiently. By...Discusssnippets
Jose Ramireznowaymyname.hashnode.dev·Aug 26, 2023Graphs in Python: A Deep Dive into Interconnected DataToday, we're going to traverse the expansive and intricate world of graphs. No, I'm not talking about the ones you doodled in high school math; I mean the ones in computer science that keep developers up at night and yet, equally mesmerized. Sit tigh...Discuss·59 readsgraphs
George Edozygeorgeedozy.hashnode.dev·Jun 22, 2023JavaScript Snippets for Common TasksJavaScript is a powerful language that allows you to accomplish a wide range of tasks. In this article, we'll explore 18 JavaScript code snippets for common tasks, from copying to clipboard and checking for dark mode to generating random integers and...Discuss·47 readscode snippets