A responsive medical appointment booking website inspired by Vezeeta, featuring a modern UI design optimized for both desktop and mobile devices.
This project is a healthcare platform interface that allows users to:
- Search for doctors by specialty, location, or name
- Book clinic appointments
- Schedule teleconsultation calls
- Browse medical offers and promotions
- Access pharmacy services
- Book veterinary services
Web3/
├── index.html # Main HTML file with complete page structure
├── styles.css # Primary CSS stylesheet for desktop and general styling
├── mobile-styles.css # Responsive CSS for mobile devices
├── scripte.js # JavaScript for interactivity and functionality
└── README.md # Project documentation (this file)
The main HTML document containing:
- Top navigation bar with logo and user menu
- Hero section with search form
- Tab switching interface (Doctor Booking / Telehealth)
- Service cards (Veterinary, Pharmacy, Teleconsultation, Home Visits)
- Promotional offers slider
- Specialty categories slider
- Features section
- Mobile app download section
- Quick access tags
Main stylesheet featuring:
- Custom CSS variables for consistent theming
- Topbar and navigation styling
- Hero banner with background image
- Search form and input fields design
- Card layouts and grid systems
- Slider components
- Feature sections
- Responsive breakpoints for tablets and mobile
Mobile-specific optimizations:
- Responsive slider layouts
- Touch-friendly button sizing
- Optimized spacing for small screens
- Adjusted font sizes and containers
Interactive functionality including:
- Tab switching between booking types
- Search form validation and handling
- Mobile menu optimization
- Touch event handling for mobile devices
- Toast notification system
- Form validation helpers (email, phone)
- Performance monitoring
- Error handling and logging
- Smart Search: Multi-criteria search (specialty, city, area, doctor name)
- Tab Switching: Toggle between clinic visits and teleconsultations
- Responsive Design: Fully optimized for desktop, tablet, and mobile
- Touch Optimization: Enhanced touch targets for mobile usability
- Toast Notifications: User-friendly feedback messages
- Custom logo design with accent styling
- Icon-based navigation
- Interactive cards and banners
- Horizontal scrolling sliders
- Call-to-action buttons
- Promotional discount badges
-
Color Scheme:
- Primary Blue:
#0070cd - Primary Red:
#ea2027 - Light Background:
#eef4f8 - Text Color:
#333
- Primary Blue:
-
Typography: Tajawal font family (Google Fonts)
-
Icons: Font Awesome 6.5.1 + Icons8
-
Animations: Smooth transitions and slide effects
- HTML5: Semantic markup
- CSS3: Modern layouts with Flexbox and Grid
- JavaScript (ES6): Vanilla JS with modern features
- Google Fonts: Tajawal Arabic font
- Font Awesome: Icon library
- Icons8: Additional icon resources
- Desktop: 900px and above
- Tablet: 768px - 900px
- Mobile: 480px - 768px
- Small Mobile: Below 480px
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Mobile browsers (iOS Safari, Chrome Mobile)
-
Clone or download the project files
git clone [repository-url] cd Web3 -
Open the project
- Simply open
index.htmlin your web browser - Or use a local server (recommended):
# Using Python python -m http.server 8000 # Using Node.js http-server npx http-server
- Simply open
-
Access the website
- Direct: Open
index.htmlin browser - Local server: Visit
http://localhost:8000
- Direct: Open
- Select one of the tabs (Doctor Booking / Telehealth)
- Fill in search criteria:
- Select a medical specialty
- Choose your city
- Select your area
- Or search by doctor/hospital name
- Click the red "Search" button
- Tabs: Click to switch between booking and telehealth
- Cards: Clickable service cards with hover effects
- Sliders: Horizontal scroll for offers and specialties
- Buttons: All CTAs are interactive with feedback
- Form validation before submission
- Email and phone format validation
- Error handling with user-friendly messages
- XSS prevention through proper escaping
- Optimized asset loading
- Debounced resize events
- Performance monitoring built-in
- Load time tracking (check console)
- Global error catching
- Unhandled promise rejection handling
- Console logging for debugging
- User-friendly error messages via toast notifications
- Backend API integration
- User authentication system
- Real doctor database
- Booking confirmation system
- Payment gateway integration
- Email/SMS notifications
- User dashboard
- Review and rating system
- Multi-language support (Arabic/English)
- Advanced filters and sorting
For questions or support, please contact:
- Email: [email protected]
- Phone: 16676 (as shown on website)
This project is created for educational purposes.
initializeApp(): Initializes all components on page loadsetupTabSwitching(): Handles tab click eventssetupSearchForm(): Manages search functionalityhandleSearch(): Validates and processes search queriesshowMessage(): Displays toast notificationssetupTouchOptimization(): Enhances mobile touch experiencedebounce(): Performance optimization for eventsvalidateEmail(): Email format validationvalidatePhone(): Phone number validation
- Root variables for consistent theming
- Mobile-first approach in
mobile-styles.css - BEM-like naming conventions
- Modular component styling
- Reusable utility classes
- Design inspiration: Vezeeta.com
- Icons: Font Awesome & Icons8
- Fonts: Google Fonts (Tajawal)
- Images: Demo images from various sources
Version: 1.0.0
Last Updated: December 31, 2025
Status: Active Development