-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
90 lines (79 loc) · 4.97 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="At codegrive, I post articles and tutorials related to computer section and programming">
<meta name="keywords" content="codegrive, computer science,programming,tutorials,cpp,python,shanithecoder,shani">
<title>CodeGrive</title>
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="assets/images/logo.webp" type="image/x-icon">
</head>
<body>
<nav class="nav flex-container">
<img src="assets/images/logo.webp" alt="Logo" width="50px">
<div>
<a href="#home" class="link purples">Home</a>
<a href="#article" class="link purples">articles</a>
<a href="#" class="link purples" onclick="document.getElementById('videos').showModal();document.getElementById('videos').style.display = 'block'">videos</a>
<a href="#" class="link purples" onclick="document.getElementById('socialLinks').showModal();document.getElementById('socialLinks').style.display = 'flex'">About</a>
</div>
</nav>
<dialog id="socialLinks">
<h1 id="link" style="font-family:'Rocher';">About</h1>
<h2>welcome to codegrive</h2>
<p>At CodeGrive, I share articles on computer science and programming. I'm dedicated to providing unique and valuable
content to help you on your coding journey. Additionally, I create related videos on my YouTube channel.</p>
<h2 style="font-family:'Rocher';" class="mint">Connect With Me:</h2>
<div>
<a href="https://www.youtube.com/@codegrive"> <img src="assets/svg/youtube.svg" alt="youtube" height="20px"
width="90px"></a>
<a href="https://twitter.com/codegrive"> <img src="assets/svg/x.svg" alt="twitter"></a>
<a href="https://github.com/shanithecoder"><img src="assets/svg/github.svg" alt="github"></a>
<a href="mailto:shanithecoder@gmail.com"><img src="assets/svg/mail.svg" alt="github"></a>
</div>
<button onclick="document.getElementById('socialLinks').style.display = 'none';document.getElementById('socialLinks').close();">Close</button>
</dialog>
<dialog id="videos">
<h1 id="video" style="font-family:'Rocher';" class="grays">Videos</h1>
<p>view more video on <a href="https://youtube.com/@codegrive/videos"><img src="assets/svg/youtube.svg"
alt="youtube"></a></p>
<div class="flex-container">
<iframe width="560" height="315" src="https://www.youtube.com/embed/gOQMH7OCO_Y?si=n5828nwmtYqvNgAT"
title="YouTube video player" frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/vyZZZcpomjE?si=DTKE5mjGE-KL95G2"
title="YouTube video player" frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div>
<button class="button">View more YouTube</button>
<button onclick="document.getElementById('videos').style.display = 'none';document.getElementById('videos').close();" class="button">Close</button>
</dialog>
<section class="section-1 flex-container" id="home">
<div>
<h1><span class="mint">Wel</span><span>come</span></h1>
<h1><span>T</span><span class="mint">o</span></h1>
<h1><span class="mint">Code</span><span>Grive</span></h1>
</div>
</section>
<section class="section-2 flex-container">
<h1 id="article" style="font-family:'Rocher';" class="grays">Articles</h1>
<div class="art flex-container">
<div>
<h1>Difference Between C and C++</h1>
<p>In this article, I discuss the differences between C and C++. Both are great programming languages, each with its unique strengths and use cases. Below, I share a brief overview of the key differences between them.</p>
</div>
<button class="button"><a href="docs/Diff_C_Cpp.html">ReadMore</a></button>
</div>
<div class="art flex-container">
<div>
<h1>How to setup WSL/WSL2</h1>
<p>In this article, I Explain how to install wsl in simplest methods possible, Using developer you can use linux distribution like ubuntu in windows without dual booting</p>
</div>
<button class="button"><a href="docs/wsl_setup.html">ReadMore</a></button>
</div>
</section>
</body>
</html>