In: Computer Science
In this assignment you will create a web page about your favorite sports to play or teams to watch. If you don’t watch or play sports, please make up your favorite sports to play or teams to watch. You will be incorporating images into your web page, as well as other concepts learned in this unit.
Hi,
Please find below :
sports.html
<!doctype html>
<html>
<!-- Name : Your Name
Assignment Name :
Date :
-->
<head>
<title>Favourite
Sports</title>
<link rel="stylesheet"
href="styles.css">
</head>
<body>
<div class="content">
<!-- Mention
the favourite sports here --->
<h1>Favourite Sports</h1>
<!-- Why the
sports is favourite needs to be mentioned here -->
<p>Lorem
Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text
ever since the 1500s, when an unknown printer took a galley of type
and scrambled it to make a type specimen book. It has survived not
only five centuries, but also the leap into electronic typesetting,
remaining essentially unchanged. It was popularised in the 1960s
with the release of Letraset sheets containing Lorem Ipsum
passages, and more recently with desktop publishing software like
Aldus PageMaker including versions of Lorem Ipsum.</p>
<!-- This an
ordered list of favourite sports. The link values need to be
populated in href -->
<ol>
<li><a href="#">Sport
1</a></li>
<li><a href="#">Sport
2</a></li>
<li><a href="#">Sport
3</a></li>
</ol>
<!-- Place
your image here -->
<img src=""
width="300" height="300">
</div>
<footer><a href="">Your
email</a></footer>
</body>
</html>
Screenshot
styles.css
body {
padding: 0;
margin: 0;
background: #05505D url("") no-repeat right top;
}
h1{
font-family: Impact, Charcoal, sans-serif;
font-weight: normal;
}
p{
font-family: Arial, Helvetica, sans-serif;
width: 300px;
}
.content{
padding: 10px 20px;
color: #FADBD8;
}
ol>li,ol>li>a{
color: #FADBD8;
list-style-type: upper-roman;
padding: 5px;
text-decoration: none;
}
ol>li>a:hover{
color: #F9F50D;
}
footer{
position: fixed;
bottom: 0;
background: #FADBD8;
width: 100%;
padding: 10px;
text-align: center;
}
footer a{
text-decoration: none;
color: #05505D;
}
Screenshot
Please like if you found it helpful.