Chris Bongersdaily-dev-tips.hashnode.net·Jan 14, 2021FeaturedRefactoring old codeAs a developer, you write code (duh), but this code might be outdated in one, three, five years. I think it's our responsibility to maintain this code if the budget allows it. In this case, the code has been written by my colleague pre ES6 times. I'm...120 likes·3.7K readsJavaScript
Shubham WajeforLearn Code Onlinefragile-pot-tutor-03.hashnode.net·Jan 26, 2021Promises in JavaScriptIn this article, you will learn about JavaScript promises, what they are, and how to use them effectively. What is Promise in JavaScript? A promise is an object that may produce a single value in the future after some time. Either it will be a reso...117 likes·2.3K readspromises
Prateek Gogiareeversedev.hashnode.net·May 18, 2021Enumeration in JavaScriptEnumerable in Javascript is basically an ability of a particular property of an object to exist and visible at the same time. Very subtle, what does that it even? Let's dive a bit more. While I was going through the official spec of EcmaScript to und...107 likes·710 readsJavaScript
Deediki.hashnode.net·Apr 24, 2023Mastering the Steps: Building a Simple To-Do List App with JavaScriptBeginners often build a to-do app when learning a new programming language because it's simple yet practical, utilizing fundamental programming concepts. It also offers an opportunity to learn about UI design, data storage, manipulation, and interact...1 like·31 readsJavaScript
Yash Nirmalyashnirmal.hashnode.net·Apr 15, 2023Making a Simple Ping Pong Game in Javascript using Phaser [No Phaser experience required]Overview Have you ever wanted to create your own simple game, but didn't know where to start? We create a simple paddle and ball game using Phaser. The rule for the game will be to not let the ball fall on the ground using a paddle. Although there is...JavaScript
Rohan Choudharyrohanc.hashnode.net·Apr 14, 2023Implementing Smooth Scroll in JavaScriptTL;DR: Implementing smooth scroll in JavaScript involves querying the DOM for the target element, calculating initial and current positions, setting up an animation loop with requestAnimationFrame(), defining an easing function for smooth animation, ...30 readsWeb Development
Oghor Alexanderoghor.hashnode.net·Apr 11, 2023Javascript Runtime EnvironmentJavascript is one of the most popular programming languages out there and for good reason. It can be used in both front-end and back-end web development, game development, AI, Machine learning projects, etc. An awesome language such as this has so mu...JavaScript
Rahul Mishracodingkida.hashnode.net·Mar 26, 2023What is Vanilla JavaScript? Is it different from JavaScript?Hi friends, welcome back to my new blog hope you are all well. Let's discuss the topic without wasting too much time. So what comes into your mind when we talk about Vanilla JavaScript? I don't know yours but when I heard this first time I felt that ...7 likesBeginner Developers
ArunKumar Sri Sailapathiarunkumars08.hashnode.net·Feb 22, 2023Implement Custom Promise from scratch using vanilla javascriptThis is another most commonly asked front-end interview question in most of the top companies. I myself have asked this question many times when I interviewed people in Amazon. This is a fairly straightforward question, to be honest, and if you are a...34 readsFrontend Engineering Interview Questionspromises
Mayur Lalwanimayurlalwani.hashnode.net·Feb 22, 2023Execution context in JavaScriptIn JavaScript, the execution context is the environment in which code is executed. Everything in JavaScript happens inside this execution context. Every time a function is executed, a new execution context is created. The execution context consists o...49 readsJavaScript
ArunKumar Sri Sailapathiarunkumars08.hashnode.net·Feb 22, 20232-way binding using Vanilla JavascriptIn this article, I implement "Two-way binding" using vanilla Javascript. Ok, but what's a two-way binding you ask? What's a Two-Way binding? To understand this, let's start by understanding what a data-binding actually is. Data Binding Data Binding i...41 readsFrontend Engineering Interview Questionstwo-way-data-binding
ArunKumar Sri Sailapathiarunkumars08.hashnode.net·Feb 19, 2023Retry failed promises using JavaScriptI recently found an exciting javascript problem online: "Retrying failed promises for specified n times". You have various libraries/utilities that do that but I wanted to try it with vanilla js. Before we move on to solving this problem, let's first...2 likes·53 readsFrontend Engineering Interview QuestionsJavaScript
Yash Nirmalyashnirmal.hashnode.net·Feb 13, 2023How I built a Space Shooter Game using only HTML and Javascript?Introduction I built a space recently. I use only VanillaJs for making the game. The overall game also consists of a 2nd website, where you can create your plating account, buy skins for ships and see the scoreboard for all the players playing the ga...1 like·31 readsJavaScript