Hi Bub, Thank you fro making this video series, really helpful! This is my code: function checkNum(x,y){ if(x||y === 100 || x+y === 100){ return true; } else{ return false } } console.log(checkNum(44,3));
@j__o__k__e__r8 күн бұрын
Ternary operator is so overpowerd mostly replace if else
@TechBox20268 күн бұрын
Nice
@alfiesolomon35319 күн бұрын
Ok i Love that! Need to watch more speedruns like that, it's so motivating
@Pythonchannel-kj4lm9 күн бұрын
Here is my solution for the coin conversion..function convertToCoins(amount, coins) { let result = []; for (let i = 0; i < coins.length; i++) { while (amount >= coins[i]) { amount -= coins[i]; result.push(coins[i]); } } return result; } // Example usage: let amount = 46; let possibleCoins = [25, 10, 5, 2, 1]; let output = convertToCoins(amount, possibleCoins); console.log(output); // Output: [25, 10, 10, 1]
@corecomputer89413 күн бұрын
How to close current tab
@INDClashers13 күн бұрын
Nice video buddy
@MasterSha114 күн бұрын
css makes html better
@bishalpani756916 күн бұрын
It's all about background pic
@arunshet17 күн бұрын
thank you very much
@75hilmar18 күн бұрын
GOOGIE
@greendsnow19 күн бұрын
I was running a server to do this basically
@timothyluppes266520 күн бұрын
Hé Bubb, question: regarding the modal tutorial. I’m using glitch, it doesn’t toggle open close when you press the content element. It opens, but doesn’t closes, expected when I put a space in the code it reacts. Thoughts ?
@ierikun20 күн бұрын
i'll be having my first interview tomorrow... A company called which I also failed their entrance exam called me for an Interview.. im scared
@VideosViraisVirais-dc7nx20 күн бұрын
Onde ce oegas as imagens
@pragyamimaharjan462122 күн бұрын
it's an enjoyable mini-project. As a beginner, I loved it. Tysm🤍
@skndash9622 күн бұрын
I'm sorry but did u forget about a breakpoint called mobile?
@dfsfsdsfdfdn-mb8yc22 күн бұрын
Hi . thank you for these wonderful excercises. Although, i should point out that the ternary operator in your fourth excercise will return the wrong value if the input values are greater than 100, eg- 120 and 150, the function will output that 150 is closest to 100 than 120. we indeed need two if statements and one else for the correct output. if (Math.abs(num1 - 100) < Math.abs(num2 - 100)) return num1; if (Math.abs(num1 - 100) > Math.abs(num2 - 100)) return num2; else return "equal";
I am a beginner So I don't know about time complexity is my solution right ?
@JonnyReaper23 күн бұрын
Just encountered pipes for the first time yesterday, this was a great explanation of how to use them and what they can be used for. Big thumbs up 👍😁
@KRSNABhaktiAnimated23 күн бұрын
helpful!
@Positive-Pulse-iz26 күн бұрын
I have an another solution for exercise 1: Const leapYear(year){ if(year % 4 === 0){ return true; }else{ return false; } Console.log(leapYear(2016); }
@doanduchanh856427 күн бұрын
great
@findingaadi27 күн бұрын
I am in final year of my degree now and aced through all these questions, but have major doubts on if I will get a job at the end of my degree for a junior position. how can I get ahead from the position I am in?
@saikiran900329 күн бұрын
Awesome, Thank You!
@RafaelSales5529 күн бұрын
Thank you a lot for the video. Question, if you have SSL certificate, woulndt you have to point it at plausible docker compose file? Because it uses secure web sockets
@LocalmarketpacАй бұрын
Outstanding content! I wish half the screen was not hidden most of the time
@CamaguNcosoАй бұрын
This video was suggested by KZfaq to my feed. I'll drop another feedback when I'm done with building all the projects in this vid.
@anasanas6027Ай бұрын
Bro! Are these projects enough to start studying react js
@evelynandpudding6906Ай бұрын
AHHHH thank you!! However, I do have one question. Am I allowed to write code before writing button code? Or should that be the first thing that I write? Because so far this is my code following by your steps and my already-known experience: console.log("Hello, and welcome!"); let hello = 5; console.log(hello); hello = 5 cookies; console.log(hello); console.log("Look up and you will see that there are exactly 5 cookies! Continue?"); const btn = document.createElement('button'); btn.innerText = 'New Button'; "New Button" document.body.apendChild(btn); <button>New Button</button> btn.innerText = 'Another Button'; "Another Button" btn.addEventListener('click', () => { alert ('Button clicked'); }); let snake = 500; console.log(snake); console.log("Look above and you see five hundred! This is because we multipled '5' × '100'!");
@LagrangePoint0Ай бұрын
Awesome tutorial!
@Imran-ue5ohАй бұрын
use my code in last exercise let date = de_string_tu => de_string_tu.startsWith("New!")?de_string_tu:de_string_tu.padStart(de_string_tu.length+4,"New!"); console.log(date("Javscript"));
@PranavRPiseАй бұрын
Exercise 5: const firstNotRepeatedChar = (str) => { for (let i = 0; i < str.length; i++) { if (str.indexOf(str[i]) === str.lastIndexOf(str[i])) { return str[i]; } } return null; // Return null if no non-repeated character is found } console.log(firstNotRepeatedChar('encyclopedia')); // Output: 'n'
@PranavRPiseАй бұрын
Exercise 4: const extractUniqueCharacters = (str) => str.split('').filter(x => /\W/.test(x)); Oh! I thought unique characters meant characters like $, %, ^, etc... 😅
@PranavRPiseАй бұрын
Exercise 3: const amountToCoins = (amount, coins) => { let coinArray = []; for (let coin of coins) { while (amount >= coin) { amount -= coin; coinArray.push(coin); } } return coinArray; }
@PranavRPiseАй бұрын
Exercise 2: const countVowels = (str) => str.split('').filter(x => (x === 'a' || x === 'e' || x === 'i' || x === 'o' || x === 'u')).length;
@joeyreyes9666Ай бұрын
const paragraph = document.querySelector("p"); paragraph.innerText = paragraph.innerText .replaceAll("?", "🤔") .replaceAll("!", "😲"); this is all you need to do for number 5 EDIT: I deleted each solution after solving it so that probably changes things lol
5 years later and I still think these videos are so relevant for junior devs. Here is my solution for #2: const func = (obj1, obj2) => { let result; Object.keys(obj2).map((key) => !Object.keys(obj1).includes(key) ? (result = false) : (result = true) ); return result; };
@codingchannel6263Ай бұрын
Thanks
@zaixrxАй бұрын
Thank you!
@trentanderson8Ай бұрын
Hi, Bubb! Thank-you so much for all of your help with the countdown timer. Is there a way to make the countdown date UTC essentially? I'm hoping to find a way so that no matter where the countdown is set, the countdown timer will show up the same for everyone no matter where they are in the world. So, for example, say it's July Third, 2024 at 10:00 AM Eastern Standard Time, and I'm in New York City. I set the countdown date to July Fifth, 2024 at 2:00 PM, which is 52 hours from the time I set the countdown timer (so, the timer should read 52:00:00). On July Fifth at 1:00 PM Eastern Standard Time in New York City, there should be showing 01:00:00 left on the countdown timer. I also want my friend in Los Angeles California (where they're three hours behind me in New York City) to see that one hour is remaining at 1:00 PM Eastern Standard Time/10:00 AM Pacific Standard Time. So, my friend in California should also see 01:00:00 on the countdown timer at 10:00 AM Pacific Standard Time in Los Angeles, California. Is there a way to help ensure this happens? Thanks! So, essentially I want everyone in the world to have the same UTC countdown date/time, which, in the above example, would be 6:00 PM, July Fifth, 2024.
@trentanderson8Ай бұрын
I think I actually figured it out earlier! I took my initial countdown date constant and converted it. const countdownDateObject = new Date(countdownDate); Later on, in the updateAll function, I changed the original countdown constant name to the converted constant name.
@mohamedessakhi7501Ай бұрын
Thank you
@zakyzamroniАй бұрын
THANKYOUU SO MUCHHH!!🤩🤩🤩🤩🤩🤩
@kushagranigam6610Ай бұрын
for exercise 2, wouldn't returning just "num / 2" work?
@annisaahabibakoentjororini2038Ай бұрын
I did exactly the same but why my page didn't show like yours? And do you have suggestions where should i put it online, since i couldn't do it on netlify?
@devT44Ай бұрын
Below meter tags show green color in chrome and yellow color in firefox. Why? <meter min="0" max="1" low="0.25" high="0.75" value="0.75" optimum="0.8"></meter> <meter min="0" max="1" low="0.25" high="0.75" value="0.25" optimum="0.2"></meter>
@alimansimov1929Ай бұрын
Sticky nav,
@user-gs9jn5yj7dАй бұрын
Hi, this is Ashraf Ali from Pakistan, it is very motivational tutorial , So add or upload more videos , thanks