Calculator Tools Calculator Tools
Create

ZooMoo Kids Schedule

Jan 3, 2024

About this app

Check out the schedule of ZooMoo Kids on TVE Bahia.

ZooMoo Kids Schedule

Related apps

Put this on your site

Source

                    <html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">

<title>ZooMoo Kids Schedule</title>
<meta name="description" content="Check out the schedule of ZooMoo Kids on TVE Bahia.">
<meta name="keywords" content="ZooMoo Kids, TVE Bahia, TV schedule">

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">

<script type="text/javascript">
try {
// This will run when the DOM is ready.
document.addEventListener("DOMContentLoaded", function() {
// Get the current date and time
var currentDate = new Date();
var currentDay = currentDate.getDay();
var currentTime = currentDate.getHours() + ":" + currentDate.getMinutes();

// Define the schedule
var schedule = [
{ day: 1, time: "13:00", show: "ZooMoo Kids" },
{ day: 2, time: "13:00", show: "ZooMoo Kids" },
{ day: 3, time: "13:00", show: "ZooMoo Kids" },
{ day: 4, time: "13:00", show: "ZooMoo Kids" },
{ day: 5, time: "13:00", show: "ZooMoo Kids" }
];

// Find the next show
var nextShow = null;
for (var i = 0; i < schedule.length; i++) {
if (schedule[i].day >= currentDay && schedule[i].time > currentTime) {
nextShow = schedule[i];
break;
}
}

// Display the schedule
var scheduleContainer = document.getElementById("schedule-container");
if (nextShow) {
scheduleContainer.innerHTML = "The next episode of ZooMoo Kids airs on TVE Bahia on " + getDayName(nextShow.day) + " at " + nextShow.time + ".";
} else {
scheduleContainer.innerHTML = "There are no upcoming episodes of ZooMoo Kids on TVE Bahia.";
}
});

// Function to get the name of the day based on the day number
function getDayName(dayNumber) {
var days = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
return days[dayNumber];
}

} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>

<style>
/* App CSS Goes Here */
#schedule-container {
text-align: center;
margin-top: 50px;
font-size: 20px;
color: #333;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<div id="schedule-container">
<!-- Schedule information will be displayed here -->
</div>
</div>
</body>
</html>