Awesome tutorial, i really liked swapping of the currency, since the setters will be called after the function is called and at the same time, the swapping works just fine.
let numbers = [1, 2, 3, 3, 4, 5, 5]; let uniqueNumbers = numbers.filter(function(value, index, array) { return array.indexOf(value) === index; }); console.log(uniqueNumbers); // Output: [1, 2, 3, 4, 5] In this example, we have an array of numbers with some duplicates. We use the filter() Method to create a new array called “uniqueNumbers” that only includes unique values. The callback function uses the indexOf() Method to check if the current value is the first occurrence in the array. If it is, the value is included in the new array; otherwise, it is excluded. As a result, the “uniqueNumbers” array only contains the unique values from the original array.
I'm not getting the tailwind suggestion even after installing the tailwind intelisense extension. Only way it pulls up for me is when I press Ctlr + Space. Let me know the solution, I think I'm doing something wrong
Sorry, Tailwind sucks. Do the same video without it please. Really, there must be a dozen css libs out there. I find few of them useful. MUI is my favorite right now.
Roadside to Dream Job - Frontend Interview Prep Course 🔥🔥
roadsidecoder.com/course-details (50% Discount for limited time)
thank you for the wonderful video bro, it is so helpful for me and my team, thanks again bro
Awesome tutorial, i really liked swapping of the currency, since the setters will be called after the function is called and at the same time, the swapping works just fine.
Superb tutorial
hell yeah brother
nice video i needed it
let numbers = [1, 2, 3, 3, 4, 5, 5];
let uniqueNumbers = numbers.filter(function(value, index, array) {
return array.indexOf(value) === index;
});
console.log(uniqueNumbers); // Output: [1, 2, 3, 4, 5]
In this example, we have an array of numbers with some duplicates. We use the filter() Method to create a new array called “uniqueNumbers” that only includes unique values. The callback function uses the indexOf() Method to check if the current value is the first occurrence in the array. If it is, the value is included in the new array; otherwise, it is excluded.
As a result, the “uniqueNumbers” array only contains the unique values from the original array.
Thank you sir for this awesome content
Amazing content
nice
13:17
After putting the api url i got blank page
const currencies = new Set(["INR","AUD","CNY"])
const fav = new Set(["INR"])
const nonFav = [...currencies.difference(fav)]
How can we use rounter in this
I'm not getting the tailwind suggestion even after installing the tailwind intelisense extension. Only way it pulls up for me is when I press Ctlr + Space. Let me know the solution, I think I'm doing something wrong
Add this code in your settings.json in vscode
"tailwindCSS.includeLanguages": {
"html": "html",
"javascript": "javascript",
"css": "css"
},
"editor.quickSuggestions": {
"strings": true
}
🙏🙂👍
Sorry, Tailwind sucks. Do the same video without it please. Really, there must be a dozen css libs out there. I find few of them useful. MUI is my favorite right now.
doesnt matter if it sucks or not, you will still have to write it in your job to make money
First 😂😂