Javascript help
Hello I am taking a javascript class and the assignment says to "copy the line where the javascript code connects to the web page"
I am very new to all this and I cant seem to find it. I copied and paste it down below. its an online course and its very difficult to not have someone to ask questions regularly. if someone finds it can you tell me how that connects it to the webpage..because I really do want to learn this stuff. thanks
<!
DOCTYPE html>
<
html lang="en">
<
head>
<meta charset="UTF-8">
<title>Join Email List</title>
<link rel="stylesheet" href="email_list2.css">
<script src="email_list2.js"></script>
</
head>
<
body>
<section>
<h1>Please join our email list</h1>
<form id="email_form" name="email_form" action="join.html" method="get">
<label for="email_address1">Email Address:</label>
<input type="text" id="email_address1" name="email_address1">
<span id="email_address1_error">*</span><br>
<label for="email_address2">Re-enter Email Address:</label>
<input type="text" id="email_address2" name="email_address2">
<span id="email_address2_error">*</span><br>
<label for="first_name">First Name</label>
<input type="text" id="first_name" name="first_name">
<span id="first_name_error">*</span><br>
<label> </label>
<input type="button" id="join_list" value="Join our List">
</form>
</section>
</
body>
</
html>
I am very new to all this and I cant seem to find it. I copied and paste it down below. its an online course and its very difficult to not have someone to ask questions regularly. if someone finds it can you tell me how that connects it to the webpage..because I really do want to learn this stuff. thanks
<!
DOCTYPE html>
<
html lang="en">
<
head>
<meta charset="UTF-8">
<title>Join Email List</title>
<link rel="stylesheet" href="email_list2.css">
<script src="email_list2.js"></script>
</
head>
<
body>
<section>
<h1>Please join our email list</h1>
<form id="email_form" name="email_form" action="join.html" method="get">
<label for="email_address1">Email Address:</label>
<input type="text" id="email_address1" name="email_address1">
<span id="email_address1_error">*</span><br>
<label for="email_address2">Re-enter Email Address:</label>
<input type="text" id="email_address2" name="email_address2">
<span id="email_address2_error">*</span><br>
<label for="first_name">First Name</label>
<input type="text" id="first_name" name="first_name">
<span id="first_name_error">*</span><br>
<label> </label>
<input type="button" id="join_list" value="Join our List">
</form>
</section>
</
body>
</
html>
Comments
-
NotHackingYou Member Posts: 1,460 ■■■■■■■■□□<script src="email_list2.js"></script>
This code will bring in the javascript file email_list2.js.
When you go the extra mile, there's no traffic.