DOCTYPE Explained

What is DOCTYPE and why do I care? The DOCTYPE declaration is the first line of code in any web document. It tells the browser what type of markup you wrote. Declaring one but coding for another may result in errors or inconsistencies across the spectrum of browsers. I’ve offered a few downloads that you can set as blank starting documents, automating a few lines of code that you’ll...

Read More

Random Quote PHP Script

The script below displays a random string of text each time your page is loaded or refreshed. It is not the most fancy or flexible – but it is extremely simple and easy. This could prove useful if you are doing something with limited scope. <?php function randomQuote() { $quotes[] = '"Quote goes here"'; $quotes[] = '"Quote goes here"'; $quotes[] = '"Quote goes here"'; $quotes[] =...

Read More

Test Your Server’s PHP Mail

Is your server’s PHP mail function enabled or disabled? Test it with this quick script. If you get an email, it works! <?php mail("username@domain.com", "Test Subject", "Test Message Body"); ?>

Read More

Sketch Up Your Concept

Sketch Up Your Concept

Articulate Your Idea Conceptualizing the page or website with other principals on the project helps unify the group’s expectations regarding the final product. By sketching up the a rough outline, you’ll give your idea a small but valuable nudge in the direction of formality before the rest of your team starts working on it. By presenting your design team with a visual aid, you can...

Read More

Let Google Serve Your jQuery

Whether you have moved to jQuery or are using prototype.js, you can include your JS library directly from Google’s code library. Getting your library from google gives you an awesome perk: There’s a good chance that users visiting your site have it cached because they’ve previously visited Google (or another site getting the code from google). This essentially makes it a...

Read More
Page 3 of 512345