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'); }); });
Bank IFSC Code Checker

Bank IFSC Code Checker

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: 500px; } 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; } .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; }
QR Code Generator

QR Code Generator

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: 500px; } h1 { margin-bottom: 20px; } .form-group { margin-bottom: 15px; } .form-control { width: 100%; padding: 10px; border-radius: 4px; border: 1px solid #ddd; } .btn { background-color: #007bff; color: #fff; padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; } .btn:hover { background-color: #0056b3; } .hidden { display: none; } .qr-code-container { margin: 20px 0; } .qr-code-container img { max-width: 100%; height: auto; } document.addEventListener('DOMContentLoaded', () => { const qrTypeSelect = document.getElementById('qr-type'); const qrInput = document.getElementById('qr-input'); const generateBtn = document.getElementById('generate-btn'); const qrCodeContainer = document.getElementById('qr-code-container'); const downloadBtn = document.getElementById('download-btn'); const generateQRCode = (text) => { QRCode.toDataURL(text, { color: { dark: '#000000', light: '#ffffff' } }, (err, url) => { if (err) { console.error(err); return; } qrCodeContainer.innerHTML = `QR Code`; downloadBtn.classList.remove('hidden'); downloadBtn.setAttribute('href', url); downloadBtn.setAttribute('download', 'qrcode.png'); }); }; generateBtn.addEventListener('click', () => { const type = qrTypeSelect.value; let text = qrInput.value.trim(); if (text) { switch (type) { case 'URL': generateQRCode(text); break; case 'WhatsApp': generateQRCode(`https://wa.me/${text}`); break; case 'Text': generateQRCode(text); break; case 'Email': generateQRCode(`mailto:${text}`); break; default: alert('Invalid QR Code type.'); } } else { alert('Please enter the input.'); } }); downloadBtn.addEventListener('click', () => { // This will trigger the download when the button is clicked. }); });
Calculator Tool

Calculator

body { font-family: Arial, sans-serif; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f0f0f0; } .calculator-container { width: 90%; max-width: 400px; background-color: white; padding: 20px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); border-radius: 10px; text-align: center; } h1 { margin-bottom: 20px; color: #333; } .calculator { width: 100%; } #display { width: 100%; height: 50px; margin-bottom: 10px; padding: 10px; font-size: 24px; text-align: right; border: 1px solid #ddd; border-radius: 5px; background-color: #f9f9f9; } .buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; } button { width: 100%; padding: 20px; font-size: 18px; border: none; border-radius: 5px; cursor: pointer; } button:active { transform: scale(0.98); } button:nth-child(4n+1) { background-color: #ff4d4d; color: white; } button:nth-child(4n+2) { background-color: #ffcc00; color: white; } button:nth-child(4n+3) { background-color: #00b3b3; color: white; } button:nth-child(4n+4), .equals { background-color: #4CAF50; color: white; } button:hover { opacity: 0.9; } function clearDisplay() { document.getElementById("display").value = ""; } function deleteLast() { let display = document.getElementById("display"); display.value = display.value.slice(0, -1); } function appendValue(value) { let display = document.getElementById("display"); display.value += value; } function calculateResult() { let display = document.getElementById("display"); try { display.value = eval(display.value); } catch (error) { alert("Invalid expression"); clearDisplay(); } }
Image Resizer Tool

Image Resizer Tool

Download Resized Image
body { font-family: Arial, sans-serif; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f0f0f0; } .container { width: 90%; max-width: 600px; background-color: white; padding: 20px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); border-radius: 10px; text-align: center; } h1 { margin-bottom: 20px; color: #333; } input[type="file"] { margin: 10px 0; } .resize-options { display: flex; justify-content: space-between; margin: 10px 0; } input[type="number"] { width: 45%; padding: 10px; font-size: 16px; border-radius: 5px; border: 1px solid #ddd; } canvas { display: none; margin: 20px 0; border: 1px solid #ddd; } .download-button { padding: 10px 20px; font-size: 16px; border: none; border-radius: 5px; background-color: #4CAF50; color: white; text-decoration: none; cursor: pointer; display: none; margin-top: 20px; } .download-button:hover { background-color: #45a049; } let img = new Image(); let canvas = document.getElementById('canvas'); let ctx = canvas.getContext('2d'); function loadImage(event) { let reader = new FileReader(); reader.onload = function() { img.src = reader.result; img.onload = function() { document.getElementById('width').value = img.width; document.getElementById('height').value = img.height; resizeImage(); } } reader.readAsDataURL(event.target.files[0]); } function resizeImage() { let width = document.getElementById('width').value; let height = document.getElementById('height').value; if (width && !height) { height = img.height * (width / img.width); document.getElementById('height').value = Math.round(height); } else if (!width && height) { width = img.width * (height / img.height); document.getElementById('width').value = Math.round(width); } canvas.width = width; canvas.height = height; ctx.clearRect(0, 0, canvas.width, canvas.height); ctx.drawImage(img, 0, 0, width, height); document.getElementById('downloadLink').href = canvas.toDataURL('image/png'); document.getElementById('downloadLink').style.display = 'inline-block'; canvas.style.display = 'block'; }
Text to Speech Converter

Text to Speech Converter

body { font-family: Arial, sans-serif; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f0f0f0; } .container { width: 90%; max-width: 500px; background-color: white; padding: 20px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); border-radius: 10px; text-align: center; } h1 { margin-bottom: 20px; color: #333; } textarea { width: 100%; height: 100px; margin: 10px 0; padding: 10px; font-size: 16px; border-radius: 5px; border: 1px solid #ddd; } select { width: 100%; padding: 10px; margin: 10px 0; font-size: 16px; border-radius: 5px; border: 1px solid #ddd; } button { padding: 10px 20px; font-size: 16px; border: none; border-radius: 5px; background-color: #4CAF50; color: white; cursor: pointer; margin-top: 10px; } button:hover { background-color: #45a049; } document.addEventListener("DOMContentLoaded", function() { const voiceSelection = document.getElementById("voiceSelection"); // Populate the voice selection dropdown responsiveVoice.getVoices().forEach(voice => { const option = document.createElement("option"); option.value = voice.name; option.textContent = `${voice.name} (${voice.lang})`; voiceSelection.appendChild(option); }); }); function convertTextToSpeech() { const textInput = document.getElementById("textInput").value; const selectedVoice = document.getElementById("voiceSelection").value; if (!textInput.trim()) { alert("Please enter some text to convert to speech."); return; } if (!selectedVoice) { alert("Please select a voice."); return; } responsiveVoice.speak(textInput, selectedVoice); }
YouTube Thumbnail Downloader

YouTube Thumbnail Downloader

body { font-family: Arial, sans-serif; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f0f0f0; } .container { width: 90%; max-width: 500px; background-color: white; padding: 20px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); border-radius: 10px; text-align: center; } h1 { margin-bottom: 20px; } input[type="text"] { width: 100%; padding: 10px; margin: 10px 0; border-radius: 5px; border: 1px solid #ddd; font-size: 16px; } button { padding: 10px 20px; font-size: 16px; border: none; border-radius: 5px; background-color: #4CAF50; color: white; cursor: pointer; margin-top: 10px; } button:hover { background-color: #45a049; } .thumbnail-container { margin-top: 20px; display: none; flex-direction: column; align-items: center; } .thumbnail-container img { width: 100%; max-width: 400px; border-radius: 5px; margin-bottom: 10px; } .thumbnail-container a { padding: 10px 20px; font-size: 16px; border: none; border-radius: 5px; background-color: #4CAF50; color: white; text-decoration: none; cursor: pointer; } .thumbnail-container a:hover { background-color: #45a049; } function extractVideoID(url) { const regex = /(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:[^\/\n\s]+\/\S+\/|(?:v|e(?:mbed)?)\/|\S*?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/; const match = url.match(regex); return match ? match[1] : null; } function downloadThumbnail() { const url = document.getElementById("youtubeUrl").value; const videoID = extractVideoID(url); if (!videoID) { alert("Please enter a valid YouTube URL."); return; } const thumbnailUrl = `https://img.youtube.com/vi/${videoID}/maxresdefault.jpg`; const thumbnailImage = document.getElementById("thumbnailImage"); const downloadLink = document.getElementById("downloadLink"); thumbnailImage.src = thumbnailUrl; downloadLink.href = thumbnailUrl; document.getElementById("thumbnailContainer").style.display = "flex"; }
SpeedTest Checker Tool

SpeedTest Checker Tool

Download Speed: 0 Mbps
Upload Speed: 0 Mbps
Ping: 0 ms
body { font-family: Arial, sans-serif; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f0f0f0; } .speedtest-container { width: 90%; max-width: 600px; background-color: white; padding: 20px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); border-radius: 10px; text-align: center; } h1 { margin-bottom: 20px; } .results { margin: 20px 0; } .result-item { display: flex; justify-content: space-between; padding: 10px; background-color: #f9f9f9; border-radius: 5px; margin-bottom: 10px; font-size: 18px; } button { padding: 10px 20px; font-size: 16px; border: none; border-radius: 5px; background-color: #4CAF50; color: white; cursor: pointer; } button:hover { background-color: #45a049; }function updateResult(id, value, unit) { document.getElementById(id).innerText = `${value} ${unit}`; } function startSpeedTest() { const s = new Speedtest(); s.setParameter("telemetry_level", "basic"); s.onupdate = function(data) { if (data.download !== undefined) updateResult("downloadSpeed", (data.download.bandwidth / 125000).toFixed(2), "Mbps"); if (data.upload !== undefined) updateResult("uploadSpeed", (data.upload.bandwidth / 125000).toFixed(2), "Mbps"); if (data.ping !== undefined) updateResult("ping", data.ping.latency.toFixed(2), "ms"); }; s.onend = function(abortReason) { if (abortReason) { alert("Test aborted: " + abortReason); } }; s.start(); }

Friday, July 26, 2024

Language Translator

Language Translator

body { font-family: Arial, sans-serif; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f0f0f0; } .translator-container { width: 90%; max-width: 600px; background-color: white; padding: 20px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); border-radius: 10px; text-align: center; } h1 { margin-bottom: 20px; } textarea { width: 100%; height: 100px; margin: 10px 0; padding: 10px; font-size: 16px; border-radius: 5px; border: 1px solid #ddd; } select { width: 45%; padding: 10px; margin: 10px 2.5%; font-size: 16px; border-radius: 5px; border: 1px solid #ddd; } button { padding: 10px 20px; font-size: 16px; border: none; border-radius: 5px; background-color: #4CAF50; color: white; cursor: pointer; margin-top: 20px; } button:hover { background-color: #45a049; } async function translateText() { const inputText = document.getElementById("inputText").value; const languageFrom = document.getElementById("languageFrom").value; const languageTo = document.getElementById("languageTo").value; if (inputText.trim() === "") { alert("Please enter some text to translate."); return; } const apiURL = `https://api.mymemory.translated.net/get?q=${encodeURIComponent(inputText)}&langpair=${languageFrom}|${languageTo}`; try { const response = await fetch(apiURL); const data = await response.json(); const translatedText = data.responseData.translatedText; document.getElementById("outputText").value = translatedText; } catch (error) { console.error("Error translating text:", error); alert("An error occurred while translating the text. Please try again."); } }
Text Editor
body { font-family: Arial, sans-serif; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f4f4f4; } .editor-container { width: 80%; max-width: 800px; background-color: white; border: 1px solid #ddd; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } .toolbar { display: flex; border-bottom: 1px solid #ddd; background-color: #f9f9f9; padding: 10px; } .toolbar button { background: none; border: none; padding: 5px 10px; margin-right: 5px; cursor: pointer; font-size: 16px; } .toolbar button:hover { background-color: #e0e0e0; } #editor { padding: 20px; min-height: 300px; outline: none; } function execCmd(command, value = null) { document.execCommand(command, false, value); } function downloadText() { const text = document.getElementById("editor").innerText; const blob = new Blob([text], { type: "text/plain" }); const link = document.createElement("a"); link.href = URL.createObjectURL(blob); link.download = "document.txt"; link.click(); } // Ensure the contenteditable div retains focus on click document.getElementById('editor').addEventListener('click', function() { this.focus(); });
Screen Recorder Tool

Screen Recorder Tool

body { display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; font-family: Arial, sans-serif; background: linear-gradient(135deg, #f5a623, #f76b1c); } .container { background: white; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); padding: 20px; max-width: 600px; width: 100%; text-align: center; } h1 { color: #f76b1c; } .controls { margin: 20px 0; } button { background: #f76b1c; color: white; border: none; padding: 10px 20px; font-size: 16px; border-radius: 10px; cursor: pointer; margin: 5px; transition: background 0.3s ease; } button:hover { background: #f5a623; } button:disabled { background: #ccc; cursor: not-allowed; } video { width: 100%; border-radius: 10px; margin-top: 20px; } let recorder, stream; const startButton = document.getElementById('start-record-btn'); const stopButton = document.getElementById('stop-record-btn'); const downloadButton = document.getElementById('download-record-btn'); const videoPreview = document.get

tax to pdf converter

Text to PDF Converter

Text to PDF Converter

document.getElementById('convert-btn').addEventListener('click', function() { const text = document.getElementById('text-input').value; if (!text) { alert('Please enter some text'); return; } const doc = new jsPDF(); const lines = doc.splitTextToSize(text, 180); doc.text(lines, 10, 10); doc.save('document.pdf'); }); // Adding jsPDF library const script = document.createElement('script'); script.src = 'https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.4.0/jspdf.umd.min.js'; script.onload = () => window.jsPDF = window.jspdf.jsPDF; document.head.appendChild(script);

Saturday, July 20, 2024



!DOCTYPE html> Image Compressor Tool

Image Compressor Tool

Original Image

Original Image

Compressed Image

Compressed Image


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

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

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