0

Could anyone decorate it a bit more please?

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Dital clock</title> </head> <body onload="setInterval(myClock,1000)"> <h1>Time</h1> <script> function myClock() { var d = new Date(); var time = d.toLocaleTimeString(); document.querySelector('h1').innerHTML =time; } </script> </body> </html>

8th Nov 2019, 3:28 PM
Kaisang Tamang
Kaisang Tamang - avatar
4 Answers
+ 5
Proceed with your CSS course. For font, use Google Fonts.
8th Nov 2019, 3:30 PM
Gordon
Gordon - avatar
+ 5
Kaisang Tamang It is your concerned that how you are learning. But if you want quick results then you have to learn fast. But it doesn't means to leave the topic. And one more thing try to do more practice while learning.
8th Nov 2019, 3:49 PM
A͢J
A͢J - avatar
+ 3
Use free fonts, https://fonts.google.com/ follow its step to use the font in your project. 1. add the <style> based on the checkout details. 2. font-family on class. for styling, don't use h1, use div. and add a class name. the css property are text-align font-size font-family font-weight font-style you can google this and find the w3school or mozilla doc (mdn), which i think is clearer than SL course.
8th Nov 2019, 4:10 PM
Gordon
Gordon - avatar
0
Thanks ... I am learning CSS too but slowly :D
8th Nov 2019, 3:33 PM
Kaisang Tamang
Kaisang Tamang - avatar