In: Computer Science
Your first project is to build your own home page. The page should be some sort of introduction to you, and include more than a single page.
Other than that, there are no rigid guidelines as to what these pages should contain.
If you're looking for ideas of what to put into your personal pages, here are some starters:
These are just ideas, though. What you put on your home site is entirely up to you.
You might want to consider your audience a specific group, such as classmates and the instructor--in which case you might want to include information such why you're taking this class, what kind of computer and 'net connection you're using, etc. Or, you may want to make your audience anyone who might be interested in or you know
*****This requires a lot of effort so please give a thumbs up if you are satisfied with the solution and please go through the comments in code for better understanding*******
Most of the content text in Html code is example text so feel free to change the text to your liking....
so this website has three files
HomePage.html:
<html>
<head>
<!-- change the content in the title tag to your name -->
<title>Your Name</title>
<link href="HomePage.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Be+Vietnam&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans&display=swap" rel="stylesheet">
</head>
<body>
<div class="main-div">
<!-- change contnent of below tag to your name -->
<span style="font-size: 50px;">Your Name</span>
<!-- change the content of below tag to your occupation or your job -->
<span style="font-size: 30px;">Your occupation or job</span>
<!-- place all files in same folder for second page to work -->
<span class="contact-me"><a href="contactMe.html" style="text-decoration: none;color:black;" target="_blank">Contact Me</a></span>
</div>
<div class="about-me">
<section>
<article style="margin:0 15px;">
<p style="font-family: 'Open Sans';font-size:20px;text-align: center;">About me</p>
<!-- Some random text so replace it with the text you want -->
<p style="font-size:15px;font-family:'Open Sans';">It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>
<hr>
<p style="font-family: 'Open Sans';font-size:20px;">Address</p>
<p style="font-size:15px;font-family:'Open Sans';">
Street Address : 1094 Ocala Street<br>
City : Oviedo<br>
State Full : Florida<br>
Zipcode : 32765
Telephone Number: 407-365-134<br>
Mobile Number : 904-759-4948<br>
</p>
<hr>
</article>
<div class="f-f">
<div class="ff">
<p>Father : John Wick</p>
<p>Mother : Emma Stone</p>
<p>Brother : Keanu Reeves</p>
<p>Sister : Someone</p>
<h2>Friends</h2>
<ul>
<li>Zyan</li>
<li>Reshma</li>
<li>Manu</li>
<li>Jaya</li>
</ul>
</div>
<img src="https://www.bandt.com.au/information/uploads/2018/11/Diverse-team-1260x840.jpg" style="width:50%;height:auto;float:right;box-shadow: 0 3px 6px rgba(0, 0, 0, 0.616);">
</div>
<hr>
<div class="f-f">
<img src="https://cdn-prod.medicalnewstoday.com/content/images/articles/326/326253/corgi-and-terrier-running.jpg" style="width:50%;height:auto;float:right;box-shadow: 0 3px 6px rgba(0, 0, 0, 0.616);">
<div class="ff">
<h2>Martin</h2>
<!-- Some description about your dog or cat -->
<p style="margin:10px;">It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>
</div>
</div>
<div class="vacation">
<img src="https://www.incimages.com/uploaded_files/image/970x450/getty_672425798_399101.jpg" style="width:100%;height:auto;box-shadow: 0 3px 6px rgba(0, 0, 0, 0.616);">
<h2>Recent Vacation</h2>
<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>
<h2>Favourate Movies</h2>
<ul>
<li><a href="https://www.imdb.com/title/tt0816692/?ref_=fn_al_tt_1" target="_blank">Interstellar</a></li>
<li><a href="https://www.imdb.com/title/tt3659388/?ref_=fn_al_tt_1" target="_blank">The Martian</a></li>
<li><a href="https://www.imdb.com/title/tt2872732/?ref_=nv_sr_6?ref_=nv_sr_6" target="_blank">Lucy</a></li>
<li><a href="https://www.imdb.com/title/tt0816711/?ref_=nv_sr_1?ref_=nv_sr_1" target="_blank">World War Z</a></li>
</ul>
</div>
</section>
</div>
</body>
</html>
HomePage.css:
.main-div{
width:100%;
height:100vh;
background: linear-gradient(45deg, rgb(243, 111, 111),rgb(218, 23, 23));
border-radius: 0.5%;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.616);
display:flex;
flex-direction: column;
color: rgba(255, 255, 255, 0.945);
font-family: 'Be Vietnam', sans-serif;
align-items: center;
justify-content: center;
text-shadow:0 3px 5px rgba(0, 0, 0, 0.705);
}
.about-me{
width:100%;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.616);
border-radius:0.5%;
}
.f-f{
display: flex;
flex-direction: row;
margin:10px;
font-family: 'Open Sans';
}
.ff{
width:50%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.vacation{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
li a{
text-decoration: none;
color:black;
font-size:30px;
}
.contact-me{
background: whitesmoke;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.616);
text-shadow: none;
color:Black;
width: 100px;
padding:5px;
text-align: center;
margin:10px;
font-family: 'Open Sans';
}
.contact-me:hover{
cursor:pointer;
}
ContactMe.html:
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Open+Sans&display=swap" rel="stylesheet">
<style>
body{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
</style>
</head>
<body>
<h1>Your Message</h1>
<textarea placeholder="..."></textarea>
<button>Send</button>
</body>
</html>
FirstPage: (HomePage)
Second Page:(ContactMe Page)