-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreviews.html
91 lines (80 loc) · 3.96 KB
/
reviews.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
90
91
<!DOCTYPE html>
<html>
<head>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js" integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0" crossorigin="anonymous"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="css/styles2.css">
</head>
<body>
<a href="/" class="previous round">‹</a>
<div class="container">
<div>
<h1 class="addrevh"><b>Add review</b></h1>
</div>
<div>
<form action='/reviews' method="post">
<div class="form-group" id="myDIV1">
<div class="col-xs-6 zero">
<label for="exampleFormControlSelect1"class="l1">Select Movie</label>
<select class="form-control" id="exampleFormControlSelect1" name="name">
<option>To All the Boys I've Loved Before</option>
<option>Home Alone</option>
<option>Harry Potter</option>
<option>Yeh Jawani Hai Deewani</option>
<option>Ek Villain</option>
<option>3 Idiots</option>
<option>36 China Town</option>
<option>The Conjuring</option>
<option>Hungama</option>
<option>Mumbai Pune Mumbai</option>
<option>Timepass</option>
<option>Holiday</option>
</select>
<button type="button"onclick="myFunction()" class="btn btn-primary next">Next</button>
</div>
</div>
<div id="myDIV2">
<div class="form-group">
<div class="col-xs-2 one">
<label for=""class="l2">Rate out of 5:</label>
<input type="text" name="rate" class="form-control" id="" placeholder="Rating">
<button type="button" onclick="myFunction2()" class="btn btn-primary rate">Rate</button>
</div>
</div>
</div>
<div id="myDIV3">
<div class="form-group">
<div class="col-xs-5 two">
<label class="lreview"for="">Review</label>
<textarea name="reviews"class="form-control" id="" rows="3"></textarea
</div>
</div>
<button type="submit" onclick="myFunction3()"class="btn btn-primary sub">Submit</button>
</div>
</div>
</form>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script>
function myFunction() {
var x = document.getElementById("myDIV1");
var y = document.getElementById("myDIV2");
x.style.display = "none";
y.style.display = "block";
}
function myFunction2() {
var a = document.getElementById("myDIV2");
var b = document.getElementById("myDIV3");
a.style.display = "none";
b.style.display = "block";
}
</script>
</body>
</html>