Book Image

Practical Web Design

By : Philippe Hong
Book Image

Practical Web Design

By: Philippe Hong

Overview of this book

Web design is the process of creating websites. It encompasses several different aspects, including webpage layout, content production, and graphic design. This book offers you everything you need to know to build your websites. The book starts off by explaining the importance of web design and the basic design components used in website development. It'll show you insider tips to work quickly and efficiently with web technologies such as HTML5, CSS3, and JavaScript, concluding with a project on creating a static site with good layout. Once you've got that locked down, we'll get our hands dirty by diving straight into learning JavaScript and JQuery, ending with a project on creating dynamic content for your website. After getting our basic website up and running with the dynamic functionalities you'll move on to building your own responsive websites using more advanced techniques such as Bootstrap. Later you will learn smart ways to add dynamic content, and modern UI techniques such as Adaptive UI and Material Design. This will help you understand important concepts such as server-side rendering and UI components. Finally we take a look at various developer tools to ease your web development process.
Table of Contents (20 chapters)
Title Page
PacktPub.com
Contributers
Preface
Index

Site performance optimization


Nobody likes slow websites; we all know that. Besides that, page speed can have a real impact on your user's engagement, because nobody wants to wait for a website to load. We've added a few plugins and a lot of images. Now, let's start optimizing our website and make our users love our website even more by using some techniques for speeding up upload times. There are two very basic things we can do, which are to optimize heavy images and to minify CSS and jQuery code. Let's do that.

Optimizing images

The first thing we have to optimize is our images, and that is because images are usually by far the more heavy content of our webpage. Some of our images are quite heavy, such as our hero image, which is more than 480KB. All of these images, combined with when we download the website, take a long time. Imagine someone with a slow internet connection on a smartphone who is trying to download this site. This would take them forever. So, let's reduce the file sizes...