-
Notifications
You must be signed in to change notification settings - Fork 3
/
blog.html
89 lines (83 loc) · 3.58 KB
/
blog.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<html>
<head>
<title>Blog</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="bootstrap-3.3.7-dist/css/bootstrap.css">
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="bootstrap-3.3.7-dist/js/bootstrap.js" charset="utf-8"></script>
<script src="js/blog.js" charset="utf-8"></script>
<style>
body {
margin-top: 40px;
}
.form-action {
text-align: center;
}
.experience input {
margin-right: 20px;
}
#otherProfession {
margin-top: 20px;
display: none;
}
#accordion {
margin-top: 80px;
}
</style>
</head>
<body>
<div class="profile container-fluid">
<div class="col-md-3 col-md-offset-9 col-sm-3 col-sm-offset-9 col-xs-6 col-xs-offset-6">
<a href="blogs.html" class="btn btn-sm btn-info">Blogs</a>
<button id="logout" class="btn btn-sm btn-warning">Logout</button>
</div>
<div class="row">
<form class="col-md-6 col-md-offset-3" onsubmit="return validate();" onreset="resetting();">
<div class="">
<h1 class="text-center text-info">Blog</h1>
<label for="name">Name: </label>
<input type="text" id="name" class="form-control" placeholder="FirstName LastName"/>
<br />
<label for="age">Age: (*age should be between 20 to 80)</label>
<input type="number" id="age"class="form-control" placeholder="20 to 80"/>
<br />
<div class="experience">
<label for="experience">Experience:</label>
<br>
<label for="experience">0-3</label>
<input type="radio" name="experience" value="0-3">
<label for="experience">3-7</label>
<input type="radio" name="experience" value="3-7">
<label for="experience">7-15</label>
<input type="radio" name="experience" value="7-15">
<label for="experience">15+</label>
<input type="radio" name="experience" value="15+">
</div>
<br />
<label for="blogarea">Blog Area (* 180 characters limit)</label>
<textarea name="blogarea" id="blogArea" rows="8" cols="40" class="form-control" placeholder="180 characters limit"></textarea>
<br>
<div class="profession">
<h3 for="profession">Profession</h3>
<select class="professionSel form-control" id="profession" name="profession" onchange="professionSelected(this)">
<option value="Engineer">Engineer</option>
<option value="Doctor">Doctor</option>
<option value="Teacher">Teacher</option>
<option value="Business">Business</option>
<option value="other">other</option>
</select>
<input type="text" class="form-control" placeholder="Profession" name="otherProfession" id="otherProfession" value="" />
</div>
<br>
<div class="form-action">
<button type="reset" name="button" class="btn btn-warning">Reset</button>
<button type="submit" name="button" onclick= alert("You can check the submissons in the BLOGS Tab") class="btn btn-info">Save</button>
</div>
</div>
</form>
<div class="panel-group col-md-5" id="accordion" role="tablist" aria-multiselectable="true">
</div>
</div>
</div>
</body>
</html>