Switch all text to English and remove code comments
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="es">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<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">
|
||||
</head>
|
||||
<body>
|
||||
@@ -11,7 +11,7 @@
|
||||
<div class="scanline"></div>
|
||||
|
||||
<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="counter" id="counter"></p>
|
||||
</div>
|
||||
|
||||
9
main.js
9
main.js
@@ -1,4 +1,3 @@
|
||||
// Particle field
|
||||
const canvas = document.getElementById('particles');
|
||||
const ctx = canvas.getContext('2d');
|
||||
|
||||
@@ -63,11 +62,10 @@ createParticles();
|
||||
draw();
|
||||
|
||||
|
||||
// Typewriter subtitle
|
||||
const lines = [
|
||||
'bienvenido al universo digital',
|
||||
'cada bit cuenta una historia',
|
||||
'el código es poesía',
|
||||
'welcome to the digital universe',
|
||||
'every bit tells a story',
|
||||
'code is poetry',
|
||||
];
|
||||
let lineIdx = 0, charIdx = 0, deleting = false;
|
||||
const typed = document.getElementById('typed');
|
||||
@@ -96,7 +94,6 @@ function typeLoop() {
|
||||
typeLoop();
|
||||
|
||||
|
||||
// Live elapsed counter
|
||||
const start = Date.now();
|
||||
const counterEl = document.getElementById('counter');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user