How To Create Digital Clock Using HTML CSS & JavaScript | Display Time Using JavaScript

Sdílet
Vložit
  • čas přidán 1. 06. 2023
  • Learn How To Create Digital Clock Using HTML CSS and JavaScript | Make Digital Clock with JavaScript step by step tutorial for beginners
    ❤️ SUBSCRIBE: goo.gl/tTFmPb
    Source Code: greatstack.dev/go/30-js-projects
    More JavaScript Projects: greatstack.dev/
    In this JavaScript Mini project we will make a Digital clock that will display the current time in Hours, Minutes and second. This JavaScript clock display the time as per Local time zone.
    We will use HTML and CSS to design this Clock, and for Updating the current time we will use JavaScript Date Object. You can use this Digital clock tutorial to make your Mini JavaScript Project for college or work portfolio.
    #JavaScriptProject #javascript
    -----------------------------------------
    Suggested Course:
    ❤️ Complete website Using HTML and CSS
    ✔️ 8 Complete website step by step
    ✔️ Source Code Download
    ✔️ 76 Lectures, 12 Hours Video
    ✔️ Course Completion certificate
    👉 easytutorialspro.com/go/course/
    -------------------------------------
    Recommended Videos:
    Learn Complete HTML and CSS from basics:
    ► • HTML And CSS Tutorial ...
    Make A Complete Website for college using HTML & CSS:
    ► • How To Make A College ...
    How to make a Business website step by step:
    ► • How To Make Website Us...
    How to make personal resume website step by step:
    ► • How To Make A Website ...
    How to make fitness website design using HTML CSS:
    ► • How To Make A Website ...
    How to make an Ecommerce Website Design:
    ► • How To Make eCommerce ...
    How to make a Job Portal website design with HTML & CSS:
    ► • How To Make Website Us...
    How to make travel website design with HTML CSS Bootstrap:
    ► • How To Make A Website ...
    -------------------------------------
    Affordable web hosting (coupon- EASYTUTORIALS)
    👉 easytutorialspro.com/hosting/
    My recommended tools and tutorials
    👉 easytutorialspro.com/
    -------------------------------------
    ◼️ Source code link is shared in community post for all my coding videos exclusively for channel members (only channel members can see)
    Join Channel Membership:
    ► / @greatstackdev
    -------------------------------------
    Connect with me:
    👉 linktr.ee/iamavinashkr

Komentáře • 146

  • @zabihibrahimkhil
    @zabihibrahimkhil Před 10 měsíci +9

    I followed many online classes for mini projects, but this one by far is one of the best , thank you for sharing knowledge

  • @leonardigweokolo2813
    @leonardigweokolo2813 Před 5 měsíci +6

    You're doing this tutorial as if to prove a point that you can do them. Instead of teaching the steps and why you do certain things, like what does "position - absolute mean" when should it be used and why, that will really help beginners immensely. Altogether thank you for sharing.

    • @Pythongirl_
      @Pythongirl_ Před 5 měsíci +2

      bro if you don't know the meaning of position absolute yet, then why you even bother to make this project, learn CSS first

    • @leonardigweokolo2813
      @leonardigweokolo2813 Před 5 měsíci

      @@Pythongirl_ Are you sure understood the comment? You twerp!!! Understand the comment first, then maybe I'd give you some attention.

    • @emmanuelsiziba520
      @emmanuelsiziba520 Před 5 měsíci

      I agree with you, you can not learn from these tutotirial without basic fundementals, i do tutorials on freecode camp where they strip everything down to its basic component, and then use these tutorials to apply the knowlegdge from freecode camp and practise coding on VS code @@Pythongirl_

  • @RajKumar_akhariya
    @RajKumar_akhariya Před rokem +2

    Best teacher on CZcams to make beautiful project.

  • @nanafreedom2476
    @nanafreedom2476 Před 11 měsíci +4

    This tutorial is one the greatest tutorial I've ever come across!! Thank you very much

  • @subyouwont
    @subyouwont Před rokem +4

    Great tutorial once again. So glad I found this channel. I would pay for these mini classes. Very easy to follow as a beginner

  • @boydmutokoma2370
    @boydmutokoma2370 Před rokem +14

    Best teacher ever, I wish my grade school teacher where like u I would have been an engineer.

  • @aamirmasood010
    @aamirmasood010 Před 11 měsíci +2

    you made it look so easy man loved it

  • @bedtimehorrorstoryyoutube
    @bedtimehorrorstoryyoutube Před 11 měsíci +1

    This tutorial is awesome easy and very clear!! Thank you!!

  • @preciousonyiocha92
    @preciousonyiocha92 Před 9 měsíci +1

    Thank you sir, this tutorial is much more easier than the one I have watched

  • @rajamannar4861
    @rajamannar4861 Před rokem +5

    Finally I find best you tube channel to learn css 😊

  • @lordljb4772
    @lordljb4772 Před 11 měsíci +1

    Amazing Tutorial!
    Thanks for this great looking clock!
    Im so glad u made a vid :D
    Greetings from Germany

  • @sharooq5842
    @sharooq5842 Před rokem +2

    Thank u your videos are great and ur explanation is also great but it would be great if u explain like these lines of code does these (single individuals) thise will help a lot for beginners like me

  • @jcchaconjr
    @jcchaconjr Před 4 měsíci +1

    Thank you for this simple and easy to understand project. I've been learning and playing around with Blazor using .NET 8, and thought this would be a fun page to refactor into a Blazor component page using C# code instead of JavaScript. Implementing the timer in a manner that would not hang the page rendering was the most challenging part, but thanks to a little help from StackOverflow, I found a good suggestion to implement the necessary override for the page's OnInitializedAsync() method that I was able to refactor to update the clock every second like the JS code.

  • @bumblebee_1
    @bumblebee_1 Před 4 měsíci +3

    thnx! Simple and clear to understand

  • @sonya7009
    @sonya7009 Před rokem

    another great tutorial mate, thank you

  • @citizen00001
    @citizen00001 Před 7 měsíci +1

    this was a great tutorial to follow, thank you!

  • @RishabhShriwas-md2gq
    @RishabhShriwas-md2gq Před rokem +1

    Thank you for this tutorial sir 😊

  • @user-dc6ib4mb2v
    @user-dc6ib4mb2v Před rokem

    Finaly i got the best channel for Learning coading ❤

  • @learnwithnagma
    @learnwithnagma Před 4 měsíci +2

    Thank you so much 😊.

  • @UtiFavour
    @UtiFavour Před rokem +7

    Awesome video! Biggest fan.... Your tutorial is detailed and insightful.

  • @kazikazz1085
    @kazikazz1085 Před rokem +1

    love your tutorials

  • @Arvindvishwakarma-ff7fu
    @Arvindvishwakarma-ff7fu Před 2 měsíci +1

    Smooth Explanation Man! thnx

  • @vijayachandana8485
    @vijayachandana8485 Před 11 měsíci

    Your tutorial were helpfull👍keep going.

  • @sitirobiahhamdan1406
    @sitirobiahhamdan1406 Před 10 měsíci

    hey , its so awesome , i have try it and its so amazing , thank you

  • @thedinkydreads9351
    @thedinkydreads9351 Před 2 měsíci +1

    You, Sir, are my hero

  • @nayaye1795
    @nayaye1795 Před rokem

    Thanks bro! I love it!

  • @sunilkumar_vlogs
    @sunilkumar_vlogs Před rokem +1

    Sir ji your English talk is so simple and sweet ❤❤❤

  • @Anusha_Patel24
    @Anusha_Patel24 Před 7 měsíci

    Thank you sooo much 😊
    And it will be very useful...

  • @pratikshyajena74
    @pratikshyajena74 Před 8 měsíci

    Thank you so much sir❤ you are great!

  • @English_604
    @English_604 Před 8 měsíci

    I love your Chnnel...your videos help me a lot..
    ❤.

  • @fuchecomcilyuh1443
    @fuchecomcilyuh1443 Před 8 měsíci

    God bless you for this video.

  • @SmileFNPlug
    @SmileFNPlug Před rokem

    Great video sir 🙏👌👍

  • @skylake315
    @skylake315 Před 9 měsíci

    Thanks you for the tutorial sir

  • @muhammadharis5389
    @muhammadharis5389 Před 11 měsíci

    Thank u sir you are awesome

  • @DINNAlk
    @DINNAlk Před rokem

    😊
    Thank you sir

  • @kirthikar148
    @kirthikar148 Před 18 dny

    Simple and clear! 👍🏽

  • @StriveVoyage
    @StriveVoyage Před 7 měsíci +1

    great thank you

  • @mustafa._.9371
    @mustafa._.9371 Před 5 měsíci

    Thank You!

  • @YogaEditz01
    @YogaEditz01 Před měsícem +2

    Work❤, thanks you sir❤❤

  • @Tani55
    @Tani55 Před 28 dny

    Thanks bro

  • @nguyenangviet1752
    @nguyenangviet1752 Před 8 měsíci

    Amazing Good Job

  • @siamnahidul4771
    @siamnahidul4771 Před rokem

    Best Teacher

  • @saisuba2698
    @saisuba2698 Před 8 dny

    Awasome 🎉, crystal clear explanation 🎉🎉..... go-ahead sir, i have one doubt, i need media query i want to use this digital clock in my ph?...i tried it not came

  • @savita_369
    @savita_369 Před 11 měsíci

    Thanku sir❤

  • @dancepractice805
    @dancepractice805 Před rokem

    Good video and helpful video

  • @harshkumarsharma350
    @harshkumarsharma350 Před 11 měsíci

    Great man

  • @yrew2004
    @yrew2004 Před rokem

    Thanks sir

  • @gaming4_16
    @gaming4_16 Před 7 měsíci

    great bhai

  • @KuirThuch
    @KuirThuch Před 4 měsíci

    You were born to teach

  • @anteoleonardi9413
    @anteoleonardi9413 Před 10 měsíci +2

    @GreatStack why don't you use classes's and you call them on JS with querySelector but instead you use 3 ID's and you call them by ID on JS ? Btw love your channel 😃

    • @GreatStackDev
      @GreatStackDev  Před 10 měsíci +1

      I will consider it for new video, thank you so much for comment

  • @petermwansa4890
    @petermwansa4890 Před 5 měsíci

    Thank you

  • @welkin_shayar
    @welkin_shayar Před 11 měsíci

    Amazing video sir❤❤

  • @AdiJadhav-ie7zp
    @AdiJadhav-ie7zp Před měsícem +1

    great work sir

  • @joeythai1000
    @joeythai1000 Před rokem +1

    How do you can to do an transparence effect without opacity ?

  • @shoaibahsan1822
    @shoaibahsan1822 Před 4 měsíci

    GREAT BRO

  • @superrobot2960
    @superrobot2960 Před rokem +1

    Can you make a video of javascript full course 😢
    🙏 Please

  • @huruhooroo
    @huruhooroo Před měsícem

    It will be nice to make it produce a loud noise at the hour, like an old grandfather clock.

  • @lavkumargahe8174
    @lavkumargahe8174 Před rokem

    Best explanation

  • @Bhupinderkaur-q7m
    @Bhupinderkaur-q7m Před 6 dny

    Sir ,why have you used 1000 in the set interval ??
    Can we use any other numbers instead of 1000?

  • @dancepractice805
    @dancepractice805 Před rokem

    Why do you not make programs in sublime text ?

  • @user-ym2kp3gn9v
    @user-ym2kp3gn9v Před 7 měsíci

    🔥🔥

  • @thereisnoname2052
    @thereisnoname2052 Před rokem

    Can you do Countdown 😊😊

  • @deepikakumaricse7416
    @deepikakumaricse7416 Před 6 měsíci

    Overall it's nice but it would be more better when it is responsive

  • @MindMatrixx1416
    @MindMatrixx1416 Před 2 měsíci

    Legends one day before competition 😎😎

  • @mhendrasingh7503
    @mhendrasingh7503 Před 10 měsíci +52

    Thankyou sir, i am 11 years old and this was my first successful html project❤ jai shree ram.

    • @user-dc3io9hy8h
      @user-dc3io9hy8h Před 9 měsíci

      I am also bro

    • @bidyutghosh1983
      @bidyutghosh1983 Před 7 měsíci +1

      Joy Shree Ram ❤️🙏🏽

    • @mianabubakar5987
      @mianabubakar5987 Před 7 měsíci +1

      Allah Huakbar

    • @allahlesboslu2_9
      @allahlesboslu2_9 Před 6 měsíci

      ​@lyrics._143😂😂😂 Abey n # llahu f . K Barr usko Jo bolna h bolne de tu kyu Teri a u k @ t dikhaa rha hai

    • @allahlesboslu2_9
      @allahlesboslu2_9 Před 6 měsíci

      ​@@mianabubakar5987debate with ex m sahil and Zafar heretic saara olaa uber utarr jaayega tum log ka

  • @_IamHarsh
    @_IamHarsh Před 11 měsíci

    sir ek button lagana ho or button ke press ke baad ye mujhe current real time dikhaye, iske liye kya karna hoga ?

  • @Gaming4Ever-pt9li
    @Gaming4Ever-pt9li Před 4 měsíci

    the css is working and the numbers are showing but it wont update and its giving telling me that getelementbyid is not defined and the time is not working

  • @Themescore
    @Themescore Před rokem +2

    Sir ❤can you make a website according to me I'll pay to you for that.😊
    In which platform I'll message you reply me

  • @sivaganesh96
    @sivaganesh96 Před 8 měsíci

    please make a tutorial on live score web app for cricket

  • @fulvusfeles
    @fulvusfeles Před 10 měsíci

    Hello, someone can help me. how can I made a clock of another country in a web page?

  • @nusratfatemafamail9037
    @nusratfatemafamail9037 Před 4 měsíci

    wow

  • @herosipet
    @herosipet Před 4 měsíci

    Hi,
    This is my first test program. I believed I did everything the way yo did the program but mine will not run the clock. Stays at 00:00:00 only. If you could help I would really appreciate it. Thank you and please reply.

  • @isidoramoonrose5657
    @isidoramoonrose5657 Před rokem

    why the rect and the circle are not appearing? i did the same thing...hmm

  • @citymuqdisho2899
    @citymuqdisho2899 Před rokem +1

    Pro l need Car game good Design❤

  • @MyGamingEra
    @MyGamingEra Před rokem

    One video on merge calendar and time also😅

  • @SarveshKumar-bl9in
    @SarveshKumar-bl9in Před 11 měsíci

    can you tell me that how to make responsive this website ?

  • @RahulSharma-jv7rj
    @RahulSharma-jv7rj Před rokem

    hi bro, please help me I am not able to select any class in my CSS file, while adding .hero its being red and throwing an error. please help me. thank you

  • @ZaahidEditzzz
    @ZaahidEditzzz Před 10 měsíci

    How can I make the code show the 12 hour clock

  • @sagetitan4794
    @sagetitan4794 Před 10 měsíci

    How do you deploy the app

  • @vishalmeharban1782
    @vishalmeharban1782 Před 6 měsíci

    backdrop filter effect is not working on my vscode

  • @monalisaswain2524
    @monalisaswain2524 Před 8 měsíci

    How can am and pm will show?

  • @nethiv_surya_prakash8699
    @nethiv_surya_prakash8699 Před 9 měsíci

    can I post these type projects in resume in project section?

    • @Rits2203
      @Rits2203 Před 7 měsíci

      it's a mini project. You can add this with one of your big projects on your resume.

  • @ironman-29
    @ironman-29 Před rokem

    make video on Tic tac toe game using javascript

  • @epps2021
    @epps2021 Před 10 měsíci

    followed the entire video and did what you did but now how to you change it from military time to regular time? Instead of being 15:00:00 to 3:30:46 or am to pm

    • @hariharang1191
      @hariharang1191 Před 9 měsíci

      Use if condition.
      If (hour

    • @hariharang1191
      @hariharang1191 Před 9 měsíci

      Use if for same AM PM or many other options to show AM PM

  • @bibifathima-fq7gk
    @bibifathima-fq7gk Před rokem

    innerhtml is not working for min and sec..pls explain what is the reson.where hours work

    • @bibifathima-fq7gk
      @bibifathima-fq7gk Před rokem

      in console it show "cannot set property for null steeting(innerHTML)" will you pls explain why ..its shows for min.innerHTML.currentTime.getMInutes();

    • @bibifathima-fq7gk
      @bibifathima-fq7gk Před rokem

      i got the solution in the place of min i used mint then its works...😀😀,can you explain y its happen like that

  • @markdickson3138
    @markdickson3138 Před 9 měsíci

    Anyone know how to make it display in not military time?

  • @shouravshingha9311
    @shouravshingha9311 Před 8 měsíci

    bro this code is not working don't know why.... i can't find any problem

  • @AVTerrorX
    @AVTerrorX Před rokem

    Clock span and backdrop filter is not working in my VSCode😢

    • @subyouwont
      @subyouwont Před rokem +1

      Maybe you need an extension? Im a beginner so idk

    • @AVTerrorX
      @AVTerrorX Před rokem

      @@subyouwont Alright, I will try to search any extension for it

  • @sakthidass.b
    @sakthidass.b Před 8 měsíci

    How to show the am and pm?
    12hrs

  • @himanshudubey1824
    @himanshudubey1824 Před rokem

    red clr change nhi ho raha

  • @thelawbymanjeettanwar3142
    @thelawbymanjeettanwar3142 Před 9 měsíci

    Sir ye embed copy karke de do..

  • @LaxmiKumari-hk6lq
    @LaxmiKumari-hk6lq Před 7 měsíci

    Sir how connect inner html

  • @criccraze-jz3eb
    @criccraze-jz3eb Před rokem

    Sir i need basic css tutorials

  • @hamzashakoor9537
    @hamzashakoor9537 Před 11 měsíci

    how to convert this into 12hr?

  • @vloggingwithmichael7635
    @vloggingwithmichael7635 Před 3 měsíci +1

    You only made a 1container in html but in css you make 3containers (after and before) and when you run, the square and circle doesn't show 😂😂

  • @S-Lomar
    @S-Lomar Před 10 měsíci

    😍🤩🥰🥰🤩😍😍😍😍😍😍😍

  • @adilboudida3412
    @adilboudida3412 Před rokem

    code source?

  • @f1_killer44
    @f1_killer44 Před 5 měsíci

    11:55

  • @Themescore
    @Themescore Před rokem

    Sir plz make a website according to me I'll pay to you for that.😊
    In which platform I'll message you reply me

  • @chikeziechinonso4671
    @chikeziechinonso4671 Před rokem

    First comment