Sayantan Manna

188 posts

Sayantan Manna banner
Sayantan Manna

Sayantan Manna

@stevesayantan

👨‍💻 Aspiring Full-Stack Dev | Backend Enthusiast 🌐 | Security & DevOps | Open Source Contributor 🚀 | Tech Blogger 📝 #CodePassion

Chandannagar , Hooghly Katılım Kasım 2017
71 Takip Edilen21 Takipçiler
Sayantan Manna
Sayantan Manna@stevesayantan·
@striver_79 Add the solutions of the easy and medium string questions, at least.
English
0
0
0
36
Striver | Building takeUforward
What features will you like to see in the free version of TUF? We are doing a revamp, so feedbacks will help us all 🤝🙌
English
75
4
452
41.5K
Pradumna Saraf
Pradumna Saraf@pradumna_saraf·
@stevesayantan Hey, You can do something like in the Twitter search box (from:pradumna_saraf) -filter:replies docker. Replace the 'docker' keyword with the topic you want to search for. I hope it helps and thanks for checking out my tips :)
English
2
0
6
228
Sayantan Manna
Sayantan Manna@stevesayantan·
Hey @pradumna_saraf, is there a better way to find the tips you share on Twitter other than digging through your profile? 😶‍🌫️
English
1
0
5
729
Sayantan Manna
Sayantan Manna@stevesayantan·
@kunalstwt The term "Binary" itself means consisting of two parts . Therefore, splitting the lecture into two parts would serve that sense as well 😉
English
0
0
33
1.4K
Sayantan Manna
Sayantan Manna@stevesayantan·
@LearnerVinit @layer layer ensures that .myCard is added to the components layer i.e. it is a class-based style that can be overridden by utilities. However, in the second case, .myCard will be added at the bottom of the utilities layer and cannot be modified with utility classes, due to specificity
English
1
0
1
29
Vinit Rai
Vinit Rai@LearnerVinit·
I need help with tailwind input css file. I want to understand the difference b/w: 1) @layer components{ .myCard{ } } 2) .myCard{ } What difference does layer make here?? Thanks
English
1
1
4
382
Bhumika Ojha | Javascript
Bhumika Ojha | Javascript@ojhabhumika28·
👋 Hey #Javascript folks! 🥳 I've created a quiz website that you can use to ace your next job interview or brush up on a specific JS topic 👉 Take the quiz, give your feedback, & please help spread the word by retweeting! 🙏 Thank you for the support jsquiz.info
English
30
49
242
48.8K
Sayantan Manna
Sayantan Manna@stevesayantan·
@ojhabhumika28 This is dope af!! Finally, the struggle of scrolling down miles to find a previous quiz comes to an end 🥳
English
1
0
1
55
Sayantan Manna
Sayantan Manna@stevesayantan·
@LearnerVinit The first one will select elements having both "app" and "dark" class. The second one will select elements having "dark" class inside a parent element with "app" class.
English
1
0
2
20
Vinit Rai
Vinit Rai@LearnerVinit·
A simple css question. Explain the difference between these two selectors: 1 .app.dark{} 2 .app .dark{}
English
1
1
4
256
Sayantan Manna
Sayantan Manna@stevesayantan·
@ojhabhumika28 'fn' should contain a return statement, otherwise it will log an error after logging 1 2
English
0
0
0
12
Sayantan Manna
Sayantan Manna@stevesayantan·
@tapasadhikary Tbh, all of them look super interesting. It would be fantastic if you cover the remaining topics in subsequent videos .
English
2
0
2
45
Sayantan Manna
Sayantan Manna@stevesayantan·
@ojhabhumika28 When print() is called, the interpreter looks for the value of 'text' inside the function scope. If not found, it starts searching the outer scope of the function and gets the value of 'text' as 'foo' . Therefore, it logs 'foo'
English
1
0
1
93
Bhumika Ojha | Javascript
Bhumika Ojha | Javascript@ojhabhumika28·
JavaScript closures allow inner functions to access the outer function's scope, even after the outer function has finished execution 😎 Check out the code 👇 and share your thoughts: Can the print function access the text variable after outerFn is done? #Javascript
Bhumika Ojha | Javascript tweet media
English
7
6
37
2.7K
Sayantan Manna
Sayantan Manna@stevesayantan·
@saurabhsri108 @ojhabhumika28 async function always returns a promise which gets resolved with the returned value from the async function itself. As we are not returning any value from this async function, the return value is 'undefined'. Therefore, it returns a promise that gets resolved with 'undefined' .
English
0
0
1
14
Bhumika Ojha | Javascript
Bhumika Ojha | Javascript@ojhabhumika28·
🚨ASYNC/AWAIT QUIZ ALERT🚨 What will be logged to the console when foo() is called in this code? 🤔 Let's code like a pro! 💪 #javascript
Bhumika Ojha | Javascript tweet media
English
14
3
34
3.5K
Sayantan Manna
Sayantan Manna@stevesayantan·
@ojhabhumika28 The logged promise will be in fulfilled state , as the value passed in Promise.resolve() is a non-thenable . However, as we are not using 'await', we do not get the resolved value (i.e. 5) in 'data' .
English
0
0
1
12
Sayantan Manna
Sayantan Manna@stevesayantan·
@ojhabhumika28 Just discovered that, callAsync() returns a 'pending' promise due to the presence of 'await' keyword in it. Due to the asynchronous behavior of 'await', the promise returned by callAsync() gets printed at its initial (pending) state itself.
English
1
0
1
25
Bhumika Ojha | Javascript
Bhumika Ojha | Javascript@ojhabhumika28·
@stevesayantan callAsync() will return a promise in a pending state only & later, state of the promise will be resolved to fulfilled But the point is - Async functions return promises. To access the result, you can either use .then() or await within an async function Hope that makes sense! 😊
English
2
0
1
50
Bhumika Ojha | Javascript
Bhumika Ojha | Javascript@ojhabhumika28·
🚀 Ready for a deeper dive into Async/Await & Promises in JavaScript? 🤔 Check out this code snippet where the async function resolves a Promise with value 1 and returns 3! 🙌Can you predict what will be logged? Share your thoughts in the comment below. 💻 #JavaScript
Bhumika Ojha | Javascript tweet media
English
5
3
20
2.5K
Sayantan Manna
Sayantan Manna@stevesayantan·
@ojhabhumika28 It does!! I had some doubts regarding the states of promise. As always, going through the MDN Docs cleared that. Looking forward to the next quiz 😇
English
1
0
1
22
Sayantan Manna
Sayantan Manna@stevesayantan·
@ojhabhumika28 The output is as expected however, the [[PromiseState]] shows "fulfilled", what's the case? Isn't it supposed to be "pending"?
Sayantan Manna tweet media
English
1
0
1
51
Bhumika Ojha | Javascript
Bhumika Ojha | Javascript@ojhabhumika28·
@stevesayantan this answer might not be quite right. When running this code, we'll actually get a Promise that's still in a pending state.
English
1
0
0
127
Sayantan Manna
Sayantan Manna@stevesayantan·
@LearnerVinit Discovering an unknown topic of JS from twitter --> Refer to MDN for details --> Repeat
English
0
0
0
15
Vinit Rai
Vinit Rai@LearnerVinit·
@stevesayantan Yes, u r right, there is always so much to learn. I would suggest 'MDN' as a very reliable resource for learning.
English
1
0
1
16
Vinit Rai
Vinit Rai@LearnerVinit·
Dear Js devs: What do u mean by a 'thenable' in javascript?
English
2
0
1
367