Posts

Showing posts from August, 2025

Matching Game

 <!DOCTYPE html> <button id="btn1">Button 1</button> <button id="btn1">Button 1</button> <button id="btn2">Button 2</button> <button id="btn2">Button 2</button> <script> var buttons = document.querySelectorAll("button"); var hiddenButton = null;  // Track the hidden button for (var i = 0; i < buttons.length; i++) { buttons[i].onclick = function() { if (hiddenButton) { if (hiddenButton.id === this.id) { hiddenButton.disabled = true; this.disabled = true; hiddenButton.style.visibility = "visible"; hiddenButton = null; alert("✅ Match Found!"); } else { hiddenButton.style.visibility = "visible"; hiddenButton = null; alert("❌ Not a Match"); } } else { this.style.visibility = "hidden"; hiddenButton = this; } }; } </script> <!DOCTYPE html> <button id="btn1">Button 1</button> <button id="btn1...

Extract Images with Bat file

 @echo off setlocal :: URL of the website set "url=https://example.com" :: Output file set "outfile=imagelinks.txt" :: Use PowerShell to fetch and extract <img src=""> powershell -command ^     "$html = Invoke-WebRequest '%url%' -UseBasicParsing; ^      $html.Links | Out-Null; ^      ($html.ParsedHtml.getElementsByTagName('img') | ForEach-Object { $_.src }) | Out-File '%outfile%' -Encoding utf8" echo Image links extracted to %outfile% pause ------------------------------------------------------------------------------------------------------------------ DOWNLOAD IMAGES https://www.youtube.com/watch?v=W4LIoLgVdbA https://www.youtube.com/watch?v=W4LIoLgVdbA -----------------------------------------------------------------------------------------------------------------------------https://ae-pic-a1.aliexpress-media.com/kf/S9374ab1eaf59406ca0f0b858bac8de95R.jpg_220x220q75.jpg_.avif https://ae-pic-a1.aliexpress-media.com/...

DOWNLOAD IMAGES WITH BAT FILES

  Method 2: Manual Download (Browser) If you prefer a manual approach: Download each image : Right-click each link → "Save image as..." (Chrome/Firefox/Edge). Save all images in a folder (e.g.,  AliExpress_Images ). Create a ZIP file : Select all images → Right-click → "Send to" → "Compressed (zipped) folder". Name the ZIP file (e.g.,  AliExpress_Images.zip ). Let me know if you need help with any step! 🚀 batch file Here’s a  Windows Batch File  ( download_images.bat ) that will download all the images and automatically zip them into a folder: Batch Script: batch @ echo off setlocal enabledelayedexpansion :: Create folders mkdir "downloaded_images" 2 >nul :: List of image URLs set "URL[1]=https://ae-pic-a1.aliexpress-media.com/kf/S4f1871df5a7a46ba9022fcbd1a5fc48am.jpg" set "URL[2]=https://ae-pic-a1.aliexpress-media.com/kf/Sed6bbaacb1924186b7241d455aa4acede.jpg" set "URL[3]=https://ae-pic-a1.aliexpress-...

Hill climb Race Car Move Animation

Image
 <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <title>Hill Climb Racing</title>     <style>         body {             margin: 0;             padding: 0;             background-color: #87CEEB;             font-family: Arial, sans-serif;             overflow: hidden;             user-select: none;             touch-action: manipulation;         }                  #game-container {             position: relative;             width: 800px;   ...