I did this with React and only passed 12 of the tests, i tried putting the same code that i've write into a code pen and now all the tests works, any idea of why this happen?
Thank You Mohammed. You've been so helpful. I wondered if it's necessary to use the useEffect hook though. I edited your code by discarding the output state and working with the calculatorData only instead and everything seems to work just fine. Any downside to this please?
I have some questions, i don't understand why you always use if condition with if (lastCHar === "*" || operators.includes(lastChar)) instead of if(operators.includes(lastChart) to check value has operators or not. Why * operator need to be set as a condition?
first time i did not like your teaching style . you just bringing ready code and explaning what is that. this is not the way teaching code it must be step by step not JUMPING
You've no idea how incredibly helpful this was to watch step-by-step. Thank you so much for your time and for sharing!
Glad it was helpful
Thankyou sir for this video. I was stuck in last step. But I watched this video again & again and finally done.
@@sunitarawat8018 glad it helped
Make sure to SUBSCRIBE and enable the bell for more tutorials, help the channel with share and like, thanks in advance. ❤️❤️
I did this with React and only passed 12 of the tests, i tried putting the same code that i've write into a code pen and now all the tests works, any idea of why this happen?
Thanks for the concise explanation. It's very helpful!😊
Glad it helped
Thank You Mohammed. You've been so helpful. I wondered if it's necessary to use the useEffect hook though. I edited your code by discarding the output state and working with the calculatorData only instead and everything seems to work just fine. Any downside to this please?
If you got it working with using useEffect that more efficient 👍
Usually I would recommend not to use useEffect unless if you have to.
Thank you Mo!!
Also, though all tests are passed, I feel like it should also perform -9+6 type of operation. No big deal though😂😂...Thank you again❤
You're welcome 😊
thanks
You're welcome
tks bro. but you can update how to round 4 decimal number and display : Limit Number if the value is too long
Add what you need to be rounded to this instead of num: Math.round(num * 10000) / 10000
Thanks it is un support to each one to learn thanks
You're welcome
excellent video! i am wondering how long did it take you to get your first job as a programmer?
Thank you, it took me around 6 months to get my first job, always the beginning is hard, don't give up.
Please make a react(hooks) testing tutorial on a function or onclick which is not been passed as props!
Here is: th-cam.com/video/2GLSEVjm7Zc/w-d-xo.html
I have some questions, i don't understand why you always use if condition with if (lastCHar === "*" || operators.includes(lastChar)) instead of if(operators.includes(lastChart) to check value has operators or not. Why * operator need to be set as a condition?
hello, recently i tried this source code in my codepen, but not passing all tests and css also not working i don't no why ?
You need to watch the full tutorial to find out how to use the code
can someone explain the difference of using ' ' and ` `? is he using ` `?
Using `` you can write in multiple lines and can also include variables in the string by wrapping them inside like this: ${var}
string template literals
first time i did not like your teaching style . you just bringing ready code and explaning what is that. this is not the way teaching code it must be step by step not JUMPING
it is good,but i can not understand your english language.saying this that ???note a good explanation.
I will work to improve this/that :) 🙂