Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title> 29.01.2020 </title>
- <meta charset="utf-8">
- <script language="JavaScript">
- document.write("<center><b>")
- now = new Date()
- if (now.getDay() == 0)
- document.write("komunikat przy niedzieli")
- if (now.getDay() == 1)
- document.write("poniedziałkowy komuniat")
- if (now.getDay() == 2)
- document.write("wtorek luźny worek")
- if (now.getDay() == 3)
- document.write("środa")
- if (now.getDay() == 4)
- document.write("czwartek")
- if (now.getDay() == 5)
- document.write("piątek")
- if (now.getDay() == 6)
- document.write("sobota urodziny kota")
- document.write("</b></center>")
- </script>
- </head>
- <body>
- <h1> Wyświetlanie zdarzen daty </h1>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement