Digital Clock Using HTML, CSS, & JavaScript
Vložit
- čas přidán 22. 09. 2023
- Welcome to this step-by-step tutorial on building a Digital Clock using HTML, CSS, and JavaScript. Whether you're a coding enthusiast or a beginner, this video will guide you through the process of creating a fully functional and stylish digital clock for your website or personal projects.
In this tutorial, we'll cover the following topics:
_ Setting up the basic HTML structure for the clock
_ Styling the clock with CSS to make it visually appealing
_ Using JavaScript to update the time in real-time
_ Adding functionality for a 12-hour format clock
No prior coding experience is necessary, as we'll explain each step clearly and provide code examples to help you understand. By the end of this video, you'll have a custom digital clock that you can customize and integrate into your own web projects.
Feel free to follow along, pause, or rewind as needed. If you find this tutorial helpful, please give it a thumbs up, subscribe for more coding tutorials, and hit the notification bell to stay updated with our latest content.
Let's get started and build a stunning Digital Clock with HTML, CSS, and JavaScript together! ⏰🌟
#HTML #CSS #JavaScript #DigitalClock #WebDevelopment #Tutorial #Coding #ClockDesign #BeginnerFriendly
Follow us on:
Instagram: / blak_deer
Tiktok: / blak.deer
Source code: shorturl.at/JNSW1
Sound effect from Pixabay.
Great
Vielen Dank!
Good effort!
thank you
Danke!
Why do you use var not let?
Thank you for separating the code and putting the CSS and JS in their own files.
What does the asterisk for the first set of *{ } mean and why declare those two attributes that way?
Learning development and doing your quick projects, but I've never seen the margin and the padding declared that way, always I've seen them in the body{ }
Muchas gracias...
The asterisk (*), the CSS universal selector, selects all items in an HTML file.
If we declare anything in this it is applied to all elements of HTML.
Hello, is it worth learning html,CSS,js these days ? Very many people advise me against it because there is wordpress or webflow which is much faster, what do you think ?
These platforms have limited options, with custom coding you can do whatever you want.
i have written same code in visual studio but correct time and second not run. how could i?
see the code link in description.
where i can learn the code like you? can i find it at dictionary html?
first you have to learn basics of HTML, CSS and JavaScript
How do you get the actual time, I don't understand how do you get it
const d = new Date();
let time = d.getTime();
use these commands to get time and date
Pls link in description to copy it
see description
ASMR Coding - Creating Real Switch Button Animation using HTML and CSS czcams.com/video/e5q3hzFJmgU/video.html
how it will show am or pm?
it also need a JavaScript function
Mujhe coding sikhna hai sir plz
videos follow kro IA seelh jao gy ap
thank you
mine did not work. the clock was at the same date on the HTML...
pls I'm just a beginner sir help
did you try linking html to js file?
@@raviashray1431 yes i did.
It's not working😢
I Know Little bit about Coding but I Couldn't Get The Same Results While Writing The Whole code from the clip 😰
see code link in description
u might be type wrong between this symbol " and '
Are you selling your CZcams channel I want to buy
Hello! What these are practically doing? h = h
I think the main purpose is to beautify the display. These code will add a '0' adhead the hour or minute or second when they are less than 10. So they will be shown as '0x', and then they will display in the same width.
The question mark is a conditional operator. It will return the value on the left of the ":" if the expression on the left of "?" is true, or return the value on the right of the ":" if the expression on the left of "?" is false.
I am a novice and my English is not very good. I hope you can understand what I'm talking about.
Adding a "0" if the hours minutes seconds < 10 else does nothing
No voice commentary, I'm lost.
If haven't yet, finish an HTML tutorial first, once done with that, CSS and JavaScript and you won't need any voice commentary, it will get much, much easier and is best for this "tutorial" not to have a voice as it moves you to research.
Be well.
bro i need your help please
can i have your e mail to send you about that i wanna make the ONLINE SHOES STORE complete codes and i dont have time for this project
Hello dada
Mobile number 🙏🏻🙏🏻🙏🏻🙏🏻
It's not working😢