body {
background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
font-family: 'Arial', sans-serif;
}
h1 {
font-size: 2.5rem;
font-weight: bold;
}
.card {
background-color: #ffffff;
border: 1px solid #ddd;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
textarea {
font-family: 'Courier New', monospace;
font-size: 1rem;
color: #333;
}
document.getElementById('tcForm').addEventListener('submit', function (e) {
e.preventDefault();
const companyName = document.getElementById('companyName').value;
const websiteURL = document.getElementById('websiteURL').value;
const effectiveDate = document.getElementById('effectiveDate').value;
const termsContent = `
Terms and Conditions for ${companyName}
Effective Date: ${effectiveDate}
Welcome to ${websiteURL}!
These terms and conditions outline the rules and regulations for the use of ${companyName}'s Website, located at ${websiteURL}.
By accessing this website, we assume you accept these terms and conditions. Do not continue to use ${websiteURL} if you do not agree to all the terms and conditions stated on this page.
Cookies:
We employ the use of cookies. By accessing ${websiteURL}, you agreed to use cookies in agreement with the ${companyName}'s Privacy Policy.
License:
Unless otherwise stated, ${companyName} and/or its licensors own the intellectual property rights for all material on ${websiteURL}. All intellectual property rights are reserved. You may access this from ${websiteURL} for your own personal use subjected to restrictions set in these terms and conditions.
... (add more content as necessary)
`;
document.getElementById('generatedTC').value = termsContent.trim();
document.getElementById('resultSection').classList.remove('d-none');
});
// Clipboard.js initialization
new ClipboardJS('#copyBtn');