Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion en/beginner-projects/image-search.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,12 @@ Build an app that lets users search for images using keywords and displays resul
## Bonus Challenge
Add infinite scroll or pagination for more images.


## Live Demo
<div align="center">
<iframe src="https://codesandbox.io/embed/9xkmxr?view=preview&module=%2Fstyles.css"
Copy link

Copilot AI Oct 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CodeSandbox URL appears to be incomplete or invalid. The embed ID '9xkmxr' seems too short for a typical CodeSandbox URL format, which usually contains longer alphanumeric identifiers.

Suggested change
<iframe src="https://codesandbox.io/embed/9xkmxr?view=preview&module=%2Fstyles.css"
<iframe src="https://codesandbox.io/embed/new?view=preview&module=%2Fstyles.css"

Copilot uses AI. Check for mistakes.
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"
Copy link

Copilot AI Oct 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The iframe allows excessive permissions that are unnecessary for an image search demo. Consider limiting to only required permissions like 'allow-scripts allow-same-origin' to follow the principle of least privilege.

Suggested change
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
allow="allow-scripts; allow-same-origin"

Copilot uses AI. Check for mistakes.
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
></iframe>
</div>