-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (37 loc) · 1.98 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ducky Answers</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.2/styles/atom-one-dark.min.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Fira+Mono&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="message"><span>This is a message.This is a message.This is a message.</span></div>
<header id="search_container">
<form>
<input type="text" id="query" placeholder="Enter your query..." required />
<button type="submit" id="search"><i class="fa fa-search"></i></button>
</form>
</header>
<div id="answer_container">
<p>Type in your query to get instant answers on topics.<br><br>
You can also do search redirects to popular websites like Google, YouTube, Amazon and more 🔻<br><br>
Start your query with <pre class="inline-code">!</pre> followed by a website keyword like <pre class="inline-code">g</pre> for Google, <pre class="inline-code">yt</pre> for YouTube, followed by your query. <br><br>
Just type <pre class="inline-code"><strong>!g cats</strong></pre> to get search results for cats on Google.<br><br>
You can also query for programming concepts and syntax like <pre class="inline-code">JavaScript if else</pre>
</p>
</div>
<script src="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"></script>
<script src="app.js"></script>
<script>
document.body.onload = function(){
document.querySelector('#query').focus();
}
</script>
</body>
</html>