Someone recently asked me to add some testimonials to their website. They had a collection of quotes from their customers and wanted one to be displayed on each page at random. Although this post it titled how to show random ‘quotes’ in WordPress the concept can be applied to pretty much anything and is not limited to quotes. It also not limited to WordPress as we’re just going to be using some simple PHP.
We’re going to display a different image depending on the current date. We might want to do this if say we want to have our standard header image change to a different header image for Christmas, another one for valentines day and maybe another one for weekends.
Our last drawing shapes tutorial was how to draw a circle with CSS 3. We’re going to build on that now with a quick tutorial on how to draw a triangle.
In this short tutorial we’ll look at how you can use border-radius to draw a simple circle.
Well commented code can be a beautiful thing. Especially if you are working on something that you didn’t do yourself or wrote some time ago.
In this article we will look at the commenting syntax for 3 of the most common and essential languages in web development, CSS, HTML & PHP.