html y Css
html y Css
DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
</head>
<body>
<header>
<nav>
<a href="/" aria-label="Ir a la página de inicio">
<img src="https://encrypted-
tbn0.gstatic.com/images?q=tbn:ANd9GcSc5YTPft1nFULS5fOIKZenEZUHlYV-
29d5Fw&s.png" alt="Logo de [Cursera]">
</a>
<ul>
<li><a href="cursos.html">Cursos</a></li>
<li><a href="contacto.html">Contacto</a></li>
</ul>
<div class="redes-sociales">
</div>
</nav>
</header>
<main>
<section id="hero">
<div class="hero-image">
<img
src= "https://d3njjcbhbojbot.cloudfront.net/api/utilitie…8d46a2b167695c43.png?
auto=format%2Ccompress&dpr=11.jpg" alt="Aprendisajes">
</div>
</section>
<section id="our-courses">
<h2>Nuestros Cursos</h2>
<div class="course-grid">
<article class="course-card">
<img
src="https://d3njjcbhbojbot.cloudfront.net/api/utilitie…8d46a2b167695c43.png?a
uto=format%2Ccompress&dpr.jpg" alt="Mejores universidades">
</h3>
<article class="course-card">
<img
src="https://d3njjcbhbojbot.cloudfront.net/api/utilitie…8d46a2b167695c43.png?a
uto=format%2Ccompress&dpr=1jpg" alt="Heramientas de Google">
</article>
<article class="course-card">
<img
src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD…ZmGQAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/9k=.jpg" alt="Visual
studio code">
<h3>Guia para las heramientas visual </h3>
</article>
</div>
</section>
<section id="promotional-video">
<h2>Video Promocional</h2>
</video>
</section>
<section id="about-us">
<h2>Quiénes Somos</h2>
<section id="contact">
<h2>Contacto</h2>
<label for="name">Nombre:</label>
<label for="message">Mensaje:</label>
<button type="submit">Enviar</button>
</form>
</section>
</main>
<footer>
<nav>
<ul>
<li><a href="terminos-condiciones.html">Términos y
Condiciones</a></li>
</ul>
</nav>
</footer>
</body>
</html>
CSS
body {
font-family: sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
color: #333;
header {
background-color: #333;
color: white;
padding: 1em 0;
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
nav ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
nav li {
margin-left: 20px;
nav a {
color: white;
text-decoration: none;
main {
padding: 20px;
#hero {
background-color: #eee;
padding: 2em;
text-align: center;
}
.course-grid {
display: grid;
gap: 20px;
margin-top: 20px;
.course-card {
background-color: white;
padding: 15px;
border-radius: 5px;
.course-card img {
max-width: 100%;
height: auto;
display: block;
margin-bottom: 10px;
.button {
display: inline-block;
background-color: #0C356A;
border-radius: 5px;
margin-top: 10px;
}
footer {
background-color:#279EFF;
text-align: center;
padding: 1em 0;
position: sticky;
bottom: 0;
width: 100%;