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>
4 Antworten
+ 5
Proceed with your CSS course.
For font, use Google Fonts.
+ 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.
+ 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.
0
Thanks ... I am learning CSS too but slowly :D