My first devlog on this site (of this site!)

I am making this site to be a home for my devlogs and personal projects. I have decided to do this as I am currently a second year computer science student and webmastery seems like a fun hobby to engage with at the moment.

It also gives me somewhere to share my projects with the world, along with an incentive to create new projects as I will need content for the site.

It is currently 2am and I started the website about an hour ago, it currently looks something like this:

a barebones website

Although saying that since I had to add an image into this devlog I decided to reorganize some of the file structure as I could see it getting messy in the future. There is probably a way to load this devlog in as a file which I could organize away, I should check to see if that is possible and if so I will do that.

preview of the site, everything is jumbled about

We have a more pressing issue, I should probably fix the css first so these are actually readable!

Ok I have had a look at it and have given it a programmary feel. It looks like something a hacker in a movie would use so will probably change it soon, but for now it is serving its purpose so it's now time to investigate loading posts as files.

the text is now readable but themed black and green

I figured out how to load the posts in from an external html file, which means I can now organize my posts better, I used a handy function from w3schools, the includeHTML() function. Which can be found below;

a function from w3schools

This function loops through all the elements of the page looking for elements with the attribute w3-include-html, when its found an element with the attribute, it sends a html request to the address specified (our devlog1.html file in this instance. It then adds it to the html inside the div (innerHTML). If wasn't so lazy I would code it myself, but their function works fine for what I want to do at the moment. I'm sure I will adjust it at some point.

And that is the end of today's devlog as it is time to sleep.

21/02/26