se_project_aroundtheus

Project 8: Around The U.S.

Overview

Intro

This is a fun and interactive web app where you can share snapshots from your adventures around the U.S., check out other people’s posts, and even give them a “like.” You’ll have your own profile section (where you can update your name and description anytime) and a beautiful grid of photo cards that you can add to as you go.

It started out as a simple project built with HTML, CSS, JavaScript, Figma, and Git Bash — but has since been leveled up! Now it’s powered by object-oriented JavaScript, organized into modular ES6 classes, and bundled with Webpack for smooth performance, responsive styling, and easy asset management.

Key Features

- Responsive layout for desktop, tablet, and mobile.
- Editable profile information stored in the UI.
- Add new photo cards via a form modal.
- View a larger image in a popup when clicking on a card’s photo.
- Like/unlike cards.
- Form validation with real-time error messages.
- Modular code structure with separate classes for Card, FormValidator, Section, UserInfo, Popup, PopupWithForm, and PopupWithImage.
- Loosely coupled components for flexibility and maintainability.
- Webpack setup with Babel, PostCSS (Autoprefixer & CSSNano), image/font processing, and separate development/production builds.

Planned Improvements

- Refine media queries to better match the original Figma design.
- Add persistent data storage (e.g., API integration) so profile edits and cards remain after refresh.

Project Link

Video

Technologies Used

- HTML5: semantic markup structure.
- CSS3: responsive design with flexbox, grid, and media queries.
- JavaScript (ES6): object-oriented programming and modular structure.- Webpack: asset bundling, JS transpilation, and CSS/image processing.- Babel: transpiling ES6+ JavaScript for browser compatibility.
- PostCSS with Autoprefixer: automatic vendor prefixing for cross-browser compatibility.
- CSSNano: CSS minification for optimized load times.
- Git & GitHub: version control and hosting.
- Figma: design reference and layout specifications.

Getting Started

Follow these steps to run the project locally on your machine (GitBash code is italicized):

  1. Clone the repository

git clone https://github.com/AyshaA4201/se_project_aroundtheus.git

cd se_project_aroundtheus

  1. Install dependencies Make sure you have Node.js and npm installed. Then run:

npm install

  1. Run the development server This will start a local server with hot reloading:

npm run dev

  1. Build for production This will generate the dist folder with optimized files:

npm run build

  1. Open the project