Switch all text to English and remove code comments

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-30 13:07:24 +07:00
parent bbb5076da9
commit 4a59e668d4
2 changed files with 6 additions and 9 deletions

View File

@@ -1,9 +1,9 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="es"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hola Mundo</title> <title>Hello World</title>
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
</head> </head>
<body> <body>
@@ -11,7 +11,7 @@
<div class="scanline"></div> <div class="scanline"></div>
<div class="container"> <div class="container">
<h1 class="glitch" data-text="Hola Mundo">Hola Mundo</h1> <h1 class="glitch" data-text="Hello World">Hello World</h1>
<p class="subtitle"><span id="typed"></span></p> <p class="subtitle"><span id="typed"></span></p>
<p class="counter" id="counter"></p> <p class="counter" id="counter"></p>
</div> </div>

View File

@@ -1,4 +1,3 @@
// Particle field
const canvas = document.getElementById('particles'); const canvas = document.getElementById('particles');
const ctx = canvas.getContext('2d'); const ctx = canvas.getContext('2d');
@@ -63,11 +62,10 @@ createParticles();
draw(); draw();
// Typewriter subtitle
const lines = [ const lines = [
'bienvenido al universo digital', 'welcome to the digital universe',
'cada bit cuenta una historia', 'every bit tells a story',
'el código es poesía', 'code is poetry',
]; ];
let lineIdx = 0, charIdx = 0, deleting = false; let lineIdx = 0, charIdx = 0, deleting = false;
const typed = document.getElementById('typed'); const typed = document.getElementById('typed');
@@ -96,7 +94,6 @@ function typeLoop() {
typeLoop(); typeLoop();
// Live elapsed counter
const start = Date.now(); const start = Date.now();
const counterEl = document.getElementById('counter'); const counterEl = document.getElementById('counter');