Ankit Saxena
Ankit Saxena
  • 63
  • 26 158
Building Nested Comments Feature in Vanilla JavaScript | Frontend Interview Question
In this video, we are going to build nested comments from scratch using pure JavaScript! In this tutorial, we'll create a fully functional nested comments feature for threaded discussions. No frameworks or libraries required!
Timestamps:
00:00 Introduction
01:07 HTML
04:34 CSS
10:08 JS
27:46 Reply functionality
48:41 Delete functionality
Fiddle Link (source code) - jsfiddle.net/ankitsaxena26/0qwkajue/11/
LinkedIn Profile - www.linkedin.com/in/iankit/
มุมมอง: 280

วีดีโอ

Creating Autocomplete/Typeahead Feature in Vanilla JavaScript | Frontend Interview Question
มุมมอง 1757 หลายเดือนก่อน
In this video, we are going to build an autocomplete/typeahead feature from scratch using pure JavaScript! In this tutorial, we'll create a fully functional autocomplete feature that suggests options as users type, enhancing their search experience without relying on external libraries. Timestamps: 00:00 Introduction 00:10 HTML 01:42 CSS 06:33 JS Fiddle Link (source code) - jsfiddle.net/ankitsa...
Creating Reusable Modal Feature in Vanilla JavaScript using Classes | Frontend Interview Question
มุมมอง 867 หลายเดือนก่อน
In this video, we are going to build a versatile and reusable modal component in vanilla JavaScript using classes! In this tutorial, we'll create a flexible modal feature that dynamically shows custom UI content with ease. Timestamps: 00:00 Introduction 00:50 HTML 01:37 CSS 04:03 JS Fiddle Link (source code) - jsfiddle.net/ankitsaxena26/xdpmyf4b/16/ LinkedIn Profile - www.linkedin.com/in/iankit/
Implementing Custom Selectors in JavaScript | Frontend Interview Question
มุมมอง 477 หลายเดือนก่อน
In this video, we are going to learn how to implement our own custom selectors in JavaScript, similar to getElementById(), getElementsByClassName(), and querySelectorAll(). Understanding the inner workings of native DOM selectors is essential for mastering JavaScript. By the end of this tutorial, you'll be equipped to create custom selectors and enhance your DOM manipulation skills. Timestamps:...
Implementing a Memoization Function in JavaScript: A Basic Example | Frontend Interview Question
มุมมอง 337 หลายเดือนก่อน
In this video, we are going to learn how to implement memoization in JavaScript to optimize function performance! Memoization is a powerful technique for caching function results, reducing computation time, and making your code more efficient. Timestamps: 00:00 Introduction 00:23 Problem Statement 01:01 Solution 03:27 Dry Run Github (source code) - github.com/ankitsaxena21/Machine-Coding-Questi...
Compose and Pipe Functions in JavaScript | JavaScript Tutorial
มุมมอง 412ปีที่แล้ว
In this video, we are going to learn how to create pipe and compose functions in this JavaScript. Timestamps: 00:00 Introduction 00:09 What are pipe and compose functions? 01:57 Compose function 06:35 Pipe function 10:18 Lodash _.flow() and _.flowRight() GitHub Repo (source code) -github.com/ankitsaxena21/Compose-and-Pipe LinkedIn Profile - www.linkedin.com/in/iankit/
Convert f(a, b, c) to f(a)(b)(c) in JavaScript | JavaScript Interview Question (Currying)
มุมมอง 88ปีที่แล้ว
In this video, we are going to solve a popular javascript currying interview question. Timestamps: 00:00 Introduction 00:19 What is currying in javascript? 02:15 Solution 08:08 Code explanation with dry run GitHub Repo (source code) - github.com/ankitsaxena21/JS-Once-Polyfill LinkedIn Profile - www.linkedin.com/in/iankit/
Javascript Clone Object | Writing own deep clone function | JavaScript Interview Question
มุมมอง 122ปีที่แล้ว
In this video, we are going to learn how to deep clone a javascript object correctly. We'll see multiple solutions to do so - spread operator, Object.assign(), writing own deep clone function, using library like lodash, and JSON.stringify. Timestamps: 00:00 Introduction 01:34 Using spread operator 01:58 Using Object.assign() 02:18 Problem with spread operator and Object.assign() 03:46 Using JSO...
Implement Group By in JavaScript | JavaScript Interview Question
มุมมอง 112ปีที่แล้ว
In this video, we are going to learn about what is _.groupBy() function in lodash and how we can write our own implementation of it using the reduce() method. Timestamps: 00:00 Introduction 00:13 Lodash _.groupBy() 04:09 Creating our own implementation of _.groupBy() method 08:07 Code explanation with dry run GitHub Repo (source code) - github.com/ankitsaxena21/Group-By JavaScript LinkedIn Prof...
Run javascript function only once | JavaScript Interview Question (Closures)
มุมมอง 820ปีที่แล้ว
In this video, we are going to learn about how we can make any function run only once in JavaScript. We'll see how it's done in lodash using the _.once() function as well as we'll write our own implementation of _.once(). Timestamps: 00:00 Introduction 02:39 Lodash _.once() 05:30 Creating our own implementation of _.once() method GitHub Repo (source code) - github.com/ankitsaxena21/JS-Once-Poly...
Permutations II - Leetcode 47 - JavaScript
มุมมอง 151ปีที่แล้ว
In this video, we are going to solve the permutations II problem on leetcode in JavaScript Leetcode link - leetcode.com/problems/permutations-ii/ Timestamps: 00:00 Read the problem 00:42 Drawing Explanation 04:45 Coding Explanation LinkedIn Profile - www.linkedin.com/in/iankit/
Permutations - Leetcode 46 - JavaScript
มุมมอง 249ปีที่แล้ว
In this video, we are going to solve the permutations problem on leetcode in JavaScript Leetcode link - leetcode.com/problems/permutations/description/ Timestamps: 00:00 Read the problem 00:18 Drawing Explanation 10:08 Coding Explanation LinkedIn Profile - www.linkedin.com/in/iankit/
Best Time to Buy and Sell Stock II - Leetcode 122 - JavaScript
มุมมอง 58ปีที่แล้ว
In this video, we are going to solve the best time to buy and sell stock II problem on leetcode in JavaScript Leetcode link - leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/ Timestamps: 00:00 Read the problem 00:44 Drawing Explanation 03:37 Coding Explanation LinkedIn Profile - www.linkedin.com/in/iankit/
LRU Cache - Leetcode 146 - JavaScript | Two Ways To Implementation LRU Cache In JS
มุมมอง 237ปีที่แล้ว
In this video, we are going to solve the LRU cache problem on leetcode in JavaScript Leetcode link - leetcode.com/problems/lru-cache/ Timestamps: 00:00 Read the problem 01:16 Drawing Explanation - 1st Approach 10:56 Coding Explanation - 1st Approach 16:03 Drawing Explanation - 2nd Approach 27:07 Coding Explanation - 2nd Approach LinkedIn Profile - www.linkedin.com/in/iankit/
Minimum Insertion Steps to Make a String Palindrome - Leetcode 1312 - JavaScript
มุมมอง 325ปีที่แล้ว
In this video, we are going to solve the minimum insertion steps to make a string palindrome problem on leetcode in JavaScript Leetcode link - leetcode.com/problems/minimum-insertion-steps-to-make-a-string-palindrome/ Timestamps: 00:00 Read the problem 00:58 Drawing Explanation 05:36 Coding Explanation LinkedIn Profile - www.linkedin.com/in/iankit/
Word Ladder- Leetcode 127 - JavaScript -
มุมมอง 125ปีที่แล้ว
Word Ladder- Leetcode 127 - JavaScript -
Network Delay Time - Leetcode 743 - JavaScript - Dijkstra Algorithm
มุมมอง 2322 ปีที่แล้ว
Network Delay Time - Leetcode 743 - JavaScript - Dijkstra Algorithm
Find Eventual Safe States - Leetcode 802 - JavaScript
มุมมอง 892 ปีที่แล้ว
Find Eventual Safe States - Leetcode 802 - JavaScript
Find the Town Judge - Leetcode 997 - JavaScript
มุมมอง 1182 ปีที่แล้ว
Find the Town Judge - Leetcode 997 - JavaScript
Intersection of Two Linked Lists - Leetcode 200 - JavaScript
มุมมอง 1012 ปีที่แล้ว
Intersection of Two Linked Lists - Leetcode 200 - JavaScript
Longest Palindromic Subsequence - Leetcode 516 - JavaScript
มุมมอง 1592 ปีที่แล้ว
Longest Palindromic Subsequence - Leetcode 516 - JavaScript
Longest Common Subsequence - Leetcode 1143 - JavaScript
มุมมอง 902 ปีที่แล้ว
Longest Common Subsequence - Leetcode 1143 - JavaScript
3Sum Closest - Leetcode 16 - JavaScript
มุมมอง 1202 ปีที่แล้ว
3Sum Closest - Leetcode 16 - JavaScript
3Sum - Leetcode 15 - JavaScript
มุมมอง 1512 ปีที่แล้ว
3Sum - Leetcode 15 - JavaScript
Number of Islands - Leetcode 200 - JavaScript
มุมมอง 2262 ปีที่แล้ว
Number of Islands - Leetcode 200 - JavaScript
All Nodes Distance K in Binary Tree - Leetcode 863 - JavaScript
มุมมอง 2122 ปีที่แล้ว
All Nodes Distance K in Binary Tree - Leetcode 863 - JavaScript
Minimum Path Sum - Leetcode 64 - JavaScript
มุมมอง 1722 ปีที่แล้ว
Minimum Path Sum - Leetcode 64 - JavaScript
Merge k Sorted Lists - Leetcode 23 - JavaScript
มุมมอง 1242 ปีที่แล้ว
Merge k Sorted Lists - Leetcode 23 - JavaScript
Longest Substring Without Repeating Characters - Leetcode 3 - JavaScript
มุมมอง 1262 ปีที่แล้ว
Longest Substring Without Repeating Characters - Leetcode 3 - JavaScript
Letter Combinations of a Phone Number - Leetcode 17 - JavaScript
มุมมอง 1872 ปีที่แล้ว
Letter Combinations of a Phone Number - Leetcode 17 - JavaScript