1
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Mi Primer Proyecto Bootstrap 5</title>
<!-- CSS de Bootstrap 5 -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body class="bg-light p-4">
<div class="container" style="max-width: 600px;">
<div class="card shadow-sm border-0 rounded-4">
<div class="card-body p-4 text-center">
<span class="badge bg-primary-subtle text-primary fw-bold px-3 py-2 rounded-pill mb-3">
Bootstrap 5 · Kilopolis Academia
</span>
<h1 class="card-title h3 fw-bold text-dark mb-2">
¡Hola Mundo con Bootstrap 5!
</h1>
<p class="card-text text-secondary mb-4">
Construye interfaces elegantes y 100% adaptables en minutos combinando clases utilitarias de espaciado, sombra y color sin redactar código CSS manual.
</p>
<div class="d-flex justify-content-center gap-2">
<button class="btn btn-primary px-4 fw-semibold shadow-sm" onclick="alert('¡Bienvenido al curso de Bootstrap 5 en Kilopolis!')">
Comenzar Ahora »
</button>
<button class="btn btn-outline-secondary px-3" onclick="alert('Explorando componentes...')">
Documentación
</button>
</div>
</div>
</div>
</div>
<!-- Bundle JS de Bootstrap 5 -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
Haz clic para editar este código