Category: html

New Native Lazy Loading Attribute for HTML img and iframe tags

Lazy loading your images just got a whole lot easier. If you’re not familiar, lazy-loading is the practice of delaying the load of certain content on a page until a user scrolls near it. If a user never scrolls, the content never loads. Page speed performance, mobile… good for all that. Currently, you’ll need JavaScript to do this. But, as of Chrome 75, that’s no longer necessary. A new attribute for <img> and <iframe> tags, loading” will be supported. Supported parameters are: lazy: good candidate for lazy loading. eager: not a good candidate for lazy loading. Load right away. auto:

Read More »

Building a responsive grid with CSS Grid

If you haven’t messed with it, yet… CSS Grid is pretty handy. Take this HTML, for example: <div class=”wrapper”> <div class=”box”>1</div> <div class=”box”>2</div> <div class=”box”>3</div> </div> We can easily create a grid like this: .wrapper { display: grid; grid-template-columns: 100px 100px 100px; grid-gap: 10px; } That’ll give you a grid that looks something like this: And, you can do even more complex layouts like this:​​​​ With just a few lines of code. Again, pretty handy. Anyway, one of the things I immediately wanted to do was build a Bootstrap-like grid system using CSS Grid. So, I did… and I put it

Read More »

NEW COURSE: Build an AJAX-powered freelance website template

Just released a new project-based course. In this one you’ll learn: How to submit form data using AJAX How to build a responsive grid with CSS Grid How to send a contact email using PHP How to build a mobile menu using CSS transitions How to build a website using HTML, CSS, jQuery and PHP And, plenty more. Full source code is included. You can get access to it for nothing here: https://skl.sh/2xM6Y3l Later, John P.S. If you’re a Patreon supporter, you can access the course here: https://www.patreon.com/posts/21697046

Read More »

Forget responsive web design. Just use HTML tables

Well then… My message, yesterday, sparked this doozy from PJ: “If you just stuck to tables this entire time, imagine the years of frustration you could have avoided by ignoring floated divs, Bootstrap, flexbox and now CSS Grid! These ‘new’ methods add no additional benefit to the client or user, and the syntax is not any better either! I use floated divs and flexbox only because I was gullible enough to drink the koolaid. But if I had used tables all this time, really nobody would have noticed, and I would have been more productive.” Bahahahahaha! Wait. No. Don’t do

Read More »

The One-Line Difference Between Ugly and Amazing Websites

Forget personal taste. I’m telling you as sure as I’m sitting here… whatever your personal thoughts about the differences between this before and after… one will get you, “Um well… something just feels off.” And, the other: “Wow! Clean, fresh. Amazing!” It’s just how people are. Anyway, here’s the before: And, here’s the after: This is a template I’m working on for a new course I’m doing. And, the difference is a single CSS declaration, but it’s light-years in terms of how it looks and how clients will react to it. The code? body, p, h1, h2, h3, h4, h5,

Read More »

The simple secrets to high-paying freelance clients

What makes clients willing to pay $5,000, $10,000 even $20,000 and up for your services? Download and install my mobile app and I’ll show you. It’s free. Just click the button below:

Clients Like:

Inc. Magazine Logo
Lewis Howes Logo
Ray Edwards Logo

WHAT OTHERS ARE SAYING

Steve Dimmick

Steve Dimmick

John has provided expert knowledge and advice on multiple occasions that have helped me better serve my clients. John is a Rockstar!

Ray Edwards

I recommend John every chance I get. If every person I worked with were as committed to excellence, punctuality, value, and unquestionable integrity… the world would be a better place. Highest recommendation.

Chris Aitken

He significantly improved my site through his expert knowledge of PHP, CSS and Javascript. Would definitely recommend John to others.

Lewis Howes

John is amazing at building membership sites. He converted one of my sites over from it’s existing (hardly working) platform over to the clean and simple to use WishList membership platform. I highly recommend using John and WishList for any of your membership site needs.

Aaron Gott

Aaron Gott

John has a particular knack for the development and training of others.

Oliver Wainwright

Oliver Wainwright

I’m a fan. I have completed several of John’s courses. I find him very knowledgeable and he has a great delivery.

Bradley Smith

John and I have worked together on numerous projects. John is very quick and efficient and was a pleasure to work with.

Andrew Malone

Andrew Malone

John Morris is exceptional in his ability to give focused insight into Freelancing and starting one’s business. His direct methods inspire confidence in his honesty.

Michael Skye

Michael Skye

John is a man of integrity, who gives generously of himself to projects and people he cares about.

Daniel Mohlendick

On the Freelancing on Upwork course: “This is by far the best course i have watched on Skillshare!! Thank you so much.”

Jason Rumley

Jason Rumley

John has a habit of over-delivering on the expectations he sets up. That’s why he’s the best.

Thabo Motsoahae

John is one of the best instructors I have come across, I learned a lot from his online tutorials.

Lori Grant

John did an outstanding job on my project. I highly recommend him and look forward to working with him on future projects.

Jim DeJonge

Jim DeJonge

John has a relaxed and engaging manner. His advice is solid and the explanations are well thought out.