A responsive, mobile-first landing page showcasing natural landscapes.
- Started with mobile layout and progressively enhanced for wider screens
- Used CSS Grid for card layouts
-
HTML Structure
- Semantic HTML5 elements
- Proper heading hierarchy
- ARIA roles where appropriate
-
CSS Features
- Mobile-firsit media queries
- Grid layouts
- CSS animations, enhanced user experience
-
JavaScript
- Minimal JavaScript for smooth scrolling
- Event delegation
MIT License - Feel free to use in personal and commercial projects.
- Fork the repository
- Create your feature branch
- Make your changes
- Test on multiple devices
- Submit a pull request
- Optimized images using appropriate sizes
- Minimal JavaScript usage
- CSS animations for better performance
- Efficient selectors for styling
-
Responsive Images
- Challenge: Maintaining image aspect ratios across different screen sizes
- Solution: Used object-fit: cover with defined heights
-
Smooth Scrolling
- Challenge: Implementing smooth scroll behavior across browsers
- Solution: Combined CSS scroll-behavior
- Tested on latest versions of:
- Chrome
- Edge
- Add more interactive features(animation on hero banner text)
- Scroll customize
- Ensure all assets (images) are in the root directory
- Open index.html in a web browser
- No build process required (HTML, CSS, and JavaScript implementation).
Built with ❤️ by Krishna S (Waller)