SlideShare a Scribd company logo
Sample
A guide to help you achieve
code consistency that adheres
to best practices.
Web Design Primer
Get Your Copy
View Packages
Web Design Primer   Bootstrap 4 Quick Start v.1.0.0 - bootstrapcreative.com : 2
© 2017 Jacob Lett. All Rights Reserved.
Please do not distribute or share without permission. You have permission to print pages but please do not try and sell it.
If you have questions email me at jacoblett@bootstrapcreative.com.
CONTENTS
1. What is a URL?
2. Naming Conventions
3. Project Folder Structure
4. Code Guide
5. Images Guide
6. Things I wish I Knew Upfront
Web Design Primer Project Folder Structure  Bootstrap 4 Quick Start v.1.0.0 - bootstrapcreative.com : 9
 contact 1
	  index.php 2
 css 4
	  main.css 32
 partials 8
	  aside.php 9
 js 15
	  vendor 16
		 plugin.js 17
	  main.js 18
 static 19
	  fonts 20
	  img 21
	  pdf 22
 .gitignore 23
 .htaccess 24
 README.md 26
 humans.txt 28
 index.php 29
 robots.txt 31
Figure 2: Project Folder - PHP
Common Project
Folder Structures
You have a lot of freedom when it comes
to naming files and folders for your project.
However there are some common naming
conventions that can help keep your projects
organized and minimize any confusion when
working with another designer.
Figure 1 shows a site using PHP and node.js to
compile Sass. The project is hosted on GitHub
pages.
Figure 2 shows a static HTML site. The project
is hosted on GitHub pages.
Below are descriptions for each file and folder in
these different types of projects.
1.	A subdirectory of your main site. The
URL for this would be www.yourdomain.
contact/
Web Design Primer Code Guide  Bootstrap 4 Quick Start v.1.0.0 - bootstrapcreative.com : 15
CSS Rule Set
A rule set is a single section of CSS including
the selector, the curly braces, and the different
lines with properties and values. The code in
the example below comprises one rule set:
.btn {
display: inline-block;
padding: .5rem 1rem;
border-radius: .25rem;
border: 1px solid;
}
Selector
Value
Curly Braces
Declaration Block
Property
Web Design Primer Images Guide  Bootstrap 4 Quick Start v.1.0.0 - bootstrapcreative.com : 24
JPG GIF PNG8 PNG32 SVG
Characteristics
•	 Raster
•	 Lossy 1
When to Use
•	 Photographs
with a lot of
colors, shapes,
and forms.
•	 Good with
gradients to
lessen banding
Characteristics
•	 Raster
•	 Some
Transparency 2
When to Use
•	 Animations
•	 Solid colors,
symbols, and
line artwork
•	 Web banners
Characteristics
•	 Raster
•	 Some
Transparency 2
•	 Lossless
When to Use
•	 Solid colors,
symbols, and
line artwork
Characteristics
•	 Raster
•	 Full
Transparency
•	 Lossless
When to Use
•	 When you want
a jpeg with
transparency
Characteristics
•	 Vector
•	 Transparency
When to Use
•	 Icons, logos,
text that you
want to be
high quality on
retina displays
1.	Lossless and lossy compression are terms that describe whether or not, in the compression
of a file, all original data can be recovered when the file is uncompressed.
2.	1-bit transparency. Pixels are either solid or completely transparent, but never partially
see-through.
Ad

Recommended

Responsive Web Design Tutorial PDF for Beginners
Responsive Web Design Tutorial PDF for Beginners
Bootstrap Creative
 
CSS Grid Changes Everything - Keynote at WebCamp Zagreb 2017
CSS Grid Changes Everything - Keynote at WebCamp Zagreb 2017
Morten Rand-Hendriksen
 
Learn Bootstrap 4
Learn Bootstrap 4
Vinny Vessel
 
How to Build Custom WordPress Blocks
How to Build Custom WordPress Blocks
Morten Rand-Hendriksen
 
Building the next generation of themes with WP Rig 2.0
Building the next generation of themes with WP Rig 2.0
Morten Rand-Hendriksen
 
Stop reinventing the wheel: Build Responsive Websites Using Bootstrap
Stop reinventing the wheel: Build Responsive Websites Using Bootstrap
freshlybakedpixels
 
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
Bootstrap Creative
 
Web Development for UX Designers
Web Development for UX Designers
Ashlimarie
 
Introduction to Bootstrap: Design for Developers
Introduction to Bootstrap: Design for Developers
Melvin John
 
Bootstrap 3 Basic - Bangkok WordPress Meetup
Bootstrap 3 Basic - Bangkok WordPress Meetup
Woratana Perth Ngarmtrakulchol
 
Intro To Twitter Bootstrap
Intro To Twitter Bootstrap
Ahmed Haque
 
Bootstrap ppt
Bootstrap ppt
Ishtdeep Hora
 
Bootstrap tutorial
Bootstrap tutorial
vijaypatel_b
 
CSS Lessons Learned the Hard Way (Generate Conf)
CSS Lessons Learned the Hard Way (Generate Conf)
Zoe Gillenwater
 
Introduction to Bootstrap
Introduction to Bootstrap
Collaboration Technologies
 
Bootstrap Introduction
Bootstrap Introduction
Andrea Tarr
 
Teams, styles and scalable applications
Teams, styles and scalable applications
Vittorio Vittori
 
Css3
Css3
Bronson Quick
 
Responsive Web Design for Universal Access 2016
Responsive Web Design for Universal Access 2016
Kate Walser
 
Test-proof CSS
Test-proof CSS
Vittorio Vittori
 
Introduction to Bootstrap
Introduction to Bootstrap
Ron Reiter
 
Introduction to Twitter's Bootstrap 2
Introduction to Twitter's Bootstrap 2
Julien Renaux
 
Bootstrap 4 n00bz
Bootstrap 4 n00bz
Laurence Bradford
 
Design Systems, Pattern Libraries & WordPress
Design Systems, Pattern Libraries & WordPress
Jesse James Arnold
 
Dayton word press meetup
Dayton word press meetup
Dustin Hartzler
 
Improving the Responsive Web Design Process in 2016
Improving the Responsive Web Design Process in 2016
Cristina Chumillas
 
Responsive web-design through bootstrap
Responsive web-design through bootstrap
Zunair Sagitarioux
 
Twitter bootstrap 101
Twitter bootstrap 101
bootstraptutor
 
Services Factory Provider Value Constant - AngularJS
Services Factory Provider Value Constant - AngularJS
Sumanth krishna
 
Single page application 04
Single page application 04
Ismaeel Enjreny
 

More Related Content

What's hot (20)

Introduction to Bootstrap: Design for Developers
Introduction to Bootstrap: Design for Developers
Melvin John
 
Bootstrap 3 Basic - Bangkok WordPress Meetup
Bootstrap 3 Basic - Bangkok WordPress Meetup
Woratana Perth Ngarmtrakulchol
 
Intro To Twitter Bootstrap
Intro To Twitter Bootstrap
Ahmed Haque
 
Bootstrap ppt
Bootstrap ppt
Ishtdeep Hora
 
Bootstrap tutorial
Bootstrap tutorial
vijaypatel_b
 
CSS Lessons Learned the Hard Way (Generate Conf)
CSS Lessons Learned the Hard Way (Generate Conf)
Zoe Gillenwater
 
Introduction to Bootstrap
Introduction to Bootstrap
Collaboration Technologies
 
Bootstrap Introduction
Bootstrap Introduction
Andrea Tarr
 
Teams, styles and scalable applications
Teams, styles and scalable applications
Vittorio Vittori
 
Css3
Css3
Bronson Quick
 
Responsive Web Design for Universal Access 2016
Responsive Web Design for Universal Access 2016
Kate Walser
 
Test-proof CSS
Test-proof CSS
Vittorio Vittori
 
Introduction to Bootstrap
Introduction to Bootstrap
Ron Reiter
 
Introduction to Twitter's Bootstrap 2
Introduction to Twitter's Bootstrap 2
Julien Renaux
 
Bootstrap 4 n00bz
Bootstrap 4 n00bz
Laurence Bradford
 
Design Systems, Pattern Libraries & WordPress
Design Systems, Pattern Libraries & WordPress
Jesse James Arnold
 
Dayton word press meetup
Dayton word press meetup
Dustin Hartzler
 
Improving the Responsive Web Design Process in 2016
Improving the Responsive Web Design Process in 2016
Cristina Chumillas
 
Responsive web-design through bootstrap
Responsive web-design through bootstrap
Zunair Sagitarioux
 
Twitter bootstrap 101
Twitter bootstrap 101
bootstraptutor
 
Introduction to Bootstrap: Design for Developers
Introduction to Bootstrap: Design for Developers
Melvin John
 
Intro To Twitter Bootstrap
Intro To Twitter Bootstrap
Ahmed Haque
 
Bootstrap tutorial
Bootstrap tutorial
vijaypatel_b
 
CSS Lessons Learned the Hard Way (Generate Conf)
CSS Lessons Learned the Hard Way (Generate Conf)
Zoe Gillenwater
 
Bootstrap Introduction
Bootstrap Introduction
Andrea Tarr
 
Teams, styles and scalable applications
Teams, styles and scalable applications
Vittorio Vittori
 
Responsive Web Design for Universal Access 2016
Responsive Web Design for Universal Access 2016
Kate Walser
 
Introduction to Bootstrap
Introduction to Bootstrap
Ron Reiter
 
Introduction to Twitter's Bootstrap 2
Introduction to Twitter's Bootstrap 2
Julien Renaux
 
Design Systems, Pattern Libraries & WordPress
Design Systems, Pattern Libraries & WordPress
Jesse James Arnold
 
Dayton word press meetup
Dayton word press meetup
Dustin Hartzler
 
Improving the Responsive Web Design Process in 2016
Improving the Responsive Web Design Process in 2016
Cristina Chumillas
 
Responsive web-design through bootstrap
Responsive web-design through bootstrap
Zunair Sagitarioux
 

Viewers also liked (6)

Services Factory Provider Value Constant - AngularJS
Services Factory Provider Value Constant - AngularJS
Sumanth krishna
 
Single page application 04
Single page application 04
Ismaeel Enjreny
 
[Basic HTML/CSS] 5. css - selector, units
[Basic HTML/CSS] 5. css - selector, units
Hyejin Oh
 
Introdução a CSS
Introdução a CSS
Tiago Santos
 
Front End Best Practices
Front End Best Practices
Holger Bartel
 
CSS Grid Changes Everything About Web Layouts: WordCamp Europe 2017
CSS Grid Changes Everything About Web Layouts: WordCamp Europe 2017
Morten Rand-Hendriksen
 
Services Factory Provider Value Constant - AngularJS
Services Factory Provider Value Constant - AngularJS
Sumanth krishna
 
Single page application 04
Single page application 04
Ismaeel Enjreny
 
[Basic HTML/CSS] 5. css - selector, units
[Basic HTML/CSS] 5. css - selector, units
Hyejin Oh
 
Introdução a CSS
Introdução a CSS
Tiago Santos
 
Front End Best Practices
Front End Best Practices
Holger Bartel
 
CSS Grid Changes Everything About Web Layouts: WordCamp Europe 2017
CSS Grid Changes Everything About Web Layouts: WordCamp Europe 2017
Morten Rand-Hendriksen
 
Ad

Similar to Web Design Primer Sample - HTML CSS JS (20)

Front-end style guides - fronteers @ WHITE (30/08/12)
Front-end style guides - fronteers @ WHITE (30/08/12)
Stijn Janssen
 
Create Your Own Starter Files
Create Your Own Starter Files
Emily Lewis
 
Html & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshop
Vero Rebagliatte
 
Beginning CSS.
Beginning CSS.
dhruvgairola
 
CSS Systems
CSS Systems
Natalie Downe
 
A complete html and css guidelines for beginners
A complete html and css guidelines for beginners
Surendra kumar
 
CSS Basics
CSS Basics
Nitin Bhide
 
How to ensure a long life span for a website?
How to ensure a long life span for a website?
Teemu Suoranta
 
Simply Responsive CSS3
Simply Responsive CSS3
Denise Jacobs
 
Authoring Stylesheets with Compass & Sass
Authoring Stylesheets with Compass & Sass
chriseppstein
 
CSS3: Ripe and Ready
CSS3: Ripe and Ready
Denise Jacobs
 
Coding for Designers
Coding for Designers
Milly Schmidt
 
RWD
RWD
Milly Schmidt
 
Lesson 111 24 aug13-1430-ay
Lesson 111 24 aug13-1430-ay
Codecademy Ren
 
CSS3 - is everything we used to do wrong?
CSS3 - is everything we used to do wrong?
Russ Weakley
 
The Non-designer's Guide to WordPress (Making Your Site Awesome)
The Non-designer's Guide to WordPress (Making Your Site Awesome)
Mykl Roventine
 
Web designtrends 1wd
Web designtrends 1wd
Prima Utama Apriansyah
 
Web designtrends
Web designtrends
Tafu Norido
 
The Non-Designer’s Guide to WordPress (Making Your Site Look Awesome)
The Non-Designer’s Guide to WordPress (Making Your Site Look Awesome)
Mykl Roventine
 
HTML CSS & Javascript
HTML CSS & Javascript
David Lindkvist
 
Front-end style guides - fronteers @ WHITE (30/08/12)
Front-end style guides - fronteers @ WHITE (30/08/12)
Stijn Janssen
 
Create Your Own Starter Files
Create Your Own Starter Files
Emily Lewis
 
Html & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshop
Vero Rebagliatte
 
A complete html and css guidelines for beginners
A complete html and css guidelines for beginners
Surendra kumar
 
How to ensure a long life span for a website?
How to ensure a long life span for a website?
Teemu Suoranta
 
Simply Responsive CSS3
Simply Responsive CSS3
Denise Jacobs
 
Authoring Stylesheets with Compass & Sass
Authoring Stylesheets with Compass & Sass
chriseppstein
 
CSS3: Ripe and Ready
CSS3: Ripe and Ready
Denise Jacobs
 
Coding for Designers
Coding for Designers
Milly Schmidt
 
Lesson 111 24 aug13-1430-ay
Lesson 111 24 aug13-1430-ay
Codecademy Ren
 
CSS3 - is everything we used to do wrong?
CSS3 - is everything we used to do wrong?
Russ Weakley
 
The Non-designer's Guide to WordPress (Making Your Site Awesome)
The Non-designer's Guide to WordPress (Making Your Site Awesome)
Mykl Roventine
 
Web designtrends
Web designtrends
Tafu Norido
 
The Non-Designer’s Guide to WordPress (Making Your Site Look Awesome)
The Non-Designer’s Guide to WordPress (Making Your Site Look Awesome)
Mykl Roventine
 
Ad

More from Bootstrap Creative (9)

A Beginner’s Guide to HubSpot CMS - Make a Website for Your Business With No ...
A Beginner’s Guide to HubSpot CMS - Make a Website for Your Business With No ...
Bootstrap Creative
 
Web Development Tutorial Workshop for Beginners - Learn Responsive Web Design...
Web Development Tutorial Workshop for Beginners - Learn Responsive Web Design...
Bootstrap Creative
 
Bootstrap 4 Online Training Course Book Sample
Bootstrap 4 Online Training Course Book Sample
Bootstrap Creative
 
CSS Cheat Sheet Reference PDF
CSS Cheat Sheet Reference PDF
Bootstrap Creative
 
Bootstrap 3 Cheat Sheet PDF Reference
Bootstrap 3 Cheat Sheet PDF Reference
Bootstrap Creative
 
Michigan Digital Marketing SEO
Michigan Digital Marketing SEO
Bootstrap Creative
 
Graphic Design Portfolio of Detroit Michigan Web Designer Jacob Lett
Graphic Design Portfolio of Detroit Michigan Web Designer Jacob Lett
Bootstrap Creative
 
Web Design Portfolio of Detroit Michigan Web Designer Jacob Lett
Web Design Portfolio of Detroit Michigan Web Designer Jacob Lett
Bootstrap Creative
 
Graphic Design Career Summary Presentation
Graphic Design Career Summary Presentation
Bootstrap Creative
 
A Beginner’s Guide to HubSpot CMS - Make a Website for Your Business With No ...
A Beginner’s Guide to HubSpot CMS - Make a Website for Your Business With No ...
Bootstrap Creative
 
Web Development Tutorial Workshop for Beginners - Learn Responsive Web Design...
Web Development Tutorial Workshop for Beginners - Learn Responsive Web Design...
Bootstrap Creative
 
Bootstrap 4 Online Training Course Book Sample
Bootstrap 4 Online Training Course Book Sample
Bootstrap Creative
 
Bootstrap 3 Cheat Sheet PDF Reference
Bootstrap 3 Cheat Sheet PDF Reference
Bootstrap Creative
 
Michigan Digital Marketing SEO
Michigan Digital Marketing SEO
Bootstrap Creative
 
Graphic Design Portfolio of Detroit Michigan Web Designer Jacob Lett
Graphic Design Portfolio of Detroit Michigan Web Designer Jacob Lett
Bootstrap Creative
 
Web Design Portfolio of Detroit Michigan Web Designer Jacob Lett
Web Design Portfolio of Detroit Michigan Web Designer Jacob Lett
Bootstrap Creative
 
Graphic Design Career Summary Presentation
Graphic Design Career Summary Presentation
Bootstrap Creative
 

Recently uploaded (20)

Security Tips for Enterprise Azure Solutions
Security Tips for Enterprise Azure Solutions
Michele Leroux Bustamante
 
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
Safe Software
 
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
Muhammad Rizwan Akram
 
“From Enterprise to Makers: Driving Vision AI Innovation at the Extreme Edge,...
“From Enterprise to Makers: Driving Vision AI Innovation at the Extreme Edge,...
Edge AI and Vision Alliance
 
Artificial Intelligence in the Nonprofit Boardroom.pdf
Artificial Intelligence in the Nonprofit Boardroom.pdf
OnBoard
 
“Key Requirements to Successfully Implement Generative AI in Edge Devices—Opt...
“Key Requirements to Successfully Implement Generative AI in Edge Devices—Opt...
Edge AI and Vision Alliance
 
Mastering AI Workflows with FME - Peak of Data & AI 2025
Mastering AI Workflows with FME - Peak of Data & AI 2025
Safe Software
 
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Alliance
 
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
Edge AI and Vision Alliance
 
Murdledescargadarkweb.pdfvolumen1 100 elementary
Murdledescargadarkweb.pdfvolumen1 100 elementary
JorgeSemperteguiMont
 
Kubernetes Security Act Now Before It’s Too Late
Kubernetes Security Act Now Before It’s Too Late
Michael Furman
 
National Fuels Treatments Initiative: Building a Seamless Map of Hazardous Fu...
National Fuels Treatments Initiative: Building a Seamless Map of Hazardous Fu...
Safe Software
 
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Alliance
 
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance
 
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Impelsys Inc.
 
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
 
The State of Web3 Industry- Industry Report
The State of Web3 Industry- Industry Report
Liveplex
 
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
NTT DATA Technology & Innovation
 
High Availability On-Premises FME Flow.pdf
High Availability On-Premises FME Flow.pdf
Safe Software
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
Security Tips for Enterprise Azure Solutions
Security Tips for Enterprise Azure Solutions
Michele Leroux Bustamante
 
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
Safe Software
 
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
Muhammad Rizwan Akram
 
“From Enterprise to Makers: Driving Vision AI Innovation at the Extreme Edge,...
“From Enterprise to Makers: Driving Vision AI Innovation at the Extreme Edge,...
Edge AI and Vision Alliance
 
Artificial Intelligence in the Nonprofit Boardroom.pdf
Artificial Intelligence in the Nonprofit Boardroom.pdf
OnBoard
 
“Key Requirements to Successfully Implement Generative AI in Edge Devices—Opt...
“Key Requirements to Successfully Implement Generative AI in Edge Devices—Opt...
Edge AI and Vision Alliance
 
Mastering AI Workflows with FME - Peak of Data & AI 2025
Mastering AI Workflows with FME - Peak of Data & AI 2025
Safe Software
 
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Alliance
 
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
Edge AI and Vision Alliance
 
Murdledescargadarkweb.pdfvolumen1 100 elementary
Murdledescargadarkweb.pdfvolumen1 100 elementary
JorgeSemperteguiMont
 
Kubernetes Security Act Now Before It’s Too Late
Kubernetes Security Act Now Before It’s Too Late
Michael Furman
 
National Fuels Treatments Initiative: Building a Seamless Map of Hazardous Fu...
National Fuels Treatments Initiative: Building a Seamless Map of Hazardous Fu...
Safe Software
 
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Alliance
 
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance
 
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Impelsys Inc.
 
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
 
The State of Web3 Industry- Industry Report
The State of Web3 Industry- Industry Report
Liveplex
 
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
NTT DATA Technology & Innovation
 
High Availability On-Premises FME Flow.pdf
High Availability On-Premises FME Flow.pdf
Safe Software
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 

Web Design Primer Sample - HTML CSS JS

  • 1. Sample A guide to help you achieve code consistency that adheres to best practices. Web Design Primer Get Your Copy View Packages
  • 2. Web Design Primer   Bootstrap 4 Quick Start v.1.0.0 - bootstrapcreative.com : 2 © 2017 Jacob Lett. All Rights Reserved. Please do not distribute or share without permission. You have permission to print pages but please do not try and sell it. If you have questions email me at [email protected]. CONTENTS 1. What is a URL? 2. Naming Conventions 3. Project Folder Structure 4. Code Guide 5. Images Guide 6. Things I wish I Knew Upfront
  • 3. Web Design Primer Project Folder Structure  Bootstrap 4 Quick Start v.1.0.0 - bootstrapcreative.com : 9  contact 1  index.php 2  css 4  main.css 32  partials 8  aside.php 9  js 15  vendor 16  plugin.js 17  main.js 18  static 19  fonts 20  img 21  pdf 22  .gitignore 23  .htaccess 24  README.md 26  humans.txt 28  index.php 29  robots.txt 31 Figure 2: Project Folder - PHP Common Project Folder Structures You have a lot of freedom when it comes to naming files and folders for your project. However there are some common naming conventions that can help keep your projects organized and minimize any confusion when working with another designer. Figure 1 shows a site using PHP and node.js to compile Sass. The project is hosted on GitHub pages. Figure 2 shows a static HTML site. The project is hosted on GitHub pages. Below are descriptions for each file and folder in these different types of projects. 1. A subdirectory of your main site. The URL for this would be www.yourdomain. contact/
  • 4. Web Design Primer Code Guide  Bootstrap 4 Quick Start v.1.0.0 - bootstrapcreative.com : 15 CSS Rule Set A rule set is a single section of CSS including the selector, the curly braces, and the different lines with properties and values. The code in the example below comprises one rule set: .btn { display: inline-block; padding: .5rem 1rem; border-radius: .25rem; border: 1px solid; } Selector Value Curly Braces Declaration Block Property
  • 5. Web Design Primer Images Guide  Bootstrap 4 Quick Start v.1.0.0 - bootstrapcreative.com : 24 JPG GIF PNG8 PNG32 SVG Characteristics • Raster • Lossy 1 When to Use • Photographs with a lot of colors, shapes, and forms. • Good with gradients to lessen banding Characteristics • Raster • Some Transparency 2 When to Use • Animations • Solid colors, symbols, and line artwork • Web banners Characteristics • Raster • Some Transparency 2 • Lossless When to Use • Solid colors, symbols, and line artwork Characteristics • Raster • Full Transparency • Lossless When to Use • When you want a jpeg with transparency Characteristics • Vector • Transparency When to Use • Icons, logos, text that you want to be high quality on retina displays 1. Lossless and lossy compression are terms that describe whether or not, in the compression of a file, all original data can be recovered when the file is uncompressed. 2. 1-bit transparency. Pixels are either solid or completely transparent, but never partially see-through.