Adding JavaScript to site
Budget: $10 – $30 USD
Select an existing page from your website or create a new page of your choice and modify it to include JavaScript. This page must include the following:
An external JavaScript document linked to the page, that a conditional statement that writes some type of variable text on an HTML page
A switch statement that displays a message, such as "Welcome, To The Shop!"
A random statement that displays a message depending on the time of day.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>GloBull Car Detailing</title>
<link href="css/stylesheet.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1 id="para1" class"center" style="background-color:white"> Window Tinting </h1>
<img alt="GloBull logo" src="img/globull_logo.jpg" width 200px" height="100px">
<p id="para1" class="center"><strong>Navigation</strong></p>
<div>
<ul>
<li><a href="GloBull.html" target="_self">Home</a></li>
<li><a href="CarDetailing.html" target="_self">Car Detailing</a></li>
<li><a href="WindowTinting.html" target="_self">Window Tinting</a></li>
</ul>
<div>
</body>
</html>
An external JavaScript document linked to the page, that a conditional statement that writes some type of variable text on an HTML page
A switch statement that displays a message, such as "Welcome, To The Shop!"
A random statement that displays a message depending on the time of day.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>GloBull Car Detailing</title>
<link href="css/stylesheet.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1 id="para1" class"center" style="background-color:white"> Window Tinting </h1>
<img alt="GloBull logo" src="img/globull_logo.jpg" width 200px" height="100px">
<p id="para1" class="center"><strong>Navigation</strong></p>
<div>
<ul>
<li><a href="GloBull.html" target="_self">Home</a></li>
<li><a href="CarDetailing.html" target="_self">Car Detailing</a></li>
<li><a href="WindowTinting.html" target="_self">Window Tinting</a></li>
</ul>
<div>
</body>
</html>