Calculator Tools Calculator Tools
Create

Krash's Dialogue

Dec 24, 2023

About this app

Krash's Dialogue with AI Objects

Krash's Dialogue Krash's 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 Dialogue</title>
<meta name="description" content="Krash's Dialogue with AI Objects">
<meta name="keywords" content="dialogue, Krash, AI Objects">

<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.
$(document).ready(function() {
// Krash's Dialogue
let krash = {
talk: function(message) {
let dialogBox = document.getElementById('dialog-box');
dialogBox.innerHTML += '<p>Krash: ' + message + '</p>';
}
};

let comic = {
talk: function() {
krash.talk("Hey Comic, you always bring a smile to my face. Your colorful stories are a great escape!");
}
};

let photograph = {
talk: function() {
krash.talk("Photograph, you capture memories and freeze them in time. Thank you for preserving the moments!");
}
};

let rockingChair = {
talk: function() {
krash.talk("Rocking Chair, you provide comfort and relaxation. It's always nice to unwind in your embrace!");
}
};

let newspaper = {
talk: function() {
krash.talk("Newspaper, you keep me updated on the latest news and events. Thanks for keeping me informed!");
}
};

let painting = {
talk: function() {
krash.talk("Painting, your vibrant colors and intricate details never cease to amaze me. You are a work of art!");
}
};

let magazine = {
talk: function() {
krash.talk("Magazine, you bring me endless inspiration and knowledge. Your pages are filled with wonders!");
}
};

// Initiating the dialogue
comic.talk();
photograph.talk();
rockingChair.talk();
newspaper.talk();
painting.talk();
magazine.talk();
});
} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>

<style>
/* App CSS Goes Here */
#dialog-box {
margin-top: 20px;
padding: 10px;
background-color: #f8f9fa;
border-radius: 5px;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1>Krash's Dialogue</h1>
<div id="dialog-box">
<!-- Dialogue will be displayed here -->
</div>
</div>
</body>
</html>