File tree 3 files changed +64
-5
lines changed 3 files changed +64
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
< head >
4
4
< title > Example</ title >
5
+ <!-- Latest compiled and minified CSS -->
6
+ < link rel ="stylesheet " href ="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css ">
7
+ <!-- jQuery library -->
8
+ < script src ="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js "> </ script >
9
+ <!-- Popper JS -->
10
+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js "> </ script >
11
+ <!-- Latest compiled JavaScript -->
12
+ < script src ="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js "> </ script >
13
+
14
+ <!-- Our CSS -->
5
15
< link rel ="stylesheet " href ="styles/style.css ">
16
+
6
17
</ head >
7
18
8
19
< body class ="page-style ">
9
- < div >
10
- < a href ="pages/second.html "> Link to your second page</ a >
20
+ < nav class ="navbar navbar-expand-sm navbar-dark bg-dark ">
21
+ < ul class ="navbar-nav ">
22
+ < li class ="nav-item ">
23
+ < a class ="nav-link " href ="index.html "> Home</ a >
24
+ </ li >
25
+ < li class ="nav-item ">
26
+ < a class ="nav-link " href ="pages/second.html "> Second Page</ a >
27
+ </ li >
28
+ </ ul >
29
+ </ nav >
30
+ < div class ="container ">
31
+ < br >
11
32
< h2 > Create Your Static Website</ h2 >
12
33
< p > Here is the content of your site.</ p >
34
+ < strong > Using the Grid System</ strong >
35
+ < div class ="row ">
36
+ < div class ="col m-2 examples "> </ div >
37
+ < div class ="col m-2 examples "> </ div >
38
+ < div class ="col m-2 examples "> </ div >
39
+ </ div >
40
+ < div class ="row ">
41
+ < div class ="col-2 m-2 examples "> </ div >
42
+ < div class ="col-5 m-2 examples "> </ div >
43
+ < div class ="col-4 m-2 examples "> </ div >
44
+ </ div >
13
45
</ div >
14
46
</ body >
15
47
Original file line number Diff line number Diff line change 2
2
3
3
< head >
4
4
< title > Second Page</ title >
5
- < link rel ="stylesheet " href ="styles/style.css ">
5
+ <!-- Latest compiled and minified CSS -->
6
+ < link rel ="stylesheet " href ="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css ">
7
+ <!-- jQuery library -->
8
+ < script src ="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js "> </ script >
9
+ <!-- Popper JS -->
10
+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js "> </ script >
11
+ <!-- Latest compiled JavaScript -->
12
+ < script src ="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js "> </ script >
13
+
14
+ <!-- Our CSS -->
15
+ < link rel ="stylesheet " href ="../styles/style.css ">
6
16
</ head >
7
17
8
18
< body class ="page-style ">
9
- < div >
10
- < a href ="../index.html "> Link to your homepage</ a >
19
+ < nav class ="navbar navbar-expand-sm navbar-dark bg-dark ">
20
+ < ul class ="navbar-nav ">
21
+ < li class ="nav-item ">
22
+ < a class ="nav-link " href ="../index.html "> Home</ a >
23
+ </ li >
24
+ < li class ="nav-item ">
25
+ < a class ="nav-link " href ="second.html "> Second Page</ a >
26
+ </ li >
27
+ </ ul >
28
+ </ nav >
29
+ < br >
30
+ < div class ="container ">
11
31
< h2 > Now you have two pages!</ h2 >
12
32
< p > Isn't that nice</ p >
13
33
</ div >
Original file line number Diff line number Diff line change 3
3
color : # 2F4F4F ;
4
4
}
5
5
6
+ .examples {
7
+ background-color : # 6699cc ;
8
+ color : white;
9
+ border-radius : 5px ;
10
+ height : 100px ;
11
+ min-width : 200px ;
12
+ }
You can’t perform that action at this time.
0 commit comments