-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (54 loc) · 1.96 KB
/
index.html
File metadata and controls
54 lines (54 loc) · 1.96 KB
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
<!DOCTYPE html>
<html>
<head>
<link rel="icon" type="favicon.ico" href="logo.png">
<title>Quotes</title>
<!-- Bootstrap link -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
background-color: #f2f2f2;
background: url("images/1.jpg") no-repeat center center fixed;
background-size: cover;
}
#quote-text {
font-size: 24px;
margin-bottom: 20px;
}
img{
width:100px;
height: 60px;
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-sm justify-content-end">
<img src="images/logo.png"/>
</nav>
<div class="container pt-5">
<h1 class="text-center text-dark"><i class="mark">Motivation Quotes</i></h1>
<div class="container-sm pt-lg-4">
<div class="card pt-lg-2 my-5 border-5 bg-transparent">
<h2 class="text-center"><b class="text-decoration-underline">Quote</b></h2>
<div class="pt-lg-2 my-5 border-5 bg-transparent">
<blockquote class="text-center" id="quote-text">Give everything a shot irrespective of the fear of failure.</blockquote>
</div>
</div>
</div>
<br/>
<div class="d-flex pt-lg-2">
<div id="add-quote-container">
<input type="text" id="new-quote-input" placeholder="Enter a new quote">
<button type="button" onclick="addNewQuote()" class="btn btn-success">Insert</button>
</div>
<button type="submit" onclick="deleteQuote()"class="btn btn-danger">Delete</button>
<button type="submit" onclick="displayRandomQuote()" class="btn btn-primary">Display</button>
</div>
</div>
<!-- Link the JavaScript file -->
<script src="script.js"></script>
</body>
</html>