Welcome to Codegrad

Codegrad is a tutorial and information website that covers different coding and scripting technologies in website development and design. It includes, but not limited to: HTML, CSS and Javascript. Codegrad also covers WordPress theme customization and plugin installation. Various on-page search engine optimization (SEO) techniques are also discussed in this blog.

Message from the webmaster

I noticed that I didn't edit this blog for a long time... just six posts for year 2011. I got busy with my full time work and also with the other blogs I am starting. Moreover, my freelance work as web developer has been put in the backburner as I pursue career in instructional design, a career that allows me to combine my knowledge and interest in web development and science education. Hopefully this time, I would be able to update this blog on a regular basis once again.

You will notice that I change the color to blue and introduced thumbnails for each post to make this blog look more lively. However, many of the posts belonging to the same category share the same thumbnail. My plan is to have each post having its own unique thumbnail. With around 100 posts, this will be too much work. I will replace the thumbnails of the existing blog posts gradually while all of the new posts for 2012 will have its own unique thumbnail.

Happy New Year everyone and may the Lord God bless our web programming career for this year and all years to come.

- Greten

Most recent posts from Codegrad!

Generating random numbers using Javascript

Similar to programming languages, Javascript also has function that can provide random numbers. You can modify this function to generate only certain numbers or use it in certain functions of your website such as displaying random image, random ad banner or random quote.

lottery globe

[ No Comments ] Posted on January 26, 2012 under JavaScript

Animated images using Javascript

Create a simple animated image using Javascript without the color limitations of GIF format or browser support limitation of PNG.

no thumbnail yet

[ No Comments ] Posted on January 24, 2012 under JavaScript

Reducing image file size without reducing quality using Yahoo! Smush.it

For similar images with the same quality, the one with smaller file size is definitely better. Use Yahoo! Smush.it to reduce your image file size before using them in your websites. Here, I explain the capabilities, limitations and usage of Smush.it.

smushit-thumb

[ No Comments ] Posted on January 9, 2012 under Webmasters' Tools

Detecting mobile devices for your WordPress website

This PHP code will allow you to detect if your website is being accessed using a mobile device. If being accessed by a mobile device, your server can automatically present an alternative layout without changing the URL of your website.

no thumbnail yet

[ No Comments ] Posted on August 30, 2011 under Designing for Mobile Devices, WordPress

Does your website need a mobile device version?

Mobile internet access is the latest fad in town. Several websites from web portals, search engines, company websites, online stores and references are developing another version of their website with layouts and features optimized for mobile devices. Do you need mobile version for your own website? Allow me to answer that in this article.

no thumbnail yet

[ No Comments ] Posted on July 30, 2011 under Designing for Mobile Devices

Flash is not always good for your website

Unless it is absolutely necessary, don’t use flash in your website. If you do, be sure that the important information can be accessed without viewing the flash presentation.

no thumbnail yet

[ No Comments ] Posted on July 1, 2011 under Search Engine Optimization

No one can guarantee your search results page rank

According to Google, no one can guarantee the position of a website in search engine results. There are those who will claim that they can assure you of the position of your page. Discussed here why nobody can really assure your page rank in search results and why you should avoid those who claim they can.

no thumbnail yet

[ No Comments ] Posted on June 30, 2011 under Search Engine Optimization

Niche-based Search Engine Optimization

This is an alternative search engine optimization technique. Some industries are just overly competitive with too many websites vying on top of search engine results page. Instead of aiming for the highest traffic count, why not aim for a fewer traffic count from people who are more likely to do business with you?

no thumbnail yet

[ No Comments ] Posted on June 29, 2011 under Search Engine Optimization