Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Practical Web Design
  • Table Of Contents Toc
  • Feedback & Rating feedback
Practical Web Design

Practical Web Design

By : Philippe Hong
2.3 (3)
close
close
Practical Web Design

Practical Web Design

2.3 (3)
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)
close
close
Title Page
PacktPub.com
Contributers
Preface
Index

Creating a weather application in VueJS


In this exercise, we will build a component that we can use to display the weather of a location in VueJS. This component will be created with a location search textbox; this will then search for http://openweathermap.org/, which is a free weather API, so we can get the information for the location-based search.

Vue Material

Let's create a simple HTML file. For this exercise, we'll not use Bootstrap but, instead, use another library and take a look at how easy it is. We'll use Vue Material, which is a library based on Google Material design. You can check it out at https://vuematerial.io/:

Vue Material

Let's head to their installation instruction by clicking on Getting started. Fortunately, they provide a CDN with a template ready to use. Let's copy their template and paste it into our HTML file:

<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <meta content="width=device-width,initial-scale=1,minimal-ui" name="viewport...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY