https://www.highrevenuenetwork.com/znypawnc0h?key=5c94983c7736435e1396ac78eead083c

Saturday, July 27, 2024

PICT WEB TOOLS FOR FREE: Online Business Ca...

PICT WEB TOOLS FOR FREE: <!DOCTYPE html> Online Business Ca...: Online Business Card Maker Business Card Maker Name ...
Online Business Card Maker

Business Card Maker

body { font-family: Arial, sans-serif; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; background-color: #f4f4f4; } .container { text-align: center; padding: 20px; background-color: #fff; border-radius: 8px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } .form-group { margin-bottom: 15px; } label { display: block; margin-bottom: 5px; } input { width: 100%; padding: 8px; margin: 4px 0; box-sizing: border-box; border: 1px solid #ccc; border-radius: 4px; } button { background-color: #4CAF50; color: white; padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; } button:hover { background-color: #45a049; } .business-card { margin-top: 20px; padding: 20px; border-radius: 8px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); text-align: left; color: #fff; } .business-card img { max-width: 100px; border-radius: 50%; } .business-card .logo { max-width: 50px; } .hidden { display: none; } document.getElementById('generateBtn').addEventListener('click', generateCard); function getRandomColor() { const letters = '0123456789ABCDEF'; let color = '#'; for (let i = 0; i < 6; i++) { color += letters[Math.floor(Math.random() * 16)]; } return color; } function generateCard() { const name = document.getElementById('name').value; const position = document.getElementById('position').value; const email = document.getElementById('email').value; const phone = document.getElementById('phone').value; const imageUrl = document.getElementById('image').value; const logoUrl = document.getElementById('logo').value; const cardDiv = document.getElementById('card'); cardDiv.innerHTML = ''; cardDiv.style.backgroundColor = getRandomColor(); cardDiv.className = 'business-card'; const img = document.createElement('img'); img.src = imageUrl; cardDiv.appendChild(img); const logo = document.createElement('img'); logo.src = logoUrl; logo.className = 'logo'; cardDiv.appendChild(logo); const nameElem = document.createElement('h2'); nameElem.textContent = name; cardDiv.appendChild(nameElem); const positionElem = document.createElement('p'); positionElem.textContent = position; cardDiv.appendChild(positionElem); const emailElem = document.createElement('p'); emailElem.textContent = email; cardDiv.appendChild(emailElem); const phoneElem = document.createElement('p'); phoneElem.textContent = phone; cardDiv.appendChild(phoneElem); document.getElementById('downloadBtn').style.display = 'inline-block'; } document.getElementById('downloadBtn').addEventListener('click', downloadCard); function downloadCard() { const cardDiv = document.getElementById('card'); const svg = Snap(400, 200); const background = svg.rect(0, 0, 400, 200).attr({ fill: cardDiv.style.backgroundColor }); const image = svg.image(cardDiv.querySelector('img').src, 10, 10, 80, 80); const logo = svg.image(cardDiv.querySelector('.logo').src, 300, 10, 50, 50); const name = svg.text(100, 30, cardDiv.querySelector('h2').textContent).attr({ fill: '#fff', fontSize: '20px' }); const position = svg.text(100, 60, cardDiv.querySelector('p').textContent).attr({ fill: '#fff', fontSize: '16px' }); const email = svg.text(100, 90, cardDiv.querySelectorAll('p')[1].textContent).attr({ fill: '#fff', fontSize: '16px' }); const phone = svg.text(100, 120, cardDiv.querySelectorAll('p')[2].textContent).attr({ fill: '#fff', fontSize: '16px' }); const svgData = new XMLSerializer().serializeToString(svg.node); const svgBlob = new Blob([svgData], { type: 'image/svg+xml;charset=utf-8' }); const svgUrl = URL.createObjectURL(svgBlob); const downloadLink = document.createElement('a'); downloadLink.href = svgUrl; downloadLink.download = 'business_card.svg'; document.body.appendChild(downloadLink); downloadLink.click(); document.body.removeChild(downloadLink); }
URL Shortener Tool

URL Shortener Tool

body { font-family: Arial, sans-serif; display: flex; justify-content: center; align-items: center; height: 100vh; background: #f0f0f0; margin: 0; } .container { text-align: center; background: #fff; padding: 2em; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } h1 { color: #4CAF50; margin-bottom: 1em; } form { display: flex; flex-direction: column; align-items: center; } input[type="url"] { padding: 0.5em; width: 80%; max-width: 400px; border: 2px solid #4CAF50; border-radius: 5px; margin-bottom: 1em; font-size: 1em; } button { padding: 0.5em 1em; background: #4CAF50; color: #fff; border: none; border-radius: 5px; font-size: 1em; cursor: pointer; } button:hover { background: #45a049; } #result { margin-top: 1em; } #result.hidden, #error.hidden { display: none; } #error { color: red; margin-top: 1em; } #copyButton { margin-top: 0.5em; } document.getElementById('urlForm').addEventListener('submit', function(e) { e.preventDefault(); const longUrl = document.getElementById('longUrl').value; const resultDiv = document.getElementById('result'); const shortUrlAnchor = document.getElementById('shortUrl'); const errorDiv = document.getElementById('error'); fetch(`https://api.shrtco.de/v2/shorten?url=${longUrl}`) .then(response => response.json()) .then(data => { if (data.ok) { const shortUrl = data.result.full_short_link; shortUrlAnchor.href = shortUrl; shortUrlAnchor.textContent = shortUrl; resultDiv.classList.remove('hidden'); errorDiv.classList.add('hidden'); } else { resultDiv.classList.add('hidden'); errorDiv.textContent = 'Error: ' + data.error; errorDiv.classList.remove('hidden'); } }) .catch(error => { resultDiv.classList.add('hidden'); errorDiv.textContent = 'Error: ' + error.message; errorDiv.classList.remove('hidden'); }); }); document.getElementById('copyButton').addEventListener('click', function() { const shortUrl = document.getElementById('shortUrl').textContent; navigator.clipboard.writeText(shortUrl) .then(() => { alert('URL copied to clipboard'); }) .catch(err => { alert('Failed to copy URL'); }); });
Currency Converter

Currency Converter

Converted Amount:

body { font-family: Arial, sans-serif; background-color: #f0f0f0; color: #333; margin: 0; padding: 0; } .container { max-width: 600px; margin: 2rem auto; padding: 1rem; background-color: #fff; border-radius: 8px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } h1 { text-align: center; color: #333; margin-bottom: 1rem; } .converter { display: flex; flex-direction: column; } .input-group, .currency-group { margin-bottom: 1rem; } label { display: block; margin-bottom: 0.5rem; color: #555; } input, select, button { width: 100%; padding: 0.75rem; border: 1px solid #ddd; border-radius: 4px; } input:focus, select:focus, button:focus { outline: none; border-color: #007bff; } button { background-color: #007bff; color: #fff; border: none; cursor: pointer; } button:hover { background-color: #0056b3; } .result { margin-top: 1rem; font-size: 1.2rem; color: #333; } document.addEventListener('DOMContentLoaded', () => { const fromCurrencySelect = document.getElementById('from-currency'); const toCurrencySelect = document.getElementById('to-currency'); const amountInput = document.getElementById('amount'); const convertBtn = document.getElementById('convert-btn'); const convertedAmount = document.getElementById('converted-amount'); const apiURL = 'https://api.exchangerate-api.com/v4/latest/USD'; let exchangeRates = {}; // Fetch currency data fetch(apiURL) .then(response => response.json()) .then(data => { exchangeRates = data.rates; populateCurrencySelects(); }) .catch(error => console.error('Error fetching currency data:', error)); // Populate currency select elements function populateCurrencySelects() { const currencies = Object.keys(exchangeRates); const options = currencies.map(currency => ``).join(''); fromCurrencySelect.innerHTML = options; toCurrencySelect.innerHTML = options; } // Convert currency convertBtn.addEventListener('click', () => { const amount = parseFloat(amountInput.value); const fromCurrency = fromCurrencySelect.value; const toCurrency = toCurrencySelect.value; if (!amount || isNaN(amount) || fromCurrency === toCurrency) { convertedAmount.textContent = 'Please enter a valid amount and select different currencies.'; return; } const rateFrom = exchangeRates[fromCurrency]; const rateTo = exchangeRates[toCurrency]; const converted = (amount / rateFrom) * rateTo; convertedAmount.textContent = `Converted Amount: ${converted.toFixed(2)} ${toCurrency}`; }); });
GST Calculator

GST Calculator

body { background-color: #f8f9fa; } .calculator { background-color: #ffffff; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); padding: 20px; margin-top: 50px; } h1 { color: #007bff; } .btn-primary { background-color: #007bff; border: none; } .btn-primary:hover { background-color: #0056b3; } #result { background-color: #e9ecef; border-radius: 5px; padding: 15px; color: #333; font-size: 1.2em; } document.getElementById('gstForm').addEventListener('submit', function(e) { e.preventDefault(); // Get input values const amount = parseFloat(document.getElementById('amount').value); const gstRate = parseFloat(document.getElementById('gstRate').value); // Validate inputs if (isNaN(amount) || isNaN(gstRate) || amount <= 0 || gstRate < 0) { alert('Please enter valid values.'); return; } // Calculate GST const gstAmount = (amount * gstRate) / 100; const totalAmount = amount + gstAmount; // Display results document.getElementById('result').innerHTML = `

GST Amount: ₹${gstAmount.toFixed(2)}

Total Amount: ₹${totalAmount.toFixed(2)}

`; });
Loan Calculator

Loan Calculator

body { font-family: Arial, sans-serif; background-color: #f0f0f0; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .container { background-color: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); text-align: center; width: 100%; max-width: 600px; } h1 { margin-bottom: 20px; color: #007bff; } .form-group { margin-bottom: 15px; } .form-control { width: 100%; padding: 10px; border-radius: 4px; border: 1px solid #ddd; font-size: 16px; box-sizing: border-box; } .btn { background-color: #28a745; color: #fff; padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; } .btn:hover { background-color: #218838; } .hidden { display: none; } .result-container { margin-top: 20px; text-align: left; } .result-container p { margin: 10px 0; } .result-container span { font-weight: bold; color: #333; } document.addEventListener('DOMContentLoaded', () => { const loanForm = document.getElementById('loan-form'); const resultContainer = document.getElementById('result'); const monthlyPaymentElem = document.getElementById('monthly-payment'); const totalPaymentElem = document.getElementById('total-payment'); const totalInterestElem = document.getElementById('total-interest'); loanForm.addEventListener('submit', (event) => { event.preventDefault(); // Get input values const loanAmount = parseFloat(document.getElementById('loan-amount').value); const annualInterestRate = parseFloat(document.getElementById('interest-rate').value); const loanTerm = parseInt(document.getElementById('loan-term').value); // Calculate monthly interest rate const monthlyInterestRate = annualInterestRate / 100 / 12; const numberOfPayments = loanTerm * 12; // Calculate monthly payment const monthlyPayment = loanAmount * monthlyInterestRate / (1 - Math.pow(1 + monthlyInterestRate, -numberOfPayments)); // Calculate total payment and total interest const totalPayment = monthlyPayment * numberOfPayments; const totalInterest = totalPayment - loanAmount; // Display results monthlyPaymentElem.textContent = monthlyPayment.toFixed(2); totalPaymentElem.textContent = totalPayment.toFixed(2); totalInterestElem.textContent = totalInterest.toFixed(2); resultContainer.classList.remove('hidden'); }); });
Word & Character Counter

Word & Character Counter

body { font-family: Arial, sans-serif; background-color: #f0f0f0; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .container { background-color: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); text-align: center; width: 100%; max-width: 600px; } h1 { margin-bottom: 20px; color: #007bff; } .form-control { width: 100%; height: 150px; padding: 10px; border-radius: 4px; border: 1px solid #ddd; font-size: 16px; box-sizing: border-box; resize: none; } .results-container { margin-top: 20px; text-align: left; } .results-container p { margin: 10px 0; } .results-container span { font-weight: bold; color: #333; } document.addEventListener('DOMContentLoaded', () => { const textInput = document.getElementById('text-input'); const resultsContainer = document.getElementById('results'); const wordCountElem = document.getElementById('word-count'); const charCountElem = document.getElementById('char-count'); textInput.addEventListener('input', () => { const text = textInput.value; const wordCount = wordCount(text); const charCount = text.length; wordCountElem.textContent = wordCount; charCountElem.textContent = charCount; resultsContainer.classList.remove('hidden'); }); });

PICT WEB TOOLS FOR FREE: <!DOCTYPE html> Online Business Ca...

PICT WEB TOOLS FOR FREE: <!DOCTYPE html> Online Business Ca... : Online Business Card Maker ...