-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrssreplybot.html
More file actions
80 lines (75 loc) · 2.22 KB
/
rssreplybot.html
File metadata and controls
80 lines (75 loc) · 2.22 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>michaelguest.com</title>
<link rel="stylesheet" href="style.css">
<style>
.infoText {
text-align: center;
}
.ptitle {
margin: 5%;
font-weight: bold;
text-align:center;
}
</style>
</head>
<body>
<div class="mainContainer">
<div class="navBar">
<div class="dropdown mobile-visible">
<div id="menuMobile">
<div id="menuIcon" onclick="myFunction()" class="dropbtn">
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
</div>
<div id="myDropdown" class="dropdown-content">
<a href="index.html" class="project_link">Home</a>
<a href="#projects" class="project_link">Work</a>
<a href="#">About</a>
</div>
</div>
</div>
<div class="navMenu desktop-visible">
<ul class="navMenu desktop-visible">
<li id="name"><a href="index.html">Michael Guest</a></li>
<li id="works"><a href="index.html" class="project_link">Work</a></li>
<li id="about"><a href="#">About</a></li>
</ul>
</div>
</div>
<div class="infoBG"></div>
<div class="infoText">
<p class="ptitle">RSSReplyBot</p>
<p class="pdesc">A script that accepts RSS url feed as an input and posts the title and link as a submission on reddit.com</p>
<div class="codelang">
<p>Languages:</p>
<ul>
<li><div class="card-container">Python</div></li>
</ul>
</div>
<a href="https://github.com/AkitotheExiled/RSSReply" class="card_button">View code</a>
</div>
</div>
<script>
function myFunction() {
document.getElementById("myDropdown").classList.toggle("show");
}
window.onclick = function(event) {
if (!event.target.matches('.dropbtn')) {
var dropdowns = document.getElementsByClassName("dropdown-content");
var i;
for (i = 0; i < dropdowns.length; i++) {
var openDropdown = dropdowns[i];
if (openDropdown.classList.contains('show')) {
openDropdown.classList.remove('show');
}
}
}
}
</script>
</body>
</html>