Z: The Ultimate Zen Experience
About this app
Experience tranquility and mindfulness with Z, a multi-functional zen application that offers guided meditations, soothing sounds, and wellness tracking.
Z: The Ultimate Zen Experience Z: Your Zen Oasis Select a meditation sound to start your journey towards tranquility. Play Stop
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>Z: The Ultimate Zen Experience</title>
<meta name="description" content="Experience tranquility and mindfulness with Z, a multi-functional zen application that offers guided meditations, soothing sounds, and wellness tracking.">
<meta name="keywords" content="zen, meditation, mindfulness, relaxation, wellness, self-care">
<!-- Libraries -->
<!-- jQuery (3.6.0) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js" crossorigin="anonymous"></script>
<!-- Bootstrap CSS (5.3.3) -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" crossorigin="anonymous">
<!-- Bootstrap JS (5.3.3) -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" crossorigin="anonymous">
</script>
<!-- Font Awesome (6.6.0) -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.6.0/css/fontawesome.min.css" crossorigin="anonymous">
<script type="text/javascript">
try {
// App Javascript Goes Here. Place your entire script content inside the try block for error handling.
let currentSound = null;
// This will run when the DOM is ready.
document.addEventListener("DOMContentLoaded", function() {
const meditations = [
{ id: 1, name: "Ocean Waves", src: "https://example.com/ocean-waves.mp3" },
{ id: 2, name: "Rainfall Sounds", src: "https://example.com/rainfall.mp3" },
{ id: 3, name: "Forest Ambience", src: "https://example.com/forest.mp3" }
];
const meditationSelect = document.getElementById("meditation-select");
const playButton = document.getElementById("play-btn");
const stopButton = document.getElementById("stop-btn");
meditations.forEach(meditation => {
const option = document.createElement("option");
option.value = meditation.id;
option.textContent = meditation.name;
meditationSelect.appendChild(option);
});
playButton.addEventListener("click", function() {
const selectedMeditationId = meditationSelect.value;
const selectedMeditation = meditations.find(m => m.id == selectedMeditationId);
if (selectedMeditation) {
if (currentSound) {
currentSound.pause();
}
currentSound = new Audio(selectedMeditation.src);
currentSound.loop = true;
currentSound.play();
}
});
stopButton.addEventListener("click", function() {
if (currentSound) {
currentSound.pause();
currentSound = null;
}
});
});
} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>
<style>
body {
background: linear-gradient(120deg, #84fab0, #8fd3f4);
font-family: Arial, sans-serif;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
text-align: center;
}
#main-container {
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
padding: 30px;
box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
select, button {
background: #fff;
color: #333;
border: none;
border-radius: 5px;
padding: 10px;
margin-top: 10px;
cursor: pointer;
transition: all 0.3s ease;
}
button:hover {
background: #ccc;
}
h1 {
font-size: 40px;
margin-bottom: 20px;
color: #1a8d3b;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1>Z: Your Zen Oasis</h1>
<p>Select a meditation sound to start your journey towards tranquility.</p>
<select id="meditation-select"></select>
<div>
<button id="play-btn">Play</button>
<button id="stop-btn">Stop</button>
</div>
</div>
</body>
</html>
NEW APPS
These are apps made by the community!