Pages

Thursday, 19 December 2024

Terms & Conditions Generator Tool



Terms & Conditions Generator

Terms & Conditions Generator

Generate your Terms & Conditions page easily.

* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Poppins', sans-serif; background-color: #f4f4f9; color: #333; } .container { width: 80%; margin: 30px auto; padding: 20px; background-color: white; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); border-radius: 8px; } header { text-align: center; margin-bottom: 30px; } h1 { font-size: 2.5em; color: #3498db; } p { font-size: 1.1em; color: #555; } form { display: flex; flex-direction: column; gap: 15px; } label { font-weight: bold; } input, textarea { padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 1em; } input[type="text"], input[type="url"], input[type="email"] { width: 100%; } textarea { resize: vertical; } button { background-color: #3498db; color: white; padding: 10px 15px; font-size: 1.1em; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; } button:hover { background-color: #2980b9; } .output-section { margin-top: 30px; padding: 20px; background-color: #ecf0f1; border-radius: 8px; } h2 { font-size: 2em; color: #2ecc71; margin-bottom: 20px; } #terms-display { font-size: 1.1em; line-height: 1.6; } document.getElementById('tc-form').addEventListener('submit', function(event) { event.preventDefault(); // Get values from form fields const companyName = document.getElementById('company-name').value; const websiteUrl = document.getElementById('website-url').value; const email = document.getElementById('email').value; const additionalContent = document.getElementById('terms-content').value; // Generate terms & conditions content let termsContent = `

Terms and Conditions for ${companyName}

Effective Date: ${new Date().toLocaleDateString()}

1. Introduction

Welcome to ${companyName}. By accessing or using our website ${websiteUrl}, you agree to comply with the following terms and conditions.

2. Contact Information

If you have any questions, please contact us at ${email}.

3. Additional Terms

${additionalContent ? additionalContent : 'No additional terms specified.'}

4. Changes to Terms

We may update our terms and conditions from time to time. Please review this page periodically for changes.

`; // Display the generated terms and conditions document.getElementById('terms-display').innerHTML = termsContent; document.getElementById('terms-output').style.display = 'block'; });