Via Browser Homepage HTML Code
Via Browser Homepage HTML Code
DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ANKOO - Custom Compact Homepage</title>
<!-- Font Awesome for Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-
awesome/6.4.0/css/all.min.css">
<style>
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body Styling */
body {
font-family: Arial, sans-serif;
background: #f0f2f5;
color: #333;
display: flex;
flex-direction: column;
min-height: 100vh;
}
/* Header */
header {
background: #fff;
padding: 15px 20px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
display: flex;
justify-content: center;
align-items: center;
position: sticky;
top: 0;
z-index: 1000;
}
.logo img {
height: 40px;
}
/* Main Content */
main {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 20px;
gap: 15px;
}
/* Section Styling */
.section {
background: #fff;
padding: 15px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
text-align: center;
width: 180px;
}
.section h2 {
font-size: 1em;
margin-bottom: 10px;
text-transform: uppercase;
color: #4285F4;
border-bottom: 2px solid #4285F4;
display: inline-block;
padding-bottom: 5px;
}
/* Links Grid */
.links-grid {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 10px;
}
.links-grid a {
text-decoration: none;
color: #333;
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
transition: color 0.2s, transform 0.2s;
}
.links-grid a:hover {
color: #4285F4;
transform: translateY(-2px);
}
/* Responsive Design */
@media (max-width: 768px) {
.section {
width: 100%;
max-width: 300px;
}
}
</style>
</head>
<body>
<div class="section">
<h2>EDUCATIONAL</h2>
<div class="links-grid">
<a href="https://www.khanacademy.org" target="_blank">
<img src="https://www.khanacademy.org/favicon.ico" alt="Khan
Academy">
Khan Academy
</a>
<a href="https://www.coursera.org" target="_blank">
<img src="https://www.coursera.org/favicon.ico" alt="Coursera">
Coursera
</a>
<a href="https://www.edx.org" target="_blank">
<img src="https://www.edx.org/favicon.ico" alt="edX">
edX
</a>
<a href="https://www.udemy.com" target="_blank">
<img src="https://s.udemycdn.com/favicon.ico?v=1" alt="Udemy">
Udemy
</a>
<a href="https://www.unacademy.com" target="_blank">
<img src="https://www.unacademy.com/favicon.ico" alt="Unacademy">
Unacademy
</a>
<a href="https://www.byjus.com" target="_blank">
<img src="https://www.byjus.com/favicon.ico" alt="BYJU'S">
BYJU'S
</a>
<a href="https://www.vedantu.com" target="_blank">
<img src="https://www.vedantu.com/favicon.ico" alt="Vedantu">
Vedantu
</a>
</div>
</div>
<!-- Add more sections here by duplicating the above div.section block -->
</main>
<!-- JavaScript for Search Functionality (Removed as per User Request) -->
<!--
<script>
function performSearch(event) {
event.preventDefault(); // Prevent form submission
const query = document.getElementById('search_input').value.trim();
if (query !== "") {
// Redirect to Google Search
const searchURL = `https://www.google.com/search?q=$
{encodeURIComponent(query)}`;
window.open(searchURL, '_blank');
document.getElementById('search_input').value = "";
}
}
</script>
-->
</body>
</html>