getting saving, getting and showing data in javascript

This commit is contained in:
2017-02-07 03:16:57 -08:00
parent bfa8a22a40
commit b508dc190e
2 changed files with 120 additions and 3 deletions

View File

@@ -13,7 +13,7 @@
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<body onload="fetchBookmarks()">
<div class="container">
<div class="header clearfix">
<h3 class="text-muted">Bookmarker</h3>
@@ -21,7 +21,7 @@
<div class="jumbotron">
<h2>Bookmark Your Favorite Sites</h2>
<form id ="myform">
<form id ="myForm">
<div class="form-group">
<lable>Site Name</lable>
<input type="text" class="form-control" id="siteName" placeholder="enter website name">
@@ -30,6 +30,7 @@
<lable>Site URL</lable>
<input type="text" class="form-control" id="siteUrl" placeholder="enter site url">
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</div>
@@ -40,7 +41,7 @@
</div>
<footer class="footer">
<p>&copy; 2016 Bookmarker, Inc.</p>
<p>&copy; 2017 Bookmarker, Inc.</p>
</footer>
</div> <!-- container ends -->