google.com, pub-1485419071735462, DIRECT, f08c47fec0942fa0 Fuva HD Tools

Thursday, March 7, 2024

Countdown Timer Tool

Countdown Timer

Countdown Timer

/* styles.css */ body { font-family: Arial, sans-serif; background-color: #f4f4f4; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; padding: 0; } .container { text-align: center; } h1 { color: #333; } #timer { margin-bottom: 20px; } input[type="datetime-local"] { padding: 10px; font-size: 16px; border-radius: 5px; border: 1px solid #ccc; } button { background-color: #3498db; color: #fff; border: none; padding: 10px 20px; font-size: 16px; cursor: pointer; border-radius: 5px; } #countdown-display { font-size: 24px; } // scripts.js let countdownInterval; function startCountdown() { const datetimeInput = document.getElementById('datetime-input').value; const targetDate = new Date(datetimeInput).getTime(); if (isNaN(targetDate)) { alert('Please enter a valid date and time.'); return; } countdownInterval = setInterval(function() { const currentDate = new Date().getTime(); const timeRemaining = targetDate - currentDate; if (timeRemaining <= 0) { clearInterval(countdownInterval); document.getElementById('countdown-display').innerHTML = 'Countdown expired'; } else { const days = Math.floor(timeRemaining / (1000 * 60 * 60 * 24)); const hours = Math.floor((timeRemaining % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); const minutes = Math.floor((timeRemaining % (1000 * 60 * 60)) / (1000 * 60)); const seconds = Math.floor((timeRemaining % (1000 * 60)) / 1000); document.getElementById('countdown-display').innerHTML = `${days}d ${hours}h ${minutes}m ${seconds}s`; } }, 1000); }

Tuesday, March 5, 2024

Password Strength Checker Tool

Password Strength Checker

Password Strength Checker

/* styles.css */ body { font-family: Arial, sans-serif; background-color: #f4f4f4; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; padding: 0; } .container { text-align: center; } h1 { color: #333; } input[type="password"] { width: 300px; padding: 10px; font-size: 16px; border-radius: 5px; border: 1px solid #ccc; } #strength-meter { margin-top: 20px; width: 300px; height: 20px; border-radius: 5px; background-color: #eee; } #strength-meter div { height: 100%; border-radius: 5px; transition: width 0.3s ease; } #strength-meter .weak { background-color: #ff6666; } #strength-meter .medium { background-color: #ffd966; } #strength-meter .strong { background-color: #66ff66; } // scripts.js const passwordInput = document.getElementById('password'); const strengthMeter = document.getElementById('strength-meter'); passwordInput.addEventListener('input', () => { const password = passwordInput.value; const strength = calculatePasswordStrength(password); updateStrengthMeter(strength); }); function calculatePasswordStrength(password) { let score = 0; if (password.length < 8) { return score; } score += password.length * 4; score += countUppercaseLetters(password) * 2; score += countNumbers(password) * 4; score += countSymbols(password) * 6; score += bonusPoints(password); return Math.min(Math.floor(score / 100), 10); } function countUppercaseLetters(password) { return password.replace(/[^A-Z]/g, '').length; } function countNumbers(password) { return password.replace(/[^0-9]/g, '').length; } function countSymbols(password) { return password.replace(/[A-Za-z0-9]/g, '').length; } function bonusPoints(password) { let bonus = 0; if (password.match(/([a-z].*[A-Z])|([A-Z].*[a-z])/)) { bonus += 10; } if (password.match(/([a-zA-Z])/) && password.match(/([0-9])/)) { bonus += 15; } if (password.match(/([!,@,#,$,%,^,&,*,?,_,~])/)) { bonus += 20; } return bonus; } function updateStrengthMeter(strength) { const meter = strengthMeter.querySelector('div'); meter.style.width = `${strength * 10}%`; meter.className = ''; if (strength < 4) { meter.classList.add('weak'); } else if (strength < 7) { meter.classList.add('medium'); } else { meter.classList.add('strong'); } }

Monday, March 4, 2024

Markdown Editor Tool



Markdown Editor

Markdown Editor

/* styles.css */ body { font-family: Arial, sans-serif; background-color: #f4f4f4; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; padding: 0; } .container { text-align: center; } h1 { color: #333; } .editor-container { display: flex; } textarea { width: 50%; height: 400px; padding: 10px; font-size: 16px; border-radius: 5px 0 0 5px; border: 1px solid #ccc; resize: none; } #preview { width: 50%; height: 400px; padding: 10px; font-size: 16px; border-radius: 0 5px 5px 0; border: 1px solid #ccc; overflow-y: auto; } // scripts.js const markdownInput = document.getElementById('markdown-input'); const preview = document.getElementById('preview'); markdownInput.addEventListener('input', updatePreview); function updatePreview() { const markdownText = markdownInput.value; const htmlText = marked(markdownText); preview.innerHTML = htmlText; }

Thursday, February 29, 2024

Recipe Finder Application

Recipe Finder

Recipe Finder

Tuesday, February 27, 2024

Fully Functional Screen Recorder Tool

Screen Recorder

Screen Recorder


Monday, February 26, 2024

Text to PDF converter Tool

Text to PDF Converter

Text to PDF Converter



Thursday, February 22, 2024

Countdown Timer Tool

Countdown Timer

Countdown Timer




00:00:00

SCREEN RECORDER TOOL

Screen Recorder Tool Screen Recorder Tool Start Recording ...