Wednesday, 9 May 2018

D13: Making some progress, first full project!


View this on my main page


Hey Everyone and Welcome to Day 13!


Today's Goal!

My plan for today was to take a break from the tutorials. But to keep coding I wanted to start work on a project that I was asked to do a while ago. A friend of mine wants to make a social network style thing for gamers. I've been tasked with making the website. For today I have been making the landing page for this website. I needed to make it look good but also be ready for some future tech that I will be making when I learn how to.

Making the page!

I started by working out how many sections I will need and also working with a basic design that I was given to make different parts. I made a bar for the top that had a logo on it as well as a few links. I want to make some drop down boxes for these menu items, I will Google that another day though. I think I know a way to do it but would like to find a better way, maybe a JQuery plug-in? I then started working on styles for the page, colours and placements.

Javascript!

Okay so i basically completely omitted JavaScript on the page and jumped straight to JQuery, I just really enjoy that language. I made a slide show of pictures that used JQuery to scroll through 3 different images, of which the URLs are stored simply in between <p> tags in HTML. The function then uses setTimeout to change the image 10 seconds later. I learnt that I could store this in a variable and then cancel it whenever I wanted. This was needed so that when one of the buttons were pressed (next and previous buttons to change the slide) the timeout would need to be reset. So it must be cleared and then started again.

Tomorrow's Goal!

Oh what to do tomorrow, well I definitely will start on the bootstrap tutorials. I've been told this makes things a lot easier so I cant wait to start that. I also want to do more work on this new project of mine, once its done it can be added to my portfolio page. I also want to continue work on my game as I haven't touched that in quite a while. I'll decide when I get home from work tomorrow but it'll probably end up being something to do with bootstrap, either on my portfolio page or this new project. But for now,

Happy having a break!

Matt

No comments:

Post a Comment