| name | frontend-guide |
| description | Comprehensive frontend development guide covering HTML, CSS, JavaScript, TypeScript, React, Vue, Angular, and modern web technologies. Use when working on frontend development, web applications, or UI/UX implementation. |
| sasmp_version | 1.3.0 |
| bonded_agent | 01-frontend-specialist |
| bond_type | PRIMARY_BOND |
| eqhm_enabled | true |
Frontend Development Guide
Master modern frontend development with comprehensive learning resources and best practices.
Quick Start
Start your frontend journey based on your experience level:
Beginners
- Learn HTML fundamentals - semantic markup, forms, accessibility
- Master CSS - layout (Flexbox, Grid), responsive design, animations
- JavaScript basics - variables, functions, DOM manipulation, async/await
- Git and version control
- Deploy first project to GitHub Pages
<!-- Semantic HTML5 Example -->
<header>
<nav>Navigation</nav>
</header>
<main>
<article>
<h1>Article Title</h1>
<p>Content here</p>
</article>
</main>
<footer>Footer content</footer>
Intermediate
- Modern JavaScript (ES6+) - classes, modules, promises
- Learn a framework (React, Vue, or Angular)
- State management (Context API, Redux, Vuex)
- API integration with REST and GraphQL
- Testing (Jest, Vitest, Cypress)
- Build tools (Webpack, Vite)
// React Hooks Example
import { useState, useEffect } from 'react';
function TodoList() {
const [todos, setTodos] = useState([]);
useEffect(() => {
// Fetch todos on component mount
fetchTodos();
}, []);
return (
<ul>
{todos.map(todo => <li key={todo.id}>{todo.title}</li>)}
</ul>
);
}
Advanced
- Next.js/Vue Nuxt for SSR and static generation
- TypeScript for type-safe code
- Advanced state management patterns
- Performance optimization (code splitting, lazy loading)
- Web performance APIs
- Progressive Web Apps (PWA)
- Design systems and component libraries
Technology Stack Overview
Core Technologies
- HTML5: Semantic markup, forms, APIs
- CSS3: Flexbox, Grid, animations, transitions
- JavaScript/TypeScript: ES6+, async patterns
Popular Frameworks
- React: Component-based, JSX, hooks, ecosystem
- Vue: Progressive framework, simple API, great docs
- Angular: Enterprise framework, full-featured, opinionated
State Management
- React: Context API, Redux, Zustand, Jotai
- Vue: Vuex, Pinia (recommended)
- Angular: RxJS, NgRx
Build Tools & Package Managers
- npm: Default package manager
- Yarn/pnpm: Alternative package managers
- Webpack: Module bundler
- Vite: Modern, fast build tool
- Turbopack: High-performance bundler
Testing Tools
- Jest: JavaScript testing framework
- Vitest: Vite-native unit testing
- Cypress: E2E testing
- Playwright: Cross-browser testing
- Testing Library: Component testing
Learning Resources
Official Documentation
- MDN Web Docs - Authoritative reference
- React Documentation - React official docs
- Vue Documentation - Vue official docs
- Web.dev by Google - Modern web platform features
Interactive Learning
- Codecademy: Interactive courses
- FreeCodeCamp: Free comprehensive tutorials
- Frontend Masters: Advanced frontend courses
- Egghead: Focused micro-courses
Practice Projects
- Todo App - CRUD operations, state management
- Weather App - API integration, real-world data
- E-commerce Product Page - Complex UI, interactions
- Blog Platform - Full app with routing and data
- Dashboard - Data visualization, real-time updates
Performance Optimization
Key Metrics
- Lighthouse Score (SEO, Performance, Accessibility)
- Core Web Vitals (LCP, FID, CLS)
- Time to Interactive (TTI)
Optimization Techniques
- Code splitting and lazy loading
- Image optimization (WebP, responsive images)
- Minification and tree-shaking
- Service workers and caching strategies
- CSS-in-JS optimization
- Component memoization
Accessibility (A11y)
WCAG Guidelines
- Semantic HTML
- ARIA labels and roles
- Keyboard navigation
- Color contrast ratios
- Screen reader compatibility
Deployment
Static Hosting
- Vercel - Best for Next.js and frameworks
- Netlify - Simple deployment
- GitHub Pages - Free static hosting
Full-Stack Hosting
- AWS Amplify
- Firebase Hosting
- DigitalOcean
Next Steps
- Choose a framework that resonates with you
- Build 3-5 substantial projects
- Contribute to open-source frontend projects
- Learn testing and best practices
- Explore advanced topics (performance, architecture)
Roadmap.sh Reference: https://roadmap.sh/frontend
Status: ✅ Production Ready | SASMP: v1.3.0 | Bonded Agent: 01-frontend-specialist