[image: socialicon]

Although simple, this is a question I’ve been asked numerous times by learner developers. This “tutorial” assumes you have also never created a html and css webpage before because the two facets are so closely linked.

About

Firstly, you need to understand what CSS is. CSS stands for Cascading StyleSheet and it is the key element of web development. CSS is used to tell a webpage how you want it to look. It can be used to define id’s, classes, and other html elements.

You can load a stylesheet in html using this code:

<link rel=”stylesheet” type=”text/css” href=”yourstyle.css”/>

Example

Now, an example. Create a new file in notepad or a similar text editor and save it as style.css to a folder on your computer. Repeat this and create another file called index.html and save it to the same folder as your style.css file. (…)

I’ve spent many a long hour playing with this javascript to make it work seamlessly. You can see the results, daily, on my website.

If you want to change your website background depending on the time of day you will need this specific code. Otherwise, make sure to read till the bottom so you understand and don’t come back to me asking why it isn’t working for you.

Nighttime on ThatGuyCharlie

[image: TGCNight]

Daytime on ThatGuyCharlie

[image: TGCDay]

(…)

This easy to implement Javascript bookmark script takes advantages of JS technology to provide functionality in most popular browsers like Internet Explorer and Firefox.
Put this between the <head></head> tags of your webpage.


Put this anywhere between the <body></body> tags.

> Click HERE to download the script <

Adobe Flash Player is required to view this video.
BrandiniMP Blog: Programming, Gaming

Frills and Furbelows Lillian’s Blog: Food & Fashion

Iain Nash Web Profile

turboRamble Blog: Game Creation, Art, Writings

RJ's Burrow The bright light at the end of the tunnel.

WebDelve Web Development

Property of ThatGuyCharlie, Charlie Mathews | Design by PixelVeritas | Powered by Wordpress