<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Bio Page</title> <style> body { font-family: 'Arial', sans-serif; background-color: #121212; color: white; margin: 0; padding: 0; height: 100vh; display: flex; justify-content: center; align-items: center; overflow: hidden; text-align: center; } .bio-container { max-width: 800px; padding: 30px; background-color: rgba(0, 0, 0, 0.7); border-radius: 15px; box-shadow: 0 0 40px rgba(106, 13, 173, 0.6); text-align: center; position: relative; z-index: 1; } .profile-pic { width: 150px; height: 150px; border-radius: 50%; margin-bottom: 20px; border: 5px solid #9B59B6; box-shadow: 0 0 15px rgba(155, 89, 182, 0.8); } .bio-title { font-size: 36px; color: #9B59B6; margin: 10px 0; font-weight: bold; } .bio-description { font-size: 18px; color: #ddd; margin: 10px 0; } .text { font-size: 20px; color: #9B59B6; white-space: nowrap; overflow: hidden; display: inline-block; border-right: 4px solid #9B59B6; width: 0; animation: typing 3s steps(40) 1s forwards, glow 1.5s ease-in-out infinite alternate; } .cursor { display: inline-block; background-color: #9B59B6; height: 1.2em; width: 1px; animation: blink 0.8s steps(1) infinite; } @keyframes typing { 0% { width: 0; } 100% { width: 100%; } } @keyframes glow { 0% { text-shadow: 0 0 10px rgba(155, 89, 182, 0.6), 0 0 20px rgba(155, 89, 182, 0.6); } 50% { text-shadow: 0 0 20px rgba(155, 89, 182, 1), 0 0 40px rgba(155, 89, 182, 0.8); } 100% { text-shadow: 0 0 10px rgba(155, 89, 182, 0.6), 0 0 20px rgba(155, 89, 182, 0.6); } } @keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } } .button { background-color: #9B59B6; color: white; border: none; padding: 10px 20px; font-size: 18px; cursor: pointer; border-radius: 5px; box-shadow: 0 0 10px rgba(155, 89, 182, 0.5); transition: all 0.3s ease; } .button:hover { transform: scale(1.1); box-shadow: 0 0 15px rgba(155, 89, 182, 1); } </style></head><body> <div class="bio-container"> <img src="https://via.placeholder.com/150" alt="Profile Picture" class="profile-pic"> <h1 class="bio-title">Your Name</h1> <p class="bio-description">A passionate coder and creator, ready to change the world with code.</p> <div class="text" id="typingEffect"></div> <br><br> <button class="button" onclick="openBlankPage()">Open My Cool Bio Page</button> </div> <script> // Set your own cool bio text here const bioText = "Welcome to my world! I create and code exciting things, one line at a time."; let index = 0; const typingEffect = document.getElementById('typingEffect'); function typeBio() { if (index < bioText.length) { typingEffect.textContent += bioText.charAt(index); index++; setTimeout(typeBio, 100); } } // Start typing effect on page load window.onload = typeBio; function openBlankPage() { const newWindow = window.open('about:blank', '_blank'); newWindow.document.write(` <html> <head> <title>My Cool Bio Page</title> <style> body { font-family: 'Arial', sans-serif; background-color: #121212; color: white; margin: 0; padding: 0; height: 100vh; display: flex; justify-content: center; align-items: center; } .bio-container { max-width: 800px; padding: 30px; background-color: rgba(0, 0, 0, 0.7); border-radius: 15px; box-shadow: 0 0 40px rgba(106, 13, 173, 0.6); text-align: center; } .profile-pic { width: 150px; height: 150px; border-radius: 50%; margin-bottom: 20px; border: 5px solid #9B59B6; box-shadow: 0 0 15px rgba(155, 89, 182, 0.8); } .bio-title { font-size: 36px; color: #9B59B6; margin: 10px 0; font-weight: bold; } .bio-description { font-size: 18px; color: #ddd; margin: 10px 0; } </style> </head> <body> <div class="bio-container"> <img src="https://via.placeholder.com/150" alt="Profile Picture" class="profile-pic"> <h1 class="bio-title">Your Name</h1> <p class="bio-description">A passionate coder and creator, ready to change the world with code.</p> </div> </body> </html> `); } </script></body></html>