Skip to content

Folarex10/Simple_Tab_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Tabs - Interactive Content Switcher | StyleSphere

Project Description

StyleSphere is an interactive front-end web application that demonstrates smooth content switching through tabbed navigation. The project was built as a collaborative learning exercise to master DOM manipulation and create a seamless user experience.

Purpose: To create an intuitive interface where users can easily navigate between different content sections without page reloads, improving user engagement and content organization.

Who is it for: This project is designed for beginners learning front-end development, educators demonstrating interactive web components, and anyone looking to implement tabbed navigation in their web applications.

The Concept: The application features a clean tab interface where clicking on different tabs instantly switches the displayed content. The active tab receives distinct styling to provide clear visual feedback, creating a smooth and professional user experience.

Goal

  • Switch between content tabs seamlessly
  • Provide visual feedback through active tab styling
  • Demonstrate DOM manipulation with vanilla JavaScript

Skills Demonstrated

  • HTML5 - Semantic structure, forms, and accessibility
  • CSS3 - Responsive design, animations, and modern styling
  • JavaScript (ES6) - DOM manipulation, event handling, form validation, and dynamic content switching

Live Demo

https://stylesspherefashion.netlify.app/

Features

Core Features

  • Smooth Tab Switching - Click tabs to instantly switch between content sections
  • Active Tab Styling - Visual highlighting of the currently active tab
  • Responsive Design - Works seamlessly on desktop, tablet, and mobile devices
  • Keyboard Accessibility - Navigate tabs using keyboard (Enter/Space keys)

Contact Tab Features

  • Interactive Contact Form with real-time validation
  • Form Validation - Client-side validation for all form fields
  • Success/Error Messages - User-friendly feedback with animations
  • Contact Information Section - Multiple ways to reach out

Technology Used

Frontend

  • HTML5 - Structure and semantics
  • CSS3 - Styling, flexbox, grid, and animations
  • JavaScript (ES6+) - Core functionality and DOM manipulation

Tools

  • Git - version control
  • Github - collaboration
  • Netlify - project hosting

How to Run the Project

Follow these steps to get the project running on your local machine:

Step 1: Clone the Repository

git clone [repository-url]

OR download the ZIP file from GitHub and extract it.

Step 2: Navigate to Project Directory

cd simple-tabs-project

Step 3: Open the Application

Simply open the index.html file in any modern web browser:

  • Double-click the index.html file
  • Or right-click and select "Open with" your preferred browser
  • Or use a live server extension in your code editor for opening the project and also to auto-refresh

Project Structure

simple-tabs-project/ │ ├── index.html # Main HTML file with tab structure ├── README.md # Project documentation │ ├── pages/ # All pages/tabs HTML files (about, contact, services) │ ├── about.html │ ├── contact.html │ └── services.html │ ├── assets/ # All images and design inspirations │ ├── designs/ │ └── images/ │ ├── styles/ # All styling and responsive design │ ├── about.css │ └── component.css │ ├── contact.css │ └── home.css │ ├── services.css │ └── js/ # JavaScript functionality and form validation ├── main.js

Team Members

NAMES

  1. Akporuovo Success
  2. Adefajo Abdus-samad
  3. ⁠Oluwasayo Alabi
  4. Adigun Olayemi
  5. Emmanuel Joel
  6. Oyelade Hamzat
  7. Anthony Michael
  8. Ismaeel Olayiwola
  9. Timothy Olaleye
  10. kolapo faridat
  11. Emmanuel Heritage

Note: This project was a collaborative effort where each team member contributed valuable insights and feedback throughout the development process.

Challenges and Lessons Learned

  1. State Management

Challenge: Keeping track of which tab was active while maintaining clean code Solution: Implemented a systematic approach using data attributes and class toggling

  1. Cross-Browser Compatibility

Challenge: Ensuring consistent behavior across different browsers Solution: Tested on multiple browsers and used standardized JavaScript methods

Key Lessons

  1. DOM Manipulation: Gained practical experience in selecting, modifying, and updating DOM elements dynamically
  2. Event Handling: Learned to manage multiple event listeners efficiently
  3. Collaborative Work: Understood the importance of clear communication and code organization in team projects

License

This project is licensed under the MIT License.

Note This project is for educational purposes only. It was created as a learning exercise to demonstrate front-end development concepts and collaborative coding practices.

Not for commercial use. Feel free to use this code as a reference for your own learning and projects, but please provide appropriate attribution.

Acknowledgments

The open-source community for continuous inspiration and learning resources

All team members who contributed their time and expertise to make this project successful

Our instructors, BJ, for his guidance throughout the development process

About

Simple tabs that switches between content after clicking each tabs of the web page

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors