Vinit Rai (@LearnerVinit) header
Vinit Rai (@LearnerVinit) profile picture

From failed businesses to digital growth—sharing lessons in JavaScript, AI, digital marketing & entrepreneurship. AI for business is my next chapter. Let's Go!

India
Joined January 2018
Replying to @FlorinPop17
My solution:
3
155
Another CSS project. A proper responsive portfolio site with mobile-first approach. This time with - a design inspiration - assest - a proper planning Javascript used for menu toggle,mode toggle,theme switcher. For the first time,I used CSS Grids. Plz review this one guys.
3
6
369
So,I spent like 1 hour each day and built this in 3 days just to test my CSS skills. No prior design No assets No copy I built this with whatever came to mind. There are spacing issues, but I'm still sharing with you guys! Please review this. Thanks
10
1
19
1,521
Dear JS learners: An easy question -are these two functions the same or different.
3
5
560
Dear web devs: Is this a valid HTML?
19
1
17
9,455
Replying to @w3bits_
Nice work Rahul. Ok, So,backdrop-filter,background-image and box-shadow are the key properties to achieve a glassmorphic effect.
1
3
87
On this Sunday morning, I had an argument with chatGPT ,and finally the result.
3
1
7
779
A function returns a promise then resolves with a string after 1000 ms. I wrote both a then and an async/await variations to consume the promise. Here is what I got: What I know is 'await' is needed when we need a value from an async operation to continue.
1
1
26
Dear JS developers: Remember. javascript is single threaded. It waits for none, not even for an await. Any code that is dependent on a timer , a then block, an await keyword will run later(when the execution thread is free) but won't block the thread. 'start now- finish later'!
1
2
8
392
Promise chaining is an important concept in Javascript. Is the given code, a promise -chain??
3
1
7
757
Replying to @ojhabhumika28
Excellent explanation. Yes when 3 independent requests are being made, there is no need of a sequence. One request shouldn't wait for the other request to settle. Here, is another possible solution that I tried,using async/await.The idea was based on avoiding the 'await' k/w.
1
4
199