Book Image

Responsive Web Design by Example : Beginner's Guide

By : Thoriq Firdaus
Book Image

Responsive Web Design by Example : Beginner's Guide

By: Thoriq Firdaus

Overview of this book

Table of Contents (16 chapters)
Responsive Web Design by Example Beginner's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – creating and organizing project directories and assets


Perform the following steps to set up the project's working directory:

  1. Go to the htdocs folder. As a reminder, this folder is the folder in the local server located at:

    • C:\xampp\htdocs in Windows

    • /Applications/XAMPP/htdocs in OSX

    • /opt/lampp/htdocs in Ubuntu

  2. Create a new folder named blog. From now on, we will refer to this folder as the project directory.

  3. Create a new folder named css to store style sheets.

  4. Create a new folder named image to store images.

  5. Create a new folder named scripts to store JavaScript files.

  6. Create a new file named index.html; this HTML file will be the main page of the blog. Download the Responsive.gs package from http://responsive.gs/. The package comes in the .zip format. Extract the package to unleash the files within the package. There, you will find a number of files, including style sheets and JavaScript files, as you can see from the following screenshot:

    The files that ship in Responsive.gs...