Compare commits

...

4 Commits

Author SHA1 Message Date
b7a9b4ada9 Añadido favicon. 2025-08-22 00:47:48 +02:00
0fa61a28d9 Mejora de etiquetas en página principal. 2025-08-22 00:47:25 +02:00
e31ee45261 Mejoras de sintaxis. 2025-08-22 00:43:19 +02:00
2b8c8799ad Corrección de errata. 2025-08-22 00:25:08 +02:00
4 changed files with 13 additions and 3 deletions

View File

@@ -2,9 +2,19 @@
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name='author' content='Fernando Méndez' />
<meta name='description' content='Página web de juegos online de Fernando Méndez.'>
<title>FerMdez - Games</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Montserrat:700,400&display=swap" rel="stylesheet">
<link rel='icon' href='./media/favicon.ico' sizes='192x192' />
<meta name='keywords' content='fermdez, juegos, games, mini-juegos, fermdez juegos, fermdez games'/>
<meta property='og:type' content='website' />
<meta property='og:site_name' content='FerMdez' />
<meta property='og:title' content='Fernando Méndez' />
<meta property='og:description' content='Página web de juegos online de Fernando Méndez.' />
<meta property='og:image' content='https://games.fermdez.net/media/favicon.ico' />
<meta property='og:url' content='https://games.fermdez.net/' />
<style>
body {
background: linear-gradient(120deg, #9cebfc 0%, #e9defa 100%);

BIN
media/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 KiB

View File

@@ -18,7 +18,7 @@ function playRound(userChoice) {
const computerChoice = computerPlay();
let resultMsg = `Tu elección: ${emoji(userChoice)} ${capitalize(userChoice)}<br>
Computadora: ${emoji(computerChoice)} ${capitalize(computerChoice)}<br>`;
Máquina: ${emoji(computerChoice)} ${capitalize(computerChoice)}<br>`;
if (userChoice === computerChoice) {
resultMsg += "<strong>¡Empate!</strong>";
@@ -33,7 +33,7 @@ function playRound(userChoice) {
} else {
computerScore++;
computerScoreSpan.textContent = computerScore;
resultMsg += "<strong>La computadora gana esta ronda.</strong>";
resultMsg += "<strong>La máquina gana esta ronda.</strong>";
}
resultDiv.innerHTML = resultMsg;

View File

@@ -8,7 +8,7 @@
<body>
<h1>Atrapa el Topo</h1>
<p>Haz clic en el topo cuando aparezca. ¡Consigue la mejor puntuación en 30 segundos!</p>
<div id="score">Puntaje: <span id="score-value">0</span></div>
<div id="score">Puntuación: <span id="score-value">0</span></div>
<div id="timer">Tiempo: <span id="timer-value">30</span>s</div>
<div id="grid"></div>
<button id="start-btn">¡Empezar!</button>