Practical Web Design
eBook - ePub

Practical Web Design

Philippe Hong

Compartir libro
  1. 368 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

Practical Web Design

Philippe Hong

Detalles del libro
Vista previa del libro
Índice
Citas

Información del libro

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.

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Practical Web Design un PDF/ePUB en línea?
Sí, puedes acceder a Practical Web Design de Philippe Hong en formato PDF o ePUB, así como a otros libros populares de Design y Web Design. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
2018
ISBN
9781788396455
Edición
1
Categoría
Design
Categoría
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...

Índice