webprog7
webprog7
<!DOCTYPE html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-
js.min.js"></script>
<style>
*{
padding: 0;
margin: 0;
box-sizing: border-box;
body {
color: #000000;
.container {
width: 60%;
margin: 0 auto;
padding: 20px;
}
.head-title h1 {
font-size: 28px;
padding: 10px;
color: #fff;
margin-bottom: 50px;
.head-title {
width: 100%;
background: #000;
text-align: center;
border-radius: 10px;
.section {
margin-bottom: 40px;
padding: 20px;
border-radius: 8px;
background: #fff;
box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px
1px 2px 0px;
overflow: hidden;
.section h2 {
color: #000000;
font-size: 20px;
margin-bottom: 15px;
textarea {
font-size: 14px;
width: 100%;
height: 120px;
margin-bottom: 15px;
padding: 12px;
border-radius: 8px;
box-sizing: border-box;
textarea:focus {
background: transparent;
border-color: #007BFF;
outline: none;
input[type="text"] {
padding: 12px;
border-radius: 8px;
border: 1px solid #ddd;
box-sizing: border-box;
margin-bottom: 15px;
input[type="text"]:focus {
border-color: #007BFF;
outline: none;
button {
display: inline-block;
margin: 10px 0;
font-weight: 600;
border: none;
border-radius: 7px;
background-color: #007BFF;
color: #fff;
cursor: pointer;
font-size: 16px;
}
button:hover {
button:focus {
pre {
display: none;
background: #f8f9fa;
padding: 15px;
border-radius: 8px;
overflow: auto;
.error {
margin-top: 10px;
font-size: 14px;
color: #000;
background: #ffdddd;
border-color: #ff0000;
padding: 10px;
}
.success {
margin-top: 10px;
font-size: 14px;
color: #000;
background: #6ef08d38;
border-color: #47e56d;
padding: 10px;
.adjust-area {
margin-top: 30px;
</style>
</head>
<body>
<div class="container">
<div class="head-title">
<h1>Simple Converter</h1>
</div>
<div class="section">
<div class="section">
</div>
<div class="section">
</div>
<div class="section">
</div>
</div>
<script>
element.textContent = text;
element.style.display = 'block';
element.style.opacity = '1';
function convertJsonToObject() {
try {
} catch (error) {
function convertJsonToDate() {
try {
} else {
} catch (error) {
function convertJsonToCsv() {
try {
const csv = [
keys.join(','),
].join('\n');
} else {
} catch (error) {
showResult('csvOutput', 'Invalid JSON', false);
function convertCsvToJson() {
try {
if (lines.length > 1) {
if (keys.length > 0) {
obj[key] = values[index];
return obj;
}, {});
});
} else {
} else {
} catch (error) {
function createHash() {
if (hashInput.length > 0) {
} else {
</script>
</body>
</html>