Skip to content

Commit 009740b

Browse files
committed
Eliminado Jumbotron component, usando clases de Bostrap 5, ejercicio 06
1 parent 829cad8 commit 009740b

File tree

8 files changed

+29
-27
lines changed

8 files changed

+29
-27
lines changed
Loading
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
# `06` Jumbotron And 3 Boxes
1+
# `06` Hero Section And 3 Boxes
22

33
## 📝 Instrucciones:
44

55
1. Recrea este HTML exacto usando Bootstrap (no necesitas CSS en absoluto):
66

7-
![Example Image](../../.learn/assets/06-jumbotron-and-three-boxes-result.png?raw=true)
7+
![Example Image](../../.learn/assets/06-hero-section-and-three-boxes-result.png?raw=true)
88

99
## 💡 Pista:
1010

11-
+ Usa 1 contenedor principal con 2 filas. La primera fila contiene un `<h1>`, un `<p>` y un `<button>`, y la segunda fila contiene 3 columnas.
11+
- Usa 1 contenedor principal con 2 filas. La primera fila contiene un `<h1>`, un `<p>` y un `<button>`, y la segunda fila contiene 3 columnas.
1212

13-
+ En la segunda fila, cada columna contiene un `<h2>` un `<p>` y un `<button>`.
13+
- En la segunda fila, cada columna contiene un `<h2>` un `<p>` y un `<button>`.
1414

1515
## 🔎 Importante:
1616

1717
Revisa la documentación:
18+
1819
- https://getbootstrap.com/docs/5.0/layout/grid/
1920
- https://getbootstrap.com/docs/5.0/utilities/spacing/
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
# `06` Jumbotron And 3 Boxes
1+
# `06` Hero Section And 3 Boxes
22

33
## 📝 Instructions:
44

55
1. Recreate this exact HTML using Bootstrap (you don't need any CSS at all):
66

7-
![Example Image](../../.learn/assets/06-jumbotron-and-three-boxes-result.png?raw=true)
7+
![Example Image](../../.learn/assets/06-hero-section-and-three-boxes-result.png?raw=true)
88

99
## 💡 Hint:
1010

11-
+ Use 1 main container with 2 rows. The first row contains an `<h1>`, a `<p>` and a `<button>`, and the second row contains 3 columns.
11+
- Use 1 main container with 2 rows. The first row contains an `<h1>`, a `<p>` and a `<button>`, and the second row contains 3 columns.
1212

13-
+ In the second row each column contains an `<h2>` a `<p>` and a `<button>`.
13+
- In the second row each column contains an `<h2>` a `<p>` and a `<button>`.
1414

1515
## 🔎 Important:
1616

1717
Check the docs:
18+
1819
- https://getbootstrap.com/docs/5.0/layout/grid/
1920
- https://getbootstrap.com/docs/5.0/utilities/spacing/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
<head>
5+
<meta charset="utf-8" />
6+
<meta name="viewport" content="width=device-width" />
7+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
8+
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous" />
9+
<title>06 Hero Section And 3 Boxes</title>
10+
</head>
11+
12+
<body>
13+
14+
</body>
15+
16+
</html>

exercises/06-Jumbotron-And-Three-Boxes/solution.hide.html renamed to exercises/06-Hero-Section-And-Three-Boxes/solution.hide.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,16 @@
99
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
1010
crossorigin="anonymous"
1111
/>
12-
<title>06 Jumbotron And 3 Boxes</title>
12+
<title>06 Hero Section And 3 Boxes</title>
1313
</head>
14+
1415
<body>
1516
<div class="container-fluid">
1617
<div class="row">
1718
<div class="col-12 bg-light p-5">
1819
<h1 class="display-5 fw-bold">Hello, world!</h1>
1920
<p class="fs-5">
20-
This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three
21+
This is a template for a simple marketing or informational website. It includes a large callout called a hero and three
2122
supporting pieces of content. Use it as a starting point to create something more unique.
2223
</p>
2324
<button class="btn btn-primary" type="button">Learn more »</button>

exercises/06-Jumbotron-And-Three-Boxes/index.html

-17
This file was deleted.

0 commit comments

Comments
 (0)