Practical Web Design
eBook - ePub

Practical Web Design

Philippe Hong

Partager le livre
  1. 368 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Practical Web Design

Philippe Hong

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

A step by step guide for beginners to create interactive and dynamic websites from scratch.About This Book‱ A fun-filled book with incrementing projects that would help you learn and adapt the fundamentals of web development‱ Bring your web design to life with the help of HTML, CSS, JQuery, and learn to kick-start your future projects with Bootstrap‱ Explore popular web development techniques such as responsive, adaptive, and material design and initiate yourself with Vue.jsWho This Book Is ForThis book is for anyone who wants to learn about web development regardless of previous experience. It's perfect for complete beginners with zero experience; it's also great for anyone who does have some experience in a few technologies (such as HTML and CSS) but not all of them.What You Will Learn‱ Understand the importance of web design and the basic design components‱ Learn HTML5 and CSS3‱ Difference between adaptive and responsive web design‱ Learn how to create your first website‱ Add interaction and dynamic content to your website with JavaScript and JQuery‱ Implement Bootstrap Framework in your project‱ Get familiar with server-side renderingIn DetailWeb 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.Style and approachThis is a fun-filled book with conversational and engaging content; with each incrementing project, you'll would easily learn and adapt the fundamentals of web development. Each project showcases a different use case and incrementally teaches the web development basics.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Practical Web Design est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Practical Web Design par Philippe Hong en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Design et Web Design. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2018
ISBN
9781788396455
Édition
1
Sujet
Design
Sous-sujet
Web Design

Building Your Own Website

The fun part has finally come. We're going to start implementing our website from A to Z. I will explain thoroughly through each step. Here's the list of what is going to be covered in this chapter:
  • Installation of HTML Boilerplate
  • Setting up our project with images, fonts, and normalize.css
  • Creating our header and stylising it
  • Creating our hero section and learn about the positioning in CSS
  • Creating our Blog section
  • Adding an about section
  • Creating a Partner section
  • Creating a footer section
First, let's see the design we're going to implement. If you can remember, we saw a little preview back in Chapter 4, Responsive Versus Adaptive Design.

Our design

Our home page will contain the following:
  1. Header: We will learn how to create and stylize a navigation section, with a logo and a menu on the right-hand side.
  2. A hero Image: In web design, it describes a front banner image, usually a big image. We'll learn how to create a full-width background image with a big title.
  3. A preview of the Blog with six blog posts: We'll learn how to display three responsive columns with images and content.
  4. An ABOUT US section: We will learn how to add a gradient to an image.
  1. A PARTNERS section: We will learn how to center content on the page.
  2. A footer: Basically the same thing as the header, but at the bottom.
You can check the image of the home page in full size in the resources files I provided, in Resources | Screens. There is also the Sketch source file of the project.
I strongly recommend you to install Sketch or Figma if you're not using one of these design tools yet. The Sketch app is commonly used for web design projects and can be downloaded at http://sketchapp.com. It has a free trial period of 14 days. Figma is similar to Sketch and can be used without a trial.
This is what our design looks like:
Our home page design
Without further ado, let's get started!

Installing HTML Boilerplate

We're going to start a fresh, so let's create a new file for this project. What I like to do when I start a project is download an HTML Boilerplate. HTML5 Boilerplate is a frontend template, created to help you build fast, robust, and adaptable web apps or sites. You basically download one package, and it contains all the files you need to start a project.
Let's go to https://html5boilerplate.com/ to download the latest version of the template:
Click on Download v6.0.1 or higher.
Let's have a look at what's inside our package:
There are plenty of files in the folder. What we can see is that it contains all the essential files a website needs to work properly:
  • index.html: Our home page, the page where the user will land upon going to your website
  • The css folder: A folder for all our CSS files
  • The img folder: A folder for all our images
  • The js folder: A folder for all our JS files
  • favicon.ico: An icon that shows up at the left corner of a tab of a browser that indicates to the user that they're on your website, usually your logo
  • 404.html: An HTML page for users who landed on an incorrect URL
The rest of the files are not so important for us to understand at the moment; we will review them in an upcoming chapter.
Let's rename our folder to make it our own, for example, Web Project.

Editing index.html

Let's now open our folder in Atom; click on Menu | Open
 | and select our Web Project folder.
Select index.html from the left panel. You can see the HTML document and what it contains:
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="manifest" href="site.webmanifest">
<link rel="apple-touch-icon" href="icon.png">
<!-- Place favicon.ico in the root directory -->

<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<!--[if lte IE 9]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->

<!-- Add your site...

Table des matiĂšres