Krash's App Dialogue
About this app
A fun dialogue between Krash and various characters about their favorite apps.
Krash's App Dialogue
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>Krash's App Dialogue</title>
<meta name="description" content="A fun dialogue between Krash and various characters about their favorite apps.">
<meta name="keywords" content="Krash, dialogue, characters, apps">
<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 {
// 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() {
// Krash's Dialogue
var dialogue = [
{
character: "Comic",
message: "Hey Krash! Have you tried the Superhero Quiz app? It's so cool! You can find out which superhero you are."
},
{
character: "Photograph",
message: "Hi Krash! I love using the Photo Editor app. It has amazing filters and editing tools to make my photos look stunning."
},
{
character: "Rocking-Chair",
message: "Hello Krash! I enjoy relaxing with the Meditation app. It helps me unwind and find inner peace."
},
{
character: "Newspaper",
message: "Greetings Krash! The News Reader app is my favorite. It keeps me updated with the latest news from around the world."
},
{
character: "Painting",
message: "Hey Krash! There's this awesome Art Gallery app. It showcases beautiful paintings from renowned artists. You should check it out!"
},
{
character: "Magazine",
message: "Hi Krash! I love reading fashion magazines, and the Fashion Trends app is a perfect companion. It provides the latest fashion tips and trends."
}
];
// Render the dialogue
function renderDialogue() {
var dialogueContainer = document.getElementById("dialogue-container");
dialogue.forEach(function(item) {
var messageElement = document.createElement("div");
messageElement.className = "message";
var characterElement = document.createElement("div");
characterElement.className = "character";
characterElement.innerText = item.character + ":";
var messageTextElement = document.createElement("div");
messageTextElement.className = "message-text";
messageTextElement.innerText = item.message;
messageElement.appendChild(characterElement);
messageElement.appendChild(messageTextElement);
dialogueContainer.appendChild(messageElement);
});
}
renderDialogue();
});
} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>
<style>
/* App CSS Goes Here */
body {
background-color: #f5f5f5;
font-family: 'Roboto', sans-serif;
}
#main-container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
}
.message {
margin-bottom: 20px;
background-color: #fff;
padding: 10px;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.character {
font-weight: bold;
margin-bottom: 5px;
}
.message-text {
color: #555;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<div id="dialogue-container">
<!-- Dialogue Messages Will Be Rendered Here -->
</div>
</div>
</body>
</html>
NEW APPS
These are apps made by the community!