Challenge: Building a Site from a Provided Design
Master HTML CSS Through Practical Design Implementation
This tutorial takes a practical approach by providing designs and assets while letting you figure out the implementation details independently.
Working without step-by-step instructions mirrors real-world development scenarios where you must interpret designs and make implementation decisions independently.
Project Assets Breakdown
NAPS Website Asset Structure
Images Folder
Contains hi-resolution Retina quality photos and the NAPS logo, pre-optimized for web use. Ready for direct implementation in your website.
Design Files
Both PSD and JPEG formats provided for maximum accessibility. Photoshop files allow detailed inspection of design specifications.
Content Package
Complete text content for all four pages plus copyright information. Eliminates content creation so you can focus on coding.
Development Workflow
Start with Homepage
Begin by building the homepage first as it typically contains the core design patterns and components you'll reuse across other pages.
Inspect Design Files
Open PSD files in Photoshop to examine element specifications, or refer to JPEG designs and use the provided style guide below.
Implement Typography System
Set up the Lato font family and establish the heading, paragraph, and navigation styles according to the specifications.
Build Remaining Pages
Apply learned patterns from the homepage to create consistent styling across all four pages of the NAPS website.
Typography Specifications
Navigation and Headings
Primary blue color (#00b0dc) with darker blue (#009bc2) for navigation borders. Creates visual hierarchy and brand consistency.
Heading Styles
H1 uses Lato Bold at 34px with 41px line-height. H2 uses Lato Bold at 28px with 34px line-height for proper scaling.
Body Text System
Regular paragraphs use Lato Regular 17px with 29px line-height. Large paragraphs use Lato Light 24px with 36px line-height.
Pre-Development Checklist
Familiarize yourself with available images, designs, and text content
Decide between using PSD files for detailed specs or JPEG files with provided measurements
Organize your HTML, CSS, and assets in a logical directory structure
Include Regular, Light, and Bold weights to match the design specifications
Key Takeaways
