Skip to content

PrinceGamer2/Digital-Marketing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Explainur - Digital Marketing Hub Website

A modern, animated, single-page website for Explainur β€” a digital marketing education brand featuring 8 free browser-based tools, dark/light mode, and optimized for SEO, performance, and accessibility.

πŸš€ Live Demo

Open index.html in any modern web browser to view the site.

πŸ“ Project Structure

Digital Marketing/
β”œβ”€β”€ index.html          # Main HTML file with all sections
β”œβ”€β”€ styles.css          # Complete styling with theming support
β”œβ”€β”€ script.js           # All tools logic, animations, interactivity
β”œβ”€β”€ assets/
β”‚   └── logo.png        # Explainur logo (PNG format)
└── README.md           # This documentation

✨ Features

8 Free Marketing Tools (Client-Side)

  1. Meta Tag Generator - Generate SEO-optimized meta tags with OG support
  2. Word Counter & Reading Time - Analyze text with real-time statistics
  3. UTM Link Builder - Create trackable campaign URLs
  4. Social Media Character Counter - Platform-specific limits (Twitter, Instagram, LinkedIn, Facebook)
  5. Color Palette Generator - Create harmonious 5-color schemes
  6. Open Graph Preview - Preview social sharing cards
  7. Headline Analyzer - Score headlines for engagement
  8. Lorem Ipsum Generator - Generate placeholder text

Design Features

  • πŸŒ“ Dark/Light mode toggle with localStorage persistence
  • πŸ“± Fully responsive mobile-first design
  • ✨ Smooth scroll-triggered animations
  • 🎨 Particle background animation (performance-optimized)
  • 🎯 Animated statistics counters
  • πŸ”„ Auto-rotating testimonials carousel
  • πŸ’« Glassmorphism card effects
  • πŸ”˜ Magnetic cursor effects on CTAs

🎯 SEO Optimizations

Meta Tags

  • Comprehensive meta description (150-160 characters)
  • Open Graph tags for social sharing
  • Twitter Card meta tags
  • Canonical URL
  • Structured data (JSON-LD) for Organization schema

Semantic HTML

  • Proper heading hierarchy (H1 β†’ H2 β†’ H3)
  • Semantic elements: <header>, <nav>, <main>, <section>, <article>, <footer>
  • ARIA landmarks and labels throughout
  • Breadcrumb-ready structure

Accessibility (WCAG 2.1 AA)

  • Skip-to-content link
  • Full keyboard navigation support
  • ARIA labels and roles
  • Focus management in modals
  • Color contrast ratios meet AA standards
  • Reduced motion support (prefers-reduced-motion)
  • Screen reader optimized

⚑ Performance Optimizations

Core Web Vitals

  • LCP (Largest Contentful Paint): Optimized with preconnect hints and font display swap
  • FID (First Input Delay): Minimal JavaScript, deferred loading
  • CLS (Cumulative Layout Shift): Fixed dimensions on images, stable layouts

Loading Optimizations

  • Font preconnect for faster Google Fonts loading
  • Lazy loading on all images below the fold
  • Intersection Observer for animations (only animate visible elements)
  • Debounced scroll and input events
  • Canvas animations pause when not visible

Code Optimizations

  • Single CSS file (no external frameworks)
  • Deferred JavaScript loading
  • No external dependencies
  • Throttled event listeners
  • RequestAnimationFrame for smooth animations

File Sizes

  • HTML: ~15KB
  • CSS: ~12KB (gzipped)
  • JS: ~18KB (gzipped)
  • Total: ~45KB critical path

🎨 Technical Specifications

Browser Support

  • Chrome 80+
  • Firefox 75+
  • Safari 13+
  • Edge 80+
  • Mobile Safari (iOS 13+)
  • Chrome Mobile (Android 10+)

Technologies Used

  • HTML5 - Semantic markup
  • CSS3 - Custom properties, Grid, Flexbox, backdrop-filter
  • Vanilla JavaScript - ES6+ features, no frameworks
  • Canvas API - Particle animations
  • Intersection Observer API - Scroll animations

Responsive Breakpoints

  • Mobile: 0-767px
  • Tablet: 768px-1023px
  • Desktop: 1024px+

πŸ”§ Tools Functionality

Meta Tag Generator

  • Generates complete meta tag sets
  • Includes Open Graph and Twitter Card tags
  • One-click copy to clipboard

Word Counter

  • Real-time word count
  • Character count (with/without spaces)
  • Sentence count
  • Reading time estimation (200 WPM)

UTM Link Builder

  • Required: URL, Source, Medium
  • Optional: Campaign, Content
  • URL-encoded parameters
  • Copy-ready output

Social Media Counter

  • Platform-specific limits
  • Visual warnings at 20 chars remaining
  • Error state when over limit

Color Palette Generator

  • Harmonious color generation
  • HSL-based color math
  • One-click hex code copying
  • Keyboard accessible

OG Preview

  • Real-time preview updates
  • Facebook-style card layout
  • Title, description, URL inputs

Headline Analyzer

  • Score: 0-100 scale
  • Word count analysis (optimal: 6-12)
  • Number detection bonus
  • Power words counter
  • Emotional word detection

Lorem Ipsum Generator

  • Generate paragraphs, words, or sentences
  • 1-50 count range
  • Copy to clipboard

πŸ“± Mobile Optimizations

  • Touch-friendly button sizes (48px minimum)
  • Hamburger menu with smooth animation
  • Swipe-friendly carousel
  • Optimized particle count on mobile (15 vs 25)
  • Responsive images with srcset-ready structure
  • Viewport-optimized typography (clamp())

β™Ώ Accessibility Features

Keyboard Navigation

  • Tab order follows visual layout
  • All interactive elements keyboard accessible
  • Modal trap focus
  • Escape key closes modals

Screen Reader Support

  • Descriptive alt text
  • ARIA labels on icons
  • Live regions for dynamic content
  • Skip links

Visual Accessibility

  • High contrast mode support
  • Focus indicators on all interactive elements
  • Text zoom support (up to 200%)
  • No information conveyed by color alone

πŸš€ Deployment

Local Testing

# Simply open in browser
start index.html

# Or use a local server
python -m http.server 8000
npx serve .

Production Deployment

  1. Update absolute URLs in meta tags (og:url, canonical)
  2. Verify logo.png displays correctly
  3. Update social links in footer
  4. Configure newsletter form endpoint
  5. Add actual article images
  6. Set up analytics (Google Analytics 4)
  7. Test all tools functionality

πŸ“Š PageSpeed Insights Targets

  • Performance: 95+
  • Accessibility: 100
  • Best Practices: 100
  • SEO: 100

πŸ”’ Privacy & Security

  • No external tracking scripts
  • No cookies (except theme preference in localStorage)
  • All data processing client-side
  • No data sent to servers
  • Secure external links (noopener noreferrer)

πŸ“ License

Β© 2026 Explainur. All rights reserved.

🀝 Contributing

This is a static website. To modify:

  1. Edit HTML in index.html
  2. Update styles in styles.css
  3. Modify tool logic in script.js
  4. Test in multiple browsers
  5. Validate with W3C validators

πŸ“ž Support

For issues or questions, visit explainur.com


Built with ❀️ for digital marketers everywhere

Releases

No releases published

Packages

 
 
 

Contributors