-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplateTxt.html
37 lines (34 loc) · 1.31 KB
/
templateTxt.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>MathCode.net</title>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="http://code.jquery.com/jquery-2.1.4.js"></script>
</head>
<body>
<br/>
<div class="container">
<h2>Solve Math Problems with JavaScript</h2>
| <a href="http://mathcode.net">MathCode</a> | <a href="http://pluralsight.com">Pluralsight</a> | <a href="http://mathcode.net/template.txt">Template</a> |
<hr>
<!-- html code here -->
<h3>Title</h3>
<input type="submit" id="submitButton" value=" Go"/>
<br/><br/>
<div id="details" ></div>
</div>
<script type=text/javascript>
"use strict";
$(document).ready(function () {
// function code goes here
$('#submitButton').click(function () {
// JavaScript code here
window.alert("Send an alert to the user.")
$('#details').html("Display output here.");
console.log("log message to the console")
});
});
</script>
</body>
</html>