Build an app that lets users search for images using keywords and displays results dynamically.
- Search images by keyword
- Fetches images from a public API (e.g., Unsplash)
- Displays results in a grid layout
- Responsive and user-friendly interface
- Fetch API and asynchronous JavaScript
- Handling API responses and errors
- DOM manipulation
- Responsive design with CSS Grid or Flexbox
Add infinite scroll or pagination for more images.
<iframe src="https://codesandbox.io/embed/9xkmxr?view=preview&module=%2Fstyles.css"
style="width:100%; height: 500px; border:0; border-radius: 4px; overflow:hidden;"
title="image-search"
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
></iframe>