-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
152 lines (148 loc) · 6.61 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
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/utils.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/mobile.css">
<script src="https://kit.fontawesome.com/491617d579.js" crossorigin="anonymous"></script>
<title>Programming Cheat | Blog For Coders</title>
</head>
<body>
<nav class="navigation max-width-1 m-auto">
<div class="nav-left">
<a href="/">
<span>
<img src="https://img.freepik.com/premium-vector/gas-mask-illustration-hand-drawn_309604-8.jpg?w=740"
alt="Programming Cheat Logo">
</span>
</a>
<p>Programming Cheat</p>
<p class="hide">Cheat</p>
<ul>
<li><a href="/index.html">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="/contact.html">Contact</a></li>
</ul>
</div>
<div class="nav-right">
<form action="/search.html" method="get" name="query" id="full-Form">
<input class="form-input" type="text" placeholder="Blog Search">
<button class="btn">Search</button>
</form>
</div>
</nav>
<div class="max-width-1 m-auto">
<hr>
</div>
<div class="content max-width-1 m-auto">
<div class="content-left">
<h1>The Heaven For Coders</h1>
<p class="font2">Lorem, ipsum dolor sit amet consectetur adipisicing elit. Provident dicta, quod blanditiis
eveniet
inventore beatae expedita molestiae eligendi a explicabo!</p>
<p class="font2">Lorem ipsum dolor sit amet consectetur, adipisicing elit. Culpa magnam vero eaque nisi rem
modi porro
voluptatibus eveniet ullam, maiores tenetur numquam hic cupiditate libero, ipsum amet cumque nulla
reprehenderit.</p>
</div>
<div class="content-right">
<img src="https://img.freepik.com/free-vector/code-typing-concept-illustration_114360-3581.jpg?t=st=1708938393~exp=1708941993~hmac=c2ad23efa606b07ddb6ccd91f91e46998e1e7d7e4008b06f45f233da93056b4b&w=740"
alt="Hands Getting Dirty | By Doing Coding">
</div>
</div>
<div class="max-width-1 m-auto space-up">
<hr>
</div>
<div class="home-articles max-width-1 m-auto">
<!-- <div class="year-box">
<div>
<h2>Year</h2>
</div>
<div>
<input type="radio" name="year"> 2022
</div>
<div>
<input type="radio" name="year"> 2023
</div>
<div>
<input type="radio" name="year"> 2024
</div>
</div> -->
<h1 class="font1">Featured Articles</h1>
<div class="home-article">
<div class="home-article-img">
<img src="https://img.freepik.com/premium-photo/multi-exposure-abstract-programming-language-hologram-with-hands-typing-computer-keyboard-background-artificial-intelligence-machine-learning-concept_258654-9534.jpg?w=740"
alt="Programming Article">
</div>
<div class="home-article-content font2">
<a href="/blogpost.html">
<h3>Lorem ipsum dolor sit amet.</h3>
</a>
<div>Author Name : Muhammad Annas Khan</div>
<span>27 February | 10 Min Read</span>
</div>
</div>
<div class="home-article">
<div class="home-article-img">
<img src="https://img.freepik.com/free-photo/composition-with-html-system-websites_23-2150866281.jpg?t=st=1709017843~exp=1709021443~hmac=40fe31d3df7d530115f3575ae073fcbf86d4c55c92ed78a11f9b76f418b1e8d9&w=740"
alt="Programming Article">
</div>
<div class="home-article-content font2">
<a href="/blogpost.html">
<h3>Lorem ipsum dolor sit amet.</h3>
</a>
<div>Author Name : Muhammad Annas Khan</div>
<span>27 February | 8 Min Read</span>
</div>
</div>
<div class="home-article">
<div class="home-article-img">
<img src="https://img.freepik.com/free-photo/code-coding-programming-technology-technical-concept_53876-120436.jpg?t=st=1709017898~exp=1709021498~hmac=3fcc4107b6694cf9231e41572707ea12ee72064e089530a915b9c54e5c70bd9d&w=740"
alt="Programming Article">
</div>
<div class="home-article-content font2">
<a href="/blogpost.html">
<h3>Lorem ipsum dolor sit amet.</h3>
</a>
<div>Author Name : Muhammad Annas Khan</div>
<span>27 February | 5 Min Read</span>
</div>
</div>
<div class="home-article">
<div class="home-article-img">
<img src="https://img.freepik.com/free-photo/code-coding-programming-technology-technical-concept_53876-120431.jpg?t=st=1709017898~exp=1709021498~hmac=3fcc4107b6694cf9231e41572707ea12ee72064e089530a915b9c54e5c70bd9d&w=740"
alt="Programming Article">
</div>
<div class="home-article-content font2">
<a href="/blogpost.html">
<h3>Lorem ipsum dolor sit amet.</h3>
</a>
<div>Author Name : Muhammad Annas Khan</div>
<span>27 February | 3 Min Read</span>
</div>
</div>
</div>
<div class="footer">
<p class="show">Copyright © | ProgrammingCheat | All Rights Reserved | 2024</p>
<p class="hide">Copyright © | ProgrammingCheat</p>
</div>
</body>
<script>
document.addEventListener("DOMContentLoaded", () => {
let userForm = document.getElementById("full-Form")
let userInput = document.querySelector(".form-input")
userForm.addEventListener("submit", (e) => {
e.preventDefault()
let userInputValue = userInput.value.trim()
if (userInputValue) {
window.location.href = `/search.html?q=${encodeURIComponent(userInputValue)}`
}
else {
alert("Please Enter Any Valid Search Query")
}
})
})
</script>
</html>