before sunday
This commit is contained in:
parent
d1d655b5b7
commit
c354d2c674
@ -15,16 +15,28 @@
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="main">
|
||||
|
||||
<div id="main">
|
||||
<h3 class="blog-date">Sun, 10 Dec 2023 12:00:00</h3>
|
||||
<h1 class="blog-title">Test post</h1>
|
||||
<p class="blog-content">Testy test!</p>
|
||||
<div class="blog-images">
|
||||
|
||||
</div><br/>
|
||||
<sub><i><small>Test</small></i></sub><p class="next"><a href="1.html">Next --></a></p>
|
||||
<sub><i><small>Test</small></i></sub><hr/>
|
||||
<h3>Comments:</h3><br/>
|
||||
<form action="" id="commentForm">
|
||||
<input name="0" class="form-control" id="name" placeholder="Enter your name/alias (no login required)..."><br/>
|
||||
<input height="40px" name="0" class="form-control input-comment" id="comment" placeholder="Enter your Comment...">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
<div class="comments">
|
||||
<br/>
|
||||
1: First<br/>2: Test<br/>3: Hey<br/>
|
||||
</div>
|
||||
</div><p class="next"><a href="1.html">Next --></a></p>
|
||||
<div id="links">
|
||||
</div><script src="/template.js"></script></div>
|
||||
</div><script src="/blog/comments.js"></script><script src="/blog/submit-comment.js"></script></div>
|
||||
<hr/>
|
||||
<div class="footer main">
|
||||
<ul>
|
||||
|
@ -15,16 +15,28 @@
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="main">
|
||||
|
||||
<div id="main">
|
||||
<h3 class="blog-date">Sun, 10 Dec 2023 12:00:00</h3>
|
||||
<h1 class="blog-title">Test post2</h1>
|
||||
<p class="blog-content">Testicy Test</p>
|
||||
<div class="blog-images">
|
||||
|
||||
</div><br/>
|
||||
<sub><i><small>Test</small></i></sub><p class="previous"><a href="0.html"><-- Previous</a></p><p class="next"><a href="2.html">Next --></a></p>
|
||||
<sub><i><small>Test</small></i></sub><hr/>
|
||||
<h3>Comments:</h3><br/>
|
||||
<form action="" id="commentForm">
|
||||
<input name="1" class="form-control" id="name" placeholder="Enter your name/alias (no login required)..."><br/>
|
||||
<input height="40px" name="1" class="form-control input-comment" id="comment" placeholder="Enter your Comment...">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
<div class="comments">
|
||||
<br/>
|
||||
|
||||
</div>
|
||||
</div><p class="previous"><a href="0.html"><-- Previous</a></p><p class="next"><a href="2.html">Next --></a></p>
|
||||
<div id="links">
|
||||
</div><script src="/template.js"></script></div>
|
||||
</div><script src="/blog/comments.js"></script><script src="/blog/submit-comment.js"></script></div>
|
||||
<hr/>
|
||||
<div class="footer main">
|
||||
<ul>
|
||||
|
@ -15,16 +15,28 @@
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="main">
|
||||
|
||||
<div id="main">
|
||||
<h3 class="blog-date">Mon, 11 Dec 2023 12:00:00</h3>
|
||||
<h1 class="blog-title">I didn't like Wordpress</h1>
|
||||
<p class="blog-content">So... Yeah, I didn't like wordpress very much, it's pretty clunky and I don't have much control over the webpage, and it's kinda not that fun to use, I'm glad I tried it out though because I kind of know how to use it know I suppose, I might copy over the wordpress back over to this so I can use it myself for fun I suppose.</p>
|
||||
<div class="blog-images">
|
||||
<img class="blog-image" height="200" src="/images/wordpress.png" alt="wordpress.png" />
|
||||
</div><br/>
|
||||
<sub><i><small>Wordpress,html,control</small></i></sub><p class="previous"><a href="1.html"><-- Previous</a></p><p class="next"><a href="3.html">Next --></a></p>
|
||||
<sub><i><small>Wordpress,html,control</small></i></sub><hr/>
|
||||
<h3>Comments:</h3><br/>
|
||||
<form action="" id="commentForm">
|
||||
<input name="2" class="form-control" id="name" placeholder="Enter your name/alias (no login required)..."><br/>
|
||||
<input height="40px" name="2" class="form-control input-comment" id="comment" placeholder="Enter your Comment...">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
<div class="comments">
|
||||
<br/>
|
||||
|
||||
</div>
|
||||
</div><p class="previous"><a href="1.html"><-- Previous</a></p><p class="next"><a href="3.html">Next --></a></p>
|
||||
<div id="links">
|
||||
</div><script src="/template.js"></script></div>
|
||||
</div><script src="/blog/comments.js"></script><script src="/blog/submit-comment.js"></script></div>
|
||||
<hr/>
|
||||
<div class="footer main">
|
||||
<ul>
|
||||
|
@ -15,16 +15,28 @@
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="main">
|
||||
|
||||
<div id="main">
|
||||
<h3 class="blog-date">Thu, 21 Dec 2023 12:00:00</h3>
|
||||
<h1 class="blog-title">Late December Update Before Christmas</h1>
|
||||
<p class="blog-content">Hey guys, so I have been trying out Nextcloud since I did the last blog and I really like it, it's very good, the calendar especially, I think I definately prefer it to Proton Drive and Calendar because it's way better intergreated in to apps and stuff, there's also apps for it on the Ubuntu Touch store, which lacks Proton apps, the notes are also great as is the RSS reader that I can sync. Secondly, I have also began watching Attack on Titan again as my freind has been going on about it, I'm readig the Manga but it is so slow, so I'll probably keep watching the Animé which I like. Christmas is in a few days and we break up tommorow which is pretty exiting and I'll see some family, I think I'm getting the <a href='https://www.raspberrypi.com/products/raspberry-pi-5/'>Raspberry Pi 5</a> which is cool. Finally, I got the <a href='https://store.steampowered.com/app/582160/Assassins_Creed_Origins/'>Assassins Creed Origins game</a> which I already had on PS4 but now I have on Steam because it was on sale, but I can't get it to work so I'll have to figure that out over the weekend, anyway, that is probably it for today.<br/>Fly You High - DeaDvey<br/><img src='https://searx.be/image_proxy?url=https%3A%2F%2Fi.pinimg.com%2F236x%2Fc5%2F7f%2Fe1%2Fc57fe1d506c6a3aa53bd953199b7ea9f.jpg&h=60634c3b8432ca80d66386441593891a87a58ae6ec4810c40a64a665b0e677fc' height='200' alt='An image of Assassins Creed Origins' /><img src='https://upload.wikimedia.org/wikipedia/commons/9/98/23551-Raspberry-Pi-5-8G-feature.jpg' height='200' alt='An image of a Raspberry Pi 5'/></p>
|
||||
<div class="blog-images">
|
||||
|
||||
</div><br/>
|
||||
<sub><i><small>Christmas,Raspberry,pi,Nextcloud</small></i></sub><p class="previous"><a href="2.html"><-- Previous</a></p><p class="next"><a href="4.html">Next --></a></p>
|
||||
<sub><i><small>Christmas,Raspberry,pi,Nextcloud</small></i></sub><hr/>
|
||||
<h3>Comments:</h3><br/>
|
||||
<form action="" id="commentForm">
|
||||
<input name="3" class="form-control" id="name" placeholder="Enter your name/alias (no login required)..."><br/>
|
||||
<input height="40px" name="3" class="form-control input-comment" id="comment" placeholder="Enter your Comment...">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
<div class="comments">
|
||||
<br/>
|
||||
|
||||
</div>
|
||||
</div><p class="previous"><a href="2.html"><-- Previous</a></p><p class="next"><a href="4.html">Next --></a></p>
|
||||
<div id="links">
|
||||
</div><script src="/template.js"></script></div>
|
||||
</div><script src="/blog/comments.js"></script><script src="/blog/submit-comment.js"></script></div>
|
||||
<hr/>
|
||||
<div class="footer main">
|
||||
<ul>
|
||||
|
@ -15,16 +15,28 @@
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="main">
|
||||
|
||||
<div id="main">
|
||||
<h3 class="blog-date">Sun, 24 Dec 2023 00:01:23</h3>
|
||||
<h1 class="blog-title">RSS feeds and Star Wars Squadrons</h1>
|
||||
<p class="blog-content">Hey people (person(me)), I just updated my website to have an <a href='https://en.wikipedia.org/wiki/RSS'>RSS Feed</a> so that I can read them in Fluent Reader or Nextcloud News, the two RSS readers I use mostly, I cannot get them all to show up in Nextcloud News however, only the most recent one, maybe an issue with the formating? Ah well, I'll try troubleshoot that I guess. Secondly, I recently got the game <a href='https://store.steampowered.com/app/1222730/STAR_WARS_Squadrons/'>Star Wars Squadrons</a> on my PC after already having played it on my PS4 and I was surprised at the poor reviews, I always found the game really fun and the integrated HUD really fun to use, guess I just am different lol, anyway<br/> Fly You High - DeaDvey<br/><img src='https://cdn.cloudflare.steamstatic.com/steam/apps/1222730/header.jpg?t=1662047498' /></p>
|
||||
<div class="blog-images">
|
||||
|
||||
</div><br/>
|
||||
<sub><i><small>RSS,Sqaudrons,Star Wars,News</small></i></sub><p class="previous"><a href="3.html"><-- Previous</a></p><p class="next"><a href="5.html">Next --></a></p>
|
||||
<sub><i><small>RSS,Sqaudrons,Star Wars,News</small></i></sub><hr/>
|
||||
<h3>Comments:</h3><br/>
|
||||
<form action="" id="commentForm">
|
||||
<input name="4" class="form-control" id="name" placeholder="Enter your name/alias (no login required)..."><br/>
|
||||
<input height="40px" name="4" class="form-control input-comment" id="comment" placeholder="Enter your Comment...">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
<div class="comments">
|
||||
<br/>
|
||||
|
||||
</div>
|
||||
</div><p class="previous"><a href="3.html"><-- Previous</a></p><p class="next"><a href="5.html">Next --></a></p>
|
||||
<div id="links">
|
||||
</div><script src="/template.js"></script></div>
|
||||
</div><script src="/blog/comments.js"></script><script src="/blog/submit-comment.js"></script></div>
|
||||
<hr/>
|
||||
<div class="footer main">
|
||||
<ul>
|
||||
|
@ -15,16 +15,28 @@
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="main">
|
||||
|
||||
<div id="main">
|
||||
<h3 class="blog-date">Mon, 25 Dec 2023 18:52:08</h3>
|
||||
<h1 class="blog-title">Merry Christmas!</h1>
|
||||
<p class="blog-content">Merry Christmas everyone! Hope everyone is having a great day :), I had an interesting day, I got a Raspberry Pi 4 (4G version) and it's really cool, I already got <a href='https://supertuxkart.net/Main_Page'>Super Tux Kart</a> which is fun, I've also connected it to wifi and that's about it, I got a new keyboard which is way better than my old cheap stiff one, it seems to have helped my wpm, I got a massive power bank which has been charging for 3 hours now and has gone up 18% on the bank, meaning there is A LOT of total power in there :D Finally, I've gotton a new monitor for a grand total of 3 which is nice, I can have firefox on one, music on the other and a game on the third, I love it. I also got a Tux sticker which is super nice and a mug whcih says 'number #0 programmer' lol.<br/>Fly You High - DeaDvey<br/><img src='https://i.pinimg.com/originals/3c/b3/91/3cb39177fe9f33771c961835ac85c754.png' height='200' alt='image of tux' /><img src='/images/supertuxkart.png' alt='Image of supertux kart' height='200'/></p>
|
||||
<div class="blog-images">
|
||||
|
||||
</div><br/>
|
||||
<sub><i><small>Christmas,monitor,keyboard,sticker,mug,power bank</small></i></sub><p class="previous"><a href="4.html"><-- Previous</a></p><p class="next"><a href="6.html">Next --></a></p>
|
||||
<sub><i><small>Christmas,monitor,keyboard,sticker,mug,power bank</small></i></sub><hr/>
|
||||
<h3>Comments:</h3><br/>
|
||||
<form action="" id="commentForm">
|
||||
<input name="5" class="form-control" id="name" placeholder="Enter your name/alias (no login required)..."><br/>
|
||||
<input height="40px" name="5" class="form-control input-comment" id="comment" placeholder="Enter your Comment...">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
<div class="comments">
|
||||
<br/>
|
||||
|
||||
</div>
|
||||
</div><p class="previous"><a href="4.html"><-- Previous</a></p><p class="next"><a href="6.html">Next --></a></p>
|
||||
<div id="links">
|
||||
</div><script src="/template.js"></script></div>
|
||||
</div><script src="/blog/comments.js"></script><script src="/blog/submit-comment.js"></script></div>
|
||||
<hr/>
|
||||
<div class="footer main">
|
||||
<ul>
|
||||
|
@ -15,16 +15,28 @@
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="main">
|
||||
|
||||
<div id="main">
|
||||
<h3 class="blog-date">Thu, 28 Dec 2023 20:41:39</h3>
|
||||
<h1 class="blog-title">Homemade laptop, Nextcloud and possible updates to website</h1>
|
||||
<p class="blog-content">This week I used my raspberry pi to make a Homemade laptop, for the case I used a cardboard box with a hinge duck taped to the back so it doesn't flop around. I used a drawing tablet as a mouse as I had no spare mouse, the monitor is my phone conecting to the raspberry pi through <a href='https://en.wikipedia.org/wiki/Virtual_Network_Computing'>VNC</a> which is very janky and I used a massive portable charger to keep the phone and pi charged, the whole thing is really janky and I want to maybe get a 7 inch monitor for it which would work way better but, that's for the furture me. I've found a cool new feature on Nextcloud called face recognition, I have not gotton it working though so I'll try figure that out, I suck at troubleshooting, it took like a week to figure out how to use occ, it's in the nextcloud root directory ._., there's also a map fearture which uses <a href='https://www.openstreetmap.org'>Open Street Maps</a> to show where images where taken and when and also to plot addresses of your contacts which is very useful. Finally, I was thinking of added a comment system to my blog posts, but don't know if I should as it could be vunerable and shit like that and I also can't really be bothered seeing as no one would use it... On the plus side I got Jotit working on my UBT phone because it needed a bloody / at the end of the address, WHY??? idk it just does for some reason. Anyway, that's it for today.<br/> Fly You High - DeaDvey<br/></p>
|
||||
<div class="blog-images">
|
||||
<img class="blog-image" height="200" src="/images/custom_laptop.png" alt="custom_laptop.png" /><img class="blog-image" height="200" src="/images/nextcloud_maps.png" alt="nextcloud_maps.png" />
|
||||
</div><br/>
|
||||
<sub><i><small>Nextcloud,Website,VNC,Laptop,Maps</small></i></sub><p class="previous"><a href="5.html"><-- Previous</a></p><p class="next"><a href="7.html">Next --></a></p>
|
||||
<sub><i><small>Nextcloud,Website,VNC,Laptop,Maps</small></i></sub><hr/>
|
||||
<h3>Comments:</h3><br/>
|
||||
<form action="" id="commentForm">
|
||||
<input name="6" class="form-control" id="name" placeholder="Enter your name/alias (no login required)..."><br/>
|
||||
<input height="40px" name="6" class="form-control input-comment" id="comment" placeholder="Enter your Comment...">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
<div class="comments">
|
||||
<br/>
|
||||
|
||||
</div>
|
||||
</div><p class="previous"><a href="5.html"><-- Previous</a></p><p class="next"><a href="7.html">Next --></a></p>
|
||||
<div id="links">
|
||||
</div><script src="/template.js"></script></div>
|
||||
</div><script src="/blog/comments.js"></script><script src="/blog/submit-comment.js"></script></div>
|
||||
<hr/>
|
||||
<div class="footer main">
|
||||
<ul>
|
||||
|
@ -15,16 +15,28 @@
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="main">
|
||||
|
||||
<div id="main">
|
||||
<h3 class="blog-date">Wed, 3 Jan 2024 00:13:42</h3>
|
||||
<h1 class="blog-title">Happy New Year!!!!</h1>
|
||||
<p class="blog-content">Firstly, Happy new year everyone, I was planning on doing this yesterday, but got distracted, I don't know about any of you, but mine is 1080p, I don't like 4K because I find things like the cursor don't scale well on a 4K monitor in KDE and in a tty the text is super small on 4K! Email me your new years resolutions, I'd love to know: <a href='mailto:email@deadvey.xyz'>email@deadvey.xyz</a>. Secondly, I have discovered a new Terminal Emulator caleld <a href='https://github.com/borisfaure/terminology'>Terminology</a>, now it's quite heavy, so not really for anyone who likes lighter ones like Alacritty or Xterm, but it's really fancy and has optional backgrounds and overlays, and a cool bell that rings if you backspace too far back, I'm really liking it so far but we'll see, I also have installed a new font for my system which I'm using in Terminology called <a href='https://rubjo.github.io/victor-mono/'>Victor Mono</a> which is a monospaced font that has a nice subtle cursive style, I know that's kinda cursed but I really like it and Capital letters are non cursive so that they can be easier read. I have found a small (7 inch) screen that is designed for the Raspberry Pi which I might get in order to make a custom laptop for my Pi which will be cool as the VNC route is extremly unstable and laggy as it's over WiFi, I'll have a think about it though and I'll consider the 8 Inch version. My account has been accepted onto <a href='https://fossfarmers.company/a/deadvey8383'>Foss farmers Peertube Instance</a> so I'm now uploading to there, Check that out, though I am also uplaoding to <a href='/video'>My website</a>. I have made a <a href='https://github.com/DeaDvey/node'>Github repo for the node js of this website</a> and so this whole site is now public on Github I have made a commit today, I added previous and next links to the blog pages, it checks first if the post number is not equal to 0 (the first post) then if it is not, it adds a previous link, and if it is not the equal to the length of the array - 1 then it adds a next link, so I think I did it ok, that's in the makeblogs.js file. Finally, I have gotten back into the <i>spirit</i> of revision for the exams coming up since the christmas break where I gave myself a rest, I did some pastpapers and maths today which was <i>fun</i>. Okay, that's it for today, hope you have a good day!<br/>Fly You High - DeaDvey</p>
|
||||
<div class="blog-images">
|
||||
<img class="blog-image" height="200" src="/images/fireworks.png" alt="fireworks.png" /><img class="blog-image" height="200" src="/images/terminology.png" alt="terminology.png" /><img class="blog-image" height="200" src="/images/farmtube.png" alt="farmtube.png" />
|
||||
</div><br/>
|
||||
<sub><i><small>new year,terminology,victor mono,resolution,pi,montior,7 inch,peertube,node js,github,previous,next,revision</small></i></sub><p class="previous"><a href="6.html"><-- Previous</a></p><p class="next"><a href="8.html">Next --></a></p>
|
||||
<sub><i><small>new year,terminology,victor mono,resolution,pi,montior,7 inch,peertube,node js,github,previous,next,revision</small></i></sub><hr/>
|
||||
<h3>Comments:</h3><br/>
|
||||
<form action="" id="commentForm">
|
||||
<input name="7" class="form-control" id="name" placeholder="Enter your name/alias (no login required)..."><br/>
|
||||
<input height="40px" name="7" class="form-control input-comment" id="comment" placeholder="Enter your Comment...">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
<div class="comments">
|
||||
<br/>
|
||||
|
||||
</div>
|
||||
</div><p class="previous"><a href="6.html"><-- Previous</a></p><p class="next"><a href="8.html">Next --></a></p>
|
||||
<div id="links">
|
||||
</div><script src="/template.js"></script></div>
|
||||
</div><script src="/blog/comments.js"></script><script src="/blog/submit-comment.js"></script></div>
|
||||
<hr/>
|
||||
<div class="footer main">
|
||||
<ul>
|
||||
|
@ -15,16 +15,28 @@
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="main">
|
||||
|
||||
<div id="main">
|
||||
<h3 class="blog-date">Mon, 8 Jan 2024 16:39:59</h3>
|
||||
<h1 class="blog-title">Henry Stickmin completion</h1>
|
||||
<p class="blog-content">This week I have been playing a lot (and have 100%ed) of Henry Stickmin which has been really fun, I also bingewatched <a href='https://yewtu.be/watch?v=OcLU07tnfv4'>2 left thumbs' youtube series</a> about references in the remastered versions, I played the first few games a years ago when I watched DanTDM's series, and the new ones have a lot better graphics, but they're all great. I've also been re reeading a book series I used to be obsessed with called <a href='https://www.goodreads.com/series/43743-h-i-v-e'>H.I.V.E</a> which has been a blast and I'm exited as a new book released last year but I haven't read it. This week (I beleive) Hyprland overtook Sway in terms of stars on Github, which is exiting. I have not come to a decision about adding comments to my blog posts, but if I did, they would be pretty simple, no logins, just type your name and the comment, then I can respond to it if I see it; pretty simple. I'm going to be getting my braces out in about 6 weeks time and using retainers, so I'm looking forward to that :D. Yeah, there's not much to talk about really, I'm just anticipating the end of the Winter break tommorow (today is insect day) really.<br/>Fly You High - DeaDvey 🥱</p>
|
||||
<div class="blog-images">
|
||||
<img class="blog-image" height="200" src="/images/henry-stickmin.jpg" alt="henry-stickmin.jpg" /><img class="blog-image" height="200" src="/images/hyprland-vs-sway.png" alt="hyprland-vs-sway.png" />
|
||||
</div><br/>
|
||||
<sub><i><small>henry stickmin,HIVE,comments,hyprland,sway,braces,bored</small></i></sub><p class="previous"><a href="7.html"><-- Previous</a></p>
|
||||
<sub><i><small>henry stickmin,HIVE,comments,hyprland,sway,braces,bored</small></i></sub><hr/>
|
||||
<h3>Comments:</h3><br/>
|
||||
<form action="" id="commentForm">
|
||||
<input name="8" class="form-control" id="name" placeholder="Enter your name/alias (no login required)..."><br/>
|
||||
<input height="40px" name="8" class="form-control input-comment" id="comment" placeholder="Enter your Comment...">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
<div class="comments">
|
||||
<br/>
|
||||
|
||||
</div>
|
||||
</div><p class="previous"><a href="7.html"><-- Previous</a></p>
|
||||
<div id="links">
|
||||
</div><script src="/template.js"></script></div>
|
||||
</div><script src="/blog/comments.js"></script><script src="/blog/submit-comment.js"></script></div>
|
||||
<hr/>
|
||||
<div class="footer main">
|
||||
<ul>
|
||||
|
5
blog/comments.js
Normal file
5
blog/comments.js
Normal file
@ -0,0 +1,5 @@
|
||||
comments = [["3: Hey", "2: Test", "1: First"],[],[],[],[],[],[],[],[]]
|
||||
|
||||
if (typeof module !== "undefined" && module.exports) {
|
||||
module.exports = comments;
|
||||
}
|
7
blog/comments/0.js
Normal file
7
blog/comments/0.js
Normal file
@ -0,0 +1,7 @@
|
||||
comments = ["Hey", "Test", "First"]
|
||||
|
||||
comments = comments.reverse();
|
||||
|
||||
if (typeof module !== "undefined" && module.exports) {
|
||||
module.exports = comments;
|
||||
}
|
@ -9,6 +9,8 @@
|
||||
<div id="links"><a href='blogs/all.html'>ALL POSTS</a><h4>January 2024</h4><li class="indent">• <a href='blogs/8.html'>Henry Stickmin completion</a> -- Monday 8</li><li class="indent">• <a href='blogs/7.html'>Happy New Year!!!!</a> -- Wednesday 3</li><h4>December 2023</h4><li class="indent">• <a href='blogs/6.html'>Homemade laptop, Nextcloud and possible updates to website</a> -- Thursday 28</li><li class="indent">• <a href='blogs/5.html'>Merry Christmas!</a> -- Monday 25</li><li class="indent">• <a href='blogs/4.html'>RSS feeds and Star Wars Squadrons</a> -- Sunday 24</li><li class="indent">• <a href='blogs/3.html'>Late December Update Before Christmas</a> -- Thursday 21</li><li class="indent">• <a href='blogs/2.html'>I didn't like Wordpress</a> -- Monday 11</li><li class="indent">• <a href='blogs/1.html'>Test post2</a> -- Sunday 10</li><li class="indent">• <a href='blogs/0.html'>Test post</a> -- Sunday 10</li></div>
|
||||
</div>
|
||||
|
||||
<script src="submit-comment.js">
|
||||
</script>
|
||||
<script src="/lastupdated.js">
|
||||
</script>
|
||||
<script src="/html.js">
|
||||
|
17
blog/submit-comment.js
Normal file
17
blog/submit-comment.js
Normal file
@ -0,0 +1,17 @@
|
||||
let commentForm = document.getElementById("commentForm");
|
||||
|
||||
|
||||
commentForm.addEventListener("submit", (e) => {
|
||||
e.preventDefault();
|
||||
|
||||
let name = document.getElementById("name")
|
||||
let comment = document.getElementById("comment")
|
||||
|
||||
console.log(name.value)
|
||||
console.log(comment.value)
|
||||
|
||||
let post = name.name // The post number ie 0 is stored in the name tag of the input field
|
||||
|
||||
comments[post].push(`${name.value}: ${comment.value}`)
|
||||
console.log(comments)
|
||||
});
|
Loading…
Reference in New Issue
Block a user