0

I made this a long time ago now I want that the text output is a picture what must I do. Thanks.

document.write("<p>");
    var day = new Date();
    var weekday = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
    var d = weekday[day.getDay()];
    var hr = day.getHours();
    if (hr == 1 && d == "Sunday") {
        document.write("Nachtlijn");
    } else if (hr == 2 && d == "Sunday") {
        document.write("Nachtlijn");
    } else if (hr == 3 && d == "Sunday") {
marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459

0 Answers0