-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (34 loc) · 1.32 KB
/
index.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
38
39
40
41
42
<!DOCTYPE html>
<html>
<head>
<script data-require="[email protected]" data-semver="1.3.0-beta.5" src="https://code.angularjs.org/1.3.0-beta.5/angular.js"></script>
<link rel="stylesheet" href="style.css" />
<!-- all script must be marked as type="module" - where use import an export -->
<script type="module" src="scripts/toDoList.js"></script>
<!-- type="module" - required -->
<script type="module" src="scripts/modules.js"></script>
<!-- <script type="module" src="scripts/modules2.js"></script> -->
</head>
<body ng-app>
<!-- <h1>Hello Plunker!</h1> -->
<!-- {{20 / 10}}
angular -->
<!-- onsubmit="addTask()" -->
<form id="addTaskForm">
<div id="myDIV" class="header">
<h2>My To Do List</h2>
<input type="text" id="myInput" placeholder="Title..." required>
<!-- <input type="button" value="Add"> -->
<button type="submit">Add</button>
<!-- value="Add" -->
<!-- onclick="addTask()" -->
</div>
<ul id="myUL">
</ul>
</form>
<!-- <div >
<input type="button" onclick="clearToDoList()" value="Clear To Do list">
</div> -->
</body>
</html>
<!-- Investigate - Access to Script at 'file:///E:/Projects/Js%20Test/scripts/modules.js' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access. -->