forked from agamjotsingh18/codesetgo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cheatsheets.html
156 lines (140 loc) · 5.66 KB
/
cheatsheets.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
153
154
155
156
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<title>CheatSheets</title>
<meta content="" name="description" />
<meta content="" name="keywords" />
<!-- Favicons -->
<link href="assets/img/Light Blue.jpg" rel="icon" />
<link href="assets/img/Light Blue.jpg" rel="apple-touch-icon" />
<!-- Google Fonts -->
<link
href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i|Raleway:300,400,500,700,800|Montserrat:300,400,700"
rel="stylesheet"
/>
<!-- CSS CDNs -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.css"
integrity="sha512-1cK78a1o+ht2JcaW6g8OXYwqpev9+6GqOkz9xmBN9iUUhIndKtxwILGWYOSibOKjLsEdjyjZvYDq/cZwNeak0w=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.8.1/font/bootstrap-icons.min.css"
integrity="sha512-Oy+sz5W86PK0ZIkawrG0iv7XwWhYecM3exvUtMKNJMekGFJtVAhibhRPTpmyTj8+lJCkmWfnpxKgT2OopquBHA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/boxicons/2.1.1/css/boxicons.min.css"
integrity="sha512-nOk7sj5T6Zi3Ond5VHhc+L4WHvRuRhV/cOcWWDl2mOyTetiIfuv56UJzD0yYhz9Kqwk1PpU0/PX5+qpX43hVWg=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/8.0.6/swiper-bundle.css"
integrity="sha512-+S5HQ2Ix/L84uhBLMimQiJlFjqR/Unnord77MEDNpWtK99i2Tk212EPb3/ahEjgaPRBKkKtTzMHIdO2HQXT3dQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<!-- CSS -->
<link href="assets/css/style.css" rel="stylesheet" />
<link rel="stylesheet" href="./assets/css/darkmode.css" />
<script src=""></script>
</head>
<body>
<!-- ======= Header ======= -->
<header id="header" class="d-flex align-items-center">
<div class="container d-flex justify-content-between">
<div id="logo">
<a href="index.html"
><img
src="assets/img/Banner - Light.png"
alt=""
height="50px"
width="270px"
/></a>
</div>
<nav id="navbar" class="navbar">
<ul>
<li><a class="nav-link scrollto active" href="./index.html#hero">Home</a></li>
<li><a class="nav-link scrollto" href="./index.html#about">About</a></li>
<li><a class="nav-link scrollto" href="./index.html#services">Services</a></li>
<li>
<a class="nav-link scrollto" href="./index.html#testimonials">Testimonials</a>
</li>
<li><a class="nav-link scrollto" href="./index.html#contact">Contact</a></li>
<li>
<a
href="./hacktoberfest.html"
class="btn-get-started scrollto hacktoberfest-btn"
>Hacktoberfest</a
>
</li>
<li class="darkmode"></li>
</ul>
<i class="bi bi-list mobile-nav-toggle"></i>
</nav>
</nav>
</div>
</header>
<!-- End Header -->
<!-- Main Section -->
<div>
<h1 class="cheatsheet-heading">CheatSheets</h1>
<div class="option-container">
<div class="option">
<!-- This content is dynamically added via hacktoberfest.js -->
</div>
</div>
<a
href="#"
class="back-to-top d-flex align-items-center justify-content-center"
><i class="bi bi-arrow-up-short"></i
></a>
<!-- JS CDN -->
<script>
function showCheatsheet(language) {
var cheatsheetContainer = document.getElementById("option-container");
cheatsheetContainer.innerHTML = "";
if (language === "C") {
cheatsheetContainer.innerHTML = "<h3>Cheatsheet for C</h3><p>Content for C cheatsheet...</p>";
} else if (language === "Java") {
cheatsheetContainer.innerHTML = "<h3>Cheatsheet for Java</h3><p>Content for Java cheatsheet...</p>";
} else if (language === "HTML") {
cheatsheetContainer.innerHTML = "<h3>Cheatsheet for HTML</h3><p>Content for HTML cheatsheet...</p>";
} else if (language === "CSS") {
cheatsheetContainer.innerHTML = "<h3>Cheatsheet for CSS</h3><p>Content for CSS cheatsheet...</p>";
} else if (language === "JavaScript") {
cheatsheetContainer.innerHTML = "<h3>Cheatsheet for JavaScript</h3><p>Content for JavaScript cheatsheet...</p>";
}
else if (language === "C++") {
cheatsheetContainer.innerHTML = "<h3>Cheatsheet for C++</h3><p>Content for C++ cheatsheet...</p>";
} else if (language === "Python") {
cheatsheetContainer.innerHTML = "<h3>Cheatsheet for Python</h3><p>Content for Python cheatsheet...</p>";
}
}
</script>
<script
type="module"
src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"
></script>
<!-- JS -->
<script defer src="./assets/js/darkmode_logic.js"></script>
<script src="assets/js/main.js"></script>
<script src="./assets/js/cheatsheets.js"></script>
<!-- End Main Section -->
</body>
</html>