2021-10-25 02:41:37 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
|
|
|
|
<link
|
|
|
|
rel="icon"
|
|
|
|
href="https://icons.getbootstrap.com/assets/icons/google.svg"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<!-- Bootstrap -->
|
|
|
|
<link
|
|
|
|
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
|
|
|
|
rel="stylesheet"
|
|
|
|
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
|
|
|
|
crossorigin="anonymous"
|
|
|
|
/>
|
|
|
|
<script
|
|
|
|
src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js"
|
|
|
|
integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB"
|
|
|
|
crossorigin="anonymous"
|
|
|
|
></script>
|
|
|
|
<script
|
|
|
|
src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js"
|
|
|
|
integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13"
|
|
|
|
crossorigin="anonymous"
|
|
|
|
></script>
|
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.6.1/font/bootstrap-icons.css"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="index.css" />
|
|
|
|
<script src="index.js"></script>
|
|
|
|
|
|
|
|
<title>Let me Google that for you</title>
|
|
|
|
</head>
|
|
|
|
|
2021-10-25 14:42:00 +00:00
|
|
|
<body class="bg-light">
|
|
|
|
<!-- Navbar -->
|
|
|
|
<nav class="navbar navbar-light bg-light">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div></div>
|
|
|
|
<button
|
|
|
|
class="btn bi-brightness-high btn-light"
|
|
|
|
onclick="toggleBrightness()"
|
|
|
|
></button>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
|
2021-10-25 03:23:34 +00:00
|
|
|
<!-- Content -->
|
2021-10-25 02:41:37 +00:00
|
|
|
<div class="container">
|
|
|
|
<form class="row g-3 text-center mt-5">
|
|
|
|
<!-- Google -->
|
2021-10-25 13:33:18 +00:00
|
|
|
<label class="display-1 form-label fw-normal mb-0" for="input">
|
2021-10-25 02:41:37 +00:00
|
|
|
<span class="text-primary">G</span><span class="text-danger">o</span
|
|
|
|
><span class="text-warning">o</span><span class="text-primary">g</span
|
|
|
|
><span class="text-success">l</span><span class="text-danger">e</span>
|
|
|
|
</label>
|
2021-10-25 13:33:18 +00:00
|
|
|
<small class="text-muted mt-0">Let me Google that for you</small>
|
2021-10-25 02:41:37 +00:00
|
|
|
|
|
|
|
<!-- Input -->
|
|
|
|
<div
|
|
|
|
class="
|
2021-10-25 14:42:00 +00:00
|
|
|
bg-light
|
2021-10-25 02:41:37 +00:00
|
|
|
border border-1 border-light
|
|
|
|
input-group
|
|
|
|
rounded-pill
|
|
|
|
shadow-sm
|
|
|
|
"
|
|
|
|
>
|
|
|
|
<label
|
2021-10-25 14:42:00 +00:00
|
|
|
class="bg-light bi-search border-0 input-group-text text-dark"
|
2021-10-25 02:41:37 +00:00
|
|
|
for="input"
|
|
|
|
id="searchicon"
|
|
|
|
></label>
|
|
|
|
<input
|
2021-10-25 14:42:00 +00:00
|
|
|
class="form-control border-0 bg-light text-dark"
|
2021-10-25 02:41:37 +00:00
|
|
|
id="input"
|
|
|
|
maxlength="2048"
|
|
|
|
name="search"
|
|
|
|
placeholder="Search"
|
|
|
|
required
|
|
|
|
type="text"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Actions -->
|
|
|
|
<div>
|
2021-10-25 13:33:18 +00:00
|
|
|
<button class="btn btn-light" id="search" type="submit">
|
2021-10-25 02:41:37 +00:00
|
|
|
Google Search
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
class="btn btn-light"
|
2021-10-25 03:29:57 +00:00
|
|
|
id="lucky"
|
2021-10-25 13:33:18 +00:00
|
|
|
name="lucky"
|
2021-10-25 03:29:57 +00:00
|
|
|
title="Open the first search result"
|
2021-10-25 13:33:18 +00:00
|
|
|
type="submit"
|
|
|
|
value="true"
|
2021-10-25 02:41:37 +00:00
|
|
|
>
|
|
|
|
I'm feeling lucky
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Alert -->
|
|
|
|
<div id="message" class="alert text-start opacity-0">
|
|
|
|
<h5 id="message-heading" class="alert-heading"></h5>
|
|
|
|
<div id="message-content"></div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|