# On The Beach Holidays - repaired static website

This is a repaired copy of the supplied website archive. It remains a static HTML/CSS/JavaScript demonstration and is **not connected to a live holiday booking or availability system**.

## Run locally

### Option 1: VS Code Live Server
1. Extract this ZIP.
2. Open the extracted `onthebeachholiday_fixed` folder in VS Code.
3. Open `index.html`.
4. Right-click and select **Open with Live Server**.

### Option 2: Python local server
Open a terminal in this folder and run:

```bash
python -m http.server 8000
```

Then visit `http://localhost:8000`.

### Option 3: npm
Run:

```bash
npm run preview
```

## Repairs made

- Corrected the stylesheet reference on all HTML pages from `assets/site.css` to `assets/css/site.css`.
- Corrected the missing application script reference to `assets/js/app.js` and added the missing local interaction script.
- Corrected the font URL in the stylesheet so it resolves relative to the CSS directory.
- Repaired the footer README link.
- Added fallback destination and sample-hotel pages for links that previously pointed to files absent from the archive.
- Added working mobile navigation, homepage local guide search, and destination-directory filtering/sorting.
- Checked all local HTML `src` and `href` references: no unresolved local references remain.
- Tested the local server responses for the homepage, stylesheet, JavaScript, font, image, and a generated fallback page.

## Important limitations

The archive contains a mixture of captured content and sample/demo content. Some destinations and hotel entries were not included in the original ZIP. The additional pages for those entries clearly identify themselves as archive placeholders rather than inventing prices, descriptions, or availability.

The search is a local directory lookup only. It does not query live holiday inventory, process payments, or submit bookings.

## Project structure

- `index.html` - homepage
- `assets/css/site.css` - main stylesheet
- `assets/js/app.js` - local interactions
- `assets/images/` - local image assets
- `assets/fonts/` - local font files
- `destination-*.html` and `hotel-*.html` - destination and hotel pages
