Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="social.css">
<title>Social Network</title>
</head>
<body>
<h1>Social Network</h1>
<div id="posts">
</div>
<div class="newForm">
<form>
<fieldset>
<legend>Create a post</legend>
<div class="input-group">
<label for="title">Title</label>
<input type="text" placeholder="Insert a post title" name="title">
</div>
<div class="input-group">
<label for="post-text">Post</label>
<textarea name="post"></textarea>
</div>
<button class="submit-btn" onclick="createPost(event)">Submit</button>
</fieldset>
</form>
</div>
<button onclick="requestTodo()">Request Todo Data</button>
<script src="requests.js">
//javascript here
</script>
</body>
</html>