Calculator Tools Calculator Tools
Create

Hola App - Your Fun Language Learning Companion

Mar 14, 2025

About this app

Hola App is an interactive language learning app designed to make learning Spanish fun and engaging with colorful visuals and responsive interface.

Hola App - Your Fun Language Learning Companion ¡Hola App! Next Phrase

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>Hola App - Your Fun Language Learning Companion</title>
<meta name="description" content="Hola App is an interactive language learning app designed to make learning Spanish fun and engaging with colorful visuals and responsive interface.">
<meta name="keywords" content="language learning, Spanish, fun app, interactive, education, Hola">

<!-- 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.

// This will run when the DOM is ready.
document.addEventListener("DOMContentLoaded", function() {
const phrases = [
"Hola, ¿cómo estás?",
"¡Buenos días!",
"¡Buenas tardes!",
"¡Buenas noches!",
"¿Cuál es tu nombre?",
"Es un placer conocerte.",
"¡Gracias!",
"¡Por favor!",
"¡Adiós!",
"Hasta luego."
];

let currentPhraseIndex = 0;

function updatePhrase() {
const phraseElement = document.getElementById("phrase");
phraseElement.textContent = phrases[currentPhraseIndex];
showAnimatedPhrase(phraseElement);
}

function showAnimatedPhrase(element) {
element.classList.add("fade-in");
setTimeout(() => {
element.classList.remove("fade-in");
}, 1000);
}

document.getElementById("next-button").addEventListener("click", function() {
currentPhraseIndex = (currentPhraseIndex + 1) % phrases.length;
updatePhrase();
});

updatePhrase();
});

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

<style>
/* App CSS Goes Here */
body {
background: linear-gradient(90deg, #FFB6C1, #FF69B4);
font-family: 'Arial', sans-serif;
color: #fff;
}

#main-container {
text-align: center;
padding: 50px;
animation: slide-in 0.5s ease;
}

h1 {
font-size: 3em;
margin-bottom: 20px;
}

#phrase {
font-size: 2em;
margin: 30px 0;
padding: 20px;
border: 2px solid #fff;
border-radius: 10px;
display: inline-block;
background: rgba(255, 255, 255, 0.2);
}

button {
padding: 10px 20px;
border: none;
border-radius: 5px;
background-color: #ff1493;
color: white;
font-size: 1.2em;
cursor: pointer;
transition: background-color 0.3s;
}

button:hover {
background-color: #ff69b4;
}

.fade-in {
animation: fade 1s;
}

@keyframes fade {
from { opacity: 0; }
to { opacity: 1; }
}

@keyframes slide-in {
from { transform: translateY(-30px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}

</style>
</head>
<body>
<div id="main-container" class="container">
<h1>¡Hola App!</h1>
<div id="phrase"></div>
<button id="next-button">Next Phrase</button>
</div>
</body>
</html>