Huxaifa Landing Page - HTML Portfolio
Documentation for Huxaifah Landing Page Overview This project is a personal portfolio landing page for Huzaifa Aleem, showcasing his web development, UI/UX design, and digital product design services. The landing page is fully responsive and features multiple sections, including services, portfolio, pricing, blog, testimonials, and contact. Technologies Used β’ HTML5 for structure β’ CSS3 for styling β’ JavaScript (Vanilla JS) for interactivity β’ Font Awesome for icons β’ AOS (Animate On Scroll) for animations ________________________________________ File Structure β’ index.html β The main HTML file β’ styles.css β External CSS file for styling β’ images/ β Directory containing images used in the project β’ AOS Library β External animation library ________________________________________ Sections Breakdown 1. Header Section β’ Contains a logo placeholder. β’ Navigation menu with links to different sections. β’ Hamburger menu for mobile view. β’ Contact information. 2. Main Content Section β’ Introduction text. β’ Call-to-action (CTA) button. β’ Profile image. 3. Services Section β’ Lists different services using service cards. β’ Uses Font Awesome icons for visual representation. β’ Uses AOS animations for fade-up effects. 4. About Section β’ Personal information including birthday, phone, city, and degree. β’ A short bio about the developer. β’ Uses a profile image and bullet-pointed info. 5. Skills Section β’ Displays technical skills using progress bars. β’ JavaScript dynamically applies percentage-based width to skill bars. 6. Portfolio Section β’ Showcases past projects with images and overlays. β’ Each project has a title and interactive plus button. 7. Pricing Section β’ Displays different service plans: Basic, Standard, and Premium. β’ Includes pricing, features, and an order button. 8. Blog Section β’ Displays blog articles with images, descriptions, and metadata (date and comments). 9. Testimonial Section β’ Dynamic testimonial slider. β’ Uses JavaScript to update content dynamically when users click next/prev buttons. 10. Contact Section β’ Displays contact details (phone, email, address). β’ Includes a contact form for user messages. 11. Footer Section β’ Contains social media links. β’ Privacy, Terms, FAQs, and Help links. β’ Credits for design and development. ________________________________________ JavaScript Functionality 1. Toggle Navigation Menu (Mobile View) function toggleMenu() { document.querySelector(".nav").classList.toggle("active"); } β’ This function toggles the navigation menu in mobile view when clicking the hamburger icon. 2. Skill Bar Animation document.addEventListener("DOMContentLoaded", () => { const skills = document.querySelectorAll('.skill-bar div'); skills.forEach(skill => { const className = skill.classList[0]; let percentage = 0; switch (className) { case 'html': percentage = 95; break; case 'css': percentage = 90; break; case 'javascript': percentage = 45; break; case 'laravel': percentage = 80; break; case 'php': percentage = 90; break; case 'wordpress': percentage = 85; break; } setTimeout(() => { skill.style.width = percentage + '%'; }, 500); }); }); β’ Dynamically applies width percentages to progress bars for a smooth loading effect. 3. Testimonial Slider const testimonials = [ { text: "Brook presents your services...", name: "Jacson Miller", role: "Web Designer", image: "images/t1.jpg" }, { text: "This platform provides exceptional tools...", name: "Emily Johnson", role: "UX Designer", image: "images/t1.jpg" }, { text: "A fantastic solution for designers...", name: "David Smith", role: "Product Designer", image: "images/t1.jpg" } ]; let currentTestimonial = 0;
Created Mar 10, 2025