forked from itscodenation/int-u2l2-23-24-student-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
/
code-along.html
96 lines (73 loc) · 1.93 KB
/
code-along.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html>
<head>
<title>Code Along</title>
</head>
<body>
<div class="navbar">
<a href="index.html">Do Now</a>
<a href="code-along.html">Code Along</a>
<a href="code-solo.html">Code Solo</a>
</div>
<h1>Class Favorite Movies</h1>
<!-- 1. Let's put the name of someone's favorite movie inside of an <a> tag.
Write out the <a> tag including the href attribute. For the content, put
the title of the favorite movie of someone in the class. Don't worry about
the link for now! -->
<!-- 2. Search the movie on Google and go to the IMBD or Wiki page. Put
this link for the href attribute. -->
<!-- 3. Now let's add an image of the movies. Write out the <img> tag
including the src attribute. Find an image that you want to use from
a search and copy the Image Address to use as the src link. -->
</body>
</html>
<!-- The code below styles the page. DO NOT EDIT. -->
<style>
@import url('<link href="https://fonts.googleapis.com/css2?family=Koulen&display=swap" rel="stylesheet">');
.navbar {
overflow: hidden;
background-color: #333;
}
.navbar a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.navbar a:hover {
background: #ddd;
color: black;
}
img {
width: 200px;
}
a {
color: limegreen;
}
html {
display: flex;
align-items: center;
}
body {
width: 100%;
margin: 24px;
font-family: 'Roboto Mono', monospace;
color: lightblue;
font-size: 24px;
background-image: url('https://images.cdn4.stockunlimited.net/preview1300/cinema-background-with-movie-objects_1823382.jpg');
}
section {
border-radius: 0px;
background-color: #3f3f3f;
padding: 24px;
min-height: 500px;
border: 8px gray inset;
}
section.on:after {
content: '_';
position: absolute;
}
</style>