Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

develop a simple Javascript element Please explain your answer Page 1 <!DOCTYPE

ID: 3720197 • Letter: D

Question

develop a simple Javascript element
Please explain your answer

Page 1
<!DOCTYPE html>
<html>
<head>
<style>
body {
font-family: 'Times New Roman', Times, serif;
}
* {
font-style: normal !important;
}
<style>
body{
color:#f4a460;
height: 600px,
width: 800px
div.container {
width: 100%;
border: 1px solid gray;
}
header, footer {
padding: 1em;
color: #f4a460;
background-color: white;
clear: left;
text-align: center;
}
nav {
float: left;
max-width: 160px;
margin: 0;
padding: 1em;
}
article {
margin-left: 300px;
  
padding: 1em;
overflow: hidden;
}
</style>
</head>
<title>My First Website</title>
<a id="TOP"></a>
<body>
<h1>
<i>Motivational Mentorship</i>
</h1>
<h3>
<i>When life seems to let you down
</i>
<br>
<h3><a href="About.html">About</a></h3>
<h3><a href="EmergencyIntakeForm.html">Emergency Intake Form</a></h3>
  
<h1>
<img src="background.jpeg" height="600" width="1200" alt="Help">
</h1>
<ul>

<li>alcohol dependency counseling</li>
<li>drug dependency counseling</li>
<li>suicide counseling</li>
</ul>
<p>When You Need Guidance, give us a call (901)555-5555</p>
<p>&copy; Copyright 2018 Motivational Mentorship. All rights reserved.</p>
<a href="#TOP">BACK TO TOP</a>
</body>
</html>
Page 2
<!DOCTYPE html>
<html>
<head>
<title>My First Website</title>
<h3><a href="index.html">Home</a></h3>
  
<h3><a href="EmergencyIntakeForm.html">Emergency Intake Form</a></h3>
<h1><i>About</i></h1>
<body>
<audio autoplay loop></audio>
<source src="https://youtu.be/gIm7TQlbZ7E" type="audio/">
<p><a href="https://youtu.be/dE_XVl7fwBQ">Zen Music</a><BR>
<h1><img src="walkinginthesun.jpg" height="300" width="800" alt="Help"></h1>
  
<p><h4>This site was developed as an outreach program for people dealing with emotional as well as dependency issues. We believe that everyone is curible without the need for drugs. Through our counseling and mentoring we can help you heal and see a better future. Motivational Mentorship has couselors who have experience in dealing with these issues through education and life experiences. Each of our counselors are hand picked due to personal experience and their ability to relate to others' experiences. Call us and one of our dedicated counselors will help you from the beginning until the end of your recovery.</h4><br>

<h3><i>Testimonials</i>></h3>   
  
<p>Robert S. <br>
I have been using these services for 4 years now and they have really helped me. I was in a hard place and had no one to turn to. My mom couldnt even help me. A friend told me about this program. Believe me. They work miracles. <br>
<br>
Karen P.<br>
I was drinking alcohol since the age of 16. I was tired all of the time and constantly lossing jobs. I was miserable. My husband left me because of my drinking and thats when I decided things needed to change. I found Motivational Mentorship and they helped me. Ive been sober for 2years now. I got my life back. </p>
<br>
<form>
<input type="button" value="Back">
</form><br>
<p>&copy; Copyright 2018 Motivational Mentorship. All rights reserved.<p/>
</body>
</html>
Page 3
<!DOCTYPE html>
<html>
<head>
<style>
div {
display: block;
}
.dvContainer {
position: relative;
display: inline-block;
width: 300px;
height: 200px;
}
</style>
</head>
<body>
  
<h2>Emergency Intake Form</h2>
<br>
<h3>Please complete this form and someone will contact you within 5 minutes</h3>
<div class="dvContainer">
<form>
<table>
<tr><td>First name:</td>
<td><input type="text"> <!Text field></td></tr>
<tr><td>Last name:</td>
<td><input type="text"> <!Text field></td></tr>
<tr><td>Birth Date</td>
<td><input type="date"> <!Text field></td></tr>
<tr><td>Phone Number:</td>
<td><input type="text" maxlength="10"> <!Text field></td></tr>
<tr><td>Address:</td>
<td><input type="text"> <!Text field></td></tr>
<tr><td>Email:</td>
<td><input type="text" > <!Text field></td></tr>
<tr><td>Issue:</td>
<td><input type="text"> <!Text field></td></tr>
<tr><td><input type="reset" value="Reset"><Reset button></td>
<td><input type="submit" value="Submit"> <Submit button></td></tr>
<tr><td><input type="button" value="Back"></td></tr>
</table>
</form>
</div>
<br>
<p><h3>&copy; Copyright 2018 Motivational Mentorship. All rights reserved.</h3></p>
</body>
</html>

Explanation / Answer

var buttonn = document.createElement("BUTTON");        // Create a <button> element
var text = document.createTextNode("CLICK ME");       // Create a text node
button.appendChild(text);                                // Append the text to <button>
document.body.appendChild(btn);                    // Append <button> to <body>