Lab 4: Basic HTML, CSS, and JavaScript
Background: This lab focused on practicing basic functions of HTML (Hypertext Markup Language), CSS (cascading style sheets), and JavaScript, all working together to form a basic website. HTML was first written, then CSS styling was added, then JavaScript was added last to provide extra functionality. Two webpages were created. One was created using instructions on how to code, and the next was a practice of creative use of the functions demonstrated in the first code. Methods: Part 1: Developing HTML Part 1 is focused on creating the HTML portion of the website. The completed HTML code for the site is shown below. Some portions of this code will be talked about later as they refer to the CSS and JavaScript aspects of the webpage. The HTML document was created in Notepad++ and stored in its permanent location on the deployment server. The code opens with the document type, which is a marker that the Notepad++ application reads to know that it will be creating an HTML 5 ...