TAG = html

Temperature Conversion Script in PHP

Author: Patrick Morrow

In this lesson I show you how to create a simple temperature conversion script in PHP

Read More html php video

How to Check if a Page has Loaded Using jQuery

Author: Patrick Morrow

I was working on a project and needed to include a loading gif until the page had fully loaded. Using a couple of lines of code made this quite easy.

Read More javascript jquery html

How to Draw Regular Polygons Using the HTML Canvas

Author: Patrick Morrow

In this lesson we will learn how to draw regular polygons using the HTML canvas and some understanding of trigonometry.

Read More canvas javascript html

How to Draw a Polygon Using the HTML5 Canvas

Author: Patrick Morrow

In this tutorial we will draw a polygon using the HTML5 canvas and a loop.

Read More canvas javascript html

How to Draw a Circle Using the HTML Canvas

Author: Patrick Morrow

In this tutorial we will draw a circle using the HTML canvas.

Read More canvas javascript html

How to Draw A Rectangle Using the HTML Canvas

Author: Patrick Morrow

In this brief tutorial we will explore how to draw using the HTML canvas.

Read More canvas javascript html

How to Add Tooltips Using Bootstrap

Author: Patrick Morrow

It is always nice to be able to provide users with hints about how to complete a form field or what information to provide. Using Bootstrap's tooltip feature we can easily accomplish this.

Read More bootstrap jquery html

PHP for Beginners

Author: Patrick Morrow

This 5* rated course by a national award-winning teacher will take you through the basics of learning a coding in PHP.

Read More course html php

PHP Challenge 9 - ISBN Checker

Author: Patrick Morrow

Each published book is given a unique identifier called an International Standard Book Number or ISBN for short.

Read More challenge html php

Save Time When Coding HTML By Using Emmet

Author: Patrick Morrow

Hand coding lots of HTML can be time consuming. By utilising the power of Emmet in your coding environment you might actually start to enjoy coding HTML again.

Read More css html

PHP Challenge 7 - Going Round in Circles

Author: Patrick Morrow

In this challenge you are required to let the user enter the coordinates of the centre of two circles and their respective radii and then calculate if the circles touch or overlap.

Read More challenge css html php

How to Create a Scroll To Top Button

Author: Patrick Morrow

On long pages it is often quite nice to provide the user with a button or link to scroll back to the top of the page with a single click.

Read More jquery html

How to Calculate the Difference Between Two Dates in PHP

Author: Patrick Morrow

In this short lesson we look at how to create a Bootstrap styled form allowing the user to enter two dates. We then calculate the time difference between the two dates.

Read More bootstrap html php

PHP Challenge 5 - Rearranging Letters into Alphabetical Order

Author: Patrick Morrow

In this challenge you are required to allow the user to input a word and then rearrange the letters of that word into alphabetical order.

Read More challenge html php

Multiple Dropdown Lists Using jQuery Ajax and PHP

Author: Patrick Morrow

In this tutorial we will populate a dropdown list based on the value of another dropdown list. This is commonly used for countries and states.

Read More mysql pdo css bootstrap jquery html php

How to Create a Smooth Animated Progress Bar

Author: Patrick Morrow

While working on a timer component I needed a smooth animated progress bar so came up with the following. It only has a few lines of code and can be adapted to suit your own needs quite easily.

Read More css jquery html

How to Process Form Data in PHP

Author: Patrick Morrow

One of the most common interactions with a user is through a form. Being able to process the data from a form is a necessity for many websites.

Read More css bootstrap html php

PHP Challenge 4 - Check if a Number is a Factor of Another Number

Author: Patrick Morrow

This fairly simply challenge involves quite a powerful little test which you may find yourself using on a regular basis.

Read More challenge html php

How to Use jQuery to Select and Deselect all Checkboxes

Author: Patrick Morrow

When managing records from a database or selecting items in a form it is often handy to be able to select and deselect multiple checkboxes via a single checkbox or button.

Read More html jquery bootstrap

PHP Challenge 3 - Create a Multiplication Grid

Author: Patrick Morrow

As a developer you will be using loops regularly. This challenge requires you to use nested loops to produce a multiplication grid and then use some basic styling to identify square numbers.

Read More php html loops css challenge

How to Create an RSS Feed Reader

Author: Patrick Morrow

In this lesson we will take an external RSS feed, read it using the PHP simplexml_load_file function and then loop through the file presenting the feed on our website.

Read More php html loops

How to Equalize the Heights of DIVS Using jQuery

Author: Patrick Morrow

In many web designs the designer may have requested for some page elements to be the same size. There are various ways to accomplish this. In this lesson we will consider using jQuery to equalize div heights.

Read More jquery html css

PHP Challenge 2 - Working With Arrays and Array Functions

Author: Patrick Morrow

In this challenge you will need to work with arrays and array functions in PHP in order to find some basic results. This challenge involves using actual recorded data and is typical of challenges you may face when coding for a client.

Read More php challenge html

How to Add Sliding Text on Images Using jQuery

Author: Patrick Morrow

I frequently get asked by my students how to add sliding text over images. In this lesson we will produce a very simple hover effect on an image which will result in text being shown.

Read More html jquery

How to Create a jQuery Ajax and PHP Autocomplete Script

Author: Patrick Morrow

In this lesson we will create an autocomplete script using jQuery and PHP. Autocomplete fields can be extremely useful for searching through database records and making suggestions to the user.

Read More php html jquery css pdo mysql

PHP Challenge 1 - Generate the Fibonacci Numbers Based on User Input

Author: Patrick Morrow

In this challenge you are required to allow the user to input a number. You will then use this number to generate the Fibonacci numbers up to and including the user input.

Read More php html challenge

How to Centre an Element Vertically Using Table-Cell

Author: Patrick Morrow

Centering page elements has, until recently, usually involved lots of obscure code. Centering horizontally and vertically is now easy thanks to this neat little CSS trick.

Read More html css

How To Create a Bootstrap Styled Registration Form

Author: Patrick Morrow

In this lesson we will learn how to create a simple Bootstrap styled form. The completed form could be used as the basis of a simple registration form.

Read More bootstrap html

How to produce a chessboard pattern in PHP

Author: Patrick Morrow

This is a great lesson for those who want to learn more about nested loops and conditional statements. We produce a simple chessboard pattern.

Read More loops php html

PHP for Beginners

Enrol in the full course here

PHP, MySQL and PDO

Coming soon, a full course on using PHP, MySQL and PDO. Be notified as soon as the course goes live.