Thursday, June 29, 2017

HTML website

For the second week of class, Andrew had us build our very own websites using HTML. Fortunately for me, I have made many websites before and had the experience and knowledge to just quickly whip up a small fun little website about sloths! After class, I actually have a huge huge 5 hour break so I just quickly went over to the library and did the assignment on one of the computers which had notepad++ on it. I've never used notepad++ before, I usually use atom or sublime text editor but using notepad++ was very simplistic and minimal which was appreciated. I did a website on sloth facts because I could use all different elements in the website! I could use headers, paragraphs, captions, images, and even lists and links. This assignment wasn't very hard but it was fun dabbling in html a bit since I don't really focus on html a lot.

Since I can't host the site anywhere, I'm just going to post the code here!

<html>

<head>
<title>Sloth Facts</title>
</head>
<body><center>
<h1>Welcome to my virtual life sample website.</h1>
<h2>This website is dedicated to the Sloth and all of the greatness and glory that they serve.</h2>
<img src="http://www.animalfactguide.com/wp-content/uploads/2015/09/sloth4_full.jpg"></img>
<h5>A brown three-toed sloth smiling for the camera!</h5>
</center>
<ul>
<li>Sloths are a medium-sized mammal. There are two types of sloth the two-toed sloth and the three-toed sloth, they are classified into six different species.</li>
<li>A sloth's body is usually 50 to 60 cm long. Skeletons of now extinct species of sloth suggest some varieties used to be as large as elephants.</li>
<li>It used to be thought sloths slept for 15 to 20 hours a day. However, its now believed they only sleep around 10 hours a day.</li>
<li>Sloths usually only leave the tree they live in to go to the toilet once a week on the ground. This is when they are most vulnerable to being attacked by their main predators such as jaguars, the harpy eagle and snakes.</li>
<li>The sloth has very long, sharp, and strong claws that they use to hold on to tree branches. The claws are also their only natural defense against predators.</li>
</ul>
<center>
<h2>For more facts about Sloths, visit <a href="http://www.sciencekids.co.nz/sciencefacts/animals/sloth.html">Sciencekids.co.nz</a></h2>
</body>
</html>

No comments:

Post a Comment

STARTUP.COM DOCUMENTARY

In class, we watched a documentary about a company from it's startup to it's inevitable downfall. The company was called Govworks.co...