Another project I had fun with. I made it so when you click on the container, the time will switch from military time to standard time and back and forth and created a way for the user to customize the background.
Another complete. Your projects have me so friggin motivated. I keep putting everything on hold because of how much I’m getting a beginners grasp on these three languages
I'm about halfway through your list of 15 projects (found via Google) and I am finding all of your teaching incredibly useful. There are so many resources out there but not every style of teaching clicks -- yours does for me, and I've had a lot of fun building these projects and learning.
Alternatively hour = hour ? hour : '12'; Just to check whether hours equals zero. '?' in this context is called the ternary operator if you want to read about it, basically a way to write an if/else statement in one line.
first this serie is gold and thanks for the good quality of the this serie, second the page for testing is fall, do you know anything else for testing?, your medium page is fall too
Thank you, I found my time doesn't update itself unless I change the JS variable definition to let date= new Date() instead of const; just FYI for anyone who made the same mistake
Hey! How does let dayNumber = date.getDay( ) ; store the number 0 to be used as the index in dayNames[dayNumber]. What about the date.getDay( ) expression allows it to compute to zero?
Theres 7 days in a week, date.getDay() returns the days as a number between 0 to 6, as oppose to 1 to 7. Therefore, we can use 0 to grab the correct day name from the dayNames array
Getting error after writing "window.addEventListener("load",calculateTime)" on the top of the code. Error is - Uncaught ReferenceError: Cannot access 'calculateTime' before initialization Please help.
Another project I had fun with.
I made it so when you click on the container, the time will switch from military time to standard time and back and forth and created a way for the user to customize the background.
Another complete. Your projects have me so friggin motivated. I keep putting everything on hold because of how much I’m getting a beginners grasp on these three languages
I am really learning lot from this series of videos, just wanted to thank you.
I'm about halfway through your list of 15 projects (found via Google) and I am finding all of your teaching incredibly useful. There are so many resources out there but not every style of teaching clicks -- yours does for me, and I've had a lot of fun building these projects and learning.
That means a lot thank you
I have no idea why you dont have more subscribers. Your content is gold.
Thank you
2:02 HTML
4:50 CSS
13:19 JS
{hour = hour ? 12: "12";} is leading to the hour always being 12
need to write this instead {hour = hour == 12 ? '12' : hour; }
thanks
thanks buddy
nice catch
Thank you I was looking for this fix like a madman
Alternatively hour = hour ? hour : '12';
Just to check whether hours equals zero. '?' in this context is called the ternary operator if you want to read about it, basically a way to write an if/else statement in one line.
Good stuff. Thanks!
i really owe you, your videos are very helpful just want to thank you so much :)
first this serie is gold and thanks for the good quality of the this serie, second the page for testing is fall, do you know anything else for testing?, your medium page is fall too
medium.com/@codefoxx
Thank you, I found my time doesn't update itself unless I change the JS variable definition to let date= new Date() instead of const; just FYI for anyone who made the same mistake
Hey! How does let dayNumber = date.getDay( ) ; store the number 0 to be used as the index in dayNames[dayNumber]. What about the date.getDay( ) expression allows it to compute to zero?
Theres 7 days in a week, date.getDay() returns the days as a number between 0 to 6, as oppose to 1 to 7. Therefore, we can use 0 to grab the correct day name from the dayNames array
That responsive website seems to be down, what do you use nowadays to check for responsiveness?
Why you use setTimeout? Why not setInterval?
как секунды запилить
Getting error after writing "window.addEventListener("load",calculateTime)" on the top of the code.
Error is - Uncaught ReferenceError: Cannot access 'calculateTime' before initialization
Please help.
Your attempting to call on the calculateTime function before its been created . Try placing the event listener right after the function