This is an Image Gallery application designed to help you practice your debugging skills. The application has several intentional errors in the HTML, CSS, and JavaScript files that you need to identify and fix.
When working correctly, the Image Gallery should:
- Display a grid of images with titles and descriptions
- Allow filtering images by category (All, Nature, Architecture, Animals, Food)
- Enable searching for images by title or description
- Toggle between light and dark themes
- Open a modal with a larger image view when an image is clicked
- Be responsive on different screen sizes
- Header: Title and controls (theme toggle and search)
- Filter Section: Buttons to filter images by category
- Gallery: Grid of image cards
- Modal: Expanded view of selected images
- Footer: Copyright information
- Toggle between light and dark modes using the theme switch
- Filter images by clicking category buttons
- Search for specific images using the search input
- Click on any image to view it in a larger modal
- Close the modal by clicking the X or clicking outside the modal
- Theme Toggle: Switch between light and dark color schemes
- Category Filtering: Show only images from specific categories
- Search Functionality: Find images based on their title or description
- Responsive Design: Works on desktop and mobile devices
- Image Modal: View enlarged images with details
index.html- The structure of the applicationstyles.css- The styling for the applicationapp.js- The functionality of the application
Find and fix all the errors in these files to make the application work as expected. The errors include syntax errors, logical errors, typos, and other common mistakes that developers encounter.
Good luck with your debugging practice!