Calculator Tools Calculator Tools

Juny Odeia Komika

Jan 3, 2024

About this app

Juny Odeia Komika - A Fun and Colorful Comic Text Generator

Juny Odeia Komika Juny Odeia Komika Generate Comic Text

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>Juny Odeia Komika</title>
<meta name="description" content="Juny Odeia Komika - A Fun and Colorful Comic Text Generator">
<meta name="keywords" content="Juny Odeia Komika, Comic Text, Text Generator, Fun App">

<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">
<link href="https://fonts.googleapis.com/css2?family=Comic+Neue&display=swap" 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() {
// Get the input text element
const inputText = document.getElementById('input-text');
// Get the output text element
const outputText = document.getElementById('output-text');
// Get the generate button
const generateBtn = document.getElementById('generate-btn');

// Add event listener to the generate button
generateBtn.addEventListener('click', function() {
// Get the input text value
const text = inputText.value;
// Generate comic text
const comicText = generateComicText(text);
// Set the output text value
outputText.value = comicText;
});

// Function to generate comic text
function generateComicText(text) {
const comicText = text.split('').map(function(char) {
// Check if the character is a letter
if (/[a-zA-Z]/.test(char)) {
// Convert the letter to uppercase
return char.toUpperCase();
} else {
return char;
}
}).join('');

return comicText;
}
});

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

<style>
/* App CSS Goes Here */
body {
font-family: 'Comic Neue', cursive;
background-color: #f6f6f6;
}

.container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
text-align: center;
}

h1 {
font-size: 30px;
margin-bottom: 30px;
color: #ff00ff;
}

.input-group {
margin-bottom: 20px;
}

.input-group input {
width: 100%;
padding: 10px;
font-size: 18px;
border-radius: 5px;
border: 1px solid #ccc;
}

.btn {
padding: 10px 20px;
font-size: 18px;
border-radius: 5px;
border: none;
background-color: #ff00ff;
color: #fff;
cursor: pointer;
}

.output-text {
width: 100%;
height: 200px;
padding: 10px;
font-size: 18px;
border-radius: 5px;
border: 1px solid #ccc;
resize: none;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1>Juny Odeia Komika</h1>

<div class="input-group">
<input type="text" id="input-text" placeholder="Enter your text">
</div>

<button id="generate-btn" class="btn">Generate Comic Text</button>

<textarea id="output-text" class="output-text" readonly></textarea>
</div>
</body>
</html>