Skip to content

fix: add .input-label CSS selector dot for Array/Target labels#760

Merged
steam-bell-92 merged 1 commit into
steam-bell-92:mainfrom
C4aZy:feature/binary-search-game
May 25, 2026
Merged

fix: add .input-label CSS selector dot for Array/Target labels#760
steam-bell-92 merged 1 commit into
steam-bell-92:mainfrom
C4aZy:feature/binary-search-game

Conversation

@C4aZy
Copy link
Copy Markdown
Contributor

@C4aZy C4aZy commented May 25, 2026

📝 Description

Added Array and Target labels above the input fields in the Binary Search Visualizer to improve UI clarity. Previously, the inputs had no context labels, making it unclear what each field was for — especially for new users.
Changes made:

Wrapped each input in an .input-group div
Added an .input-label element above each input (Array and Target)
Added CSS for .input-group and .input-label in the style block
Fixed missing . in .input-label CSS selector
Screenshot 2026-05-25 at 10 54 07 PM

🔗 Linked Issue

Closes #750


📋 Contribution Checklist

  • My code strictly adheres to the project guidelines (Standard library only, procedural code, clean spacing).
  • I have verified that my files are placed in the correct directory.
  • I have tested my changes thoroughly on my local machine.
  • I have included interactive emojis and clean console/UI outputs.
  • GSSoC 2026: I have been formally assigned to this issue and noted it above.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 25, 2026

@C4aZy is attempting to deploy a commit to the Anuj's projects Team on Vercel.

A member of the Team first needs to authorize it.

@C4aZy
Copy link
Copy Markdown
Contributor Author

C4aZy commented May 25, 2026

@steam-bell-92 please review

@steam-bell-92 steam-bell-92 merged commit a39affe into steam-bell-92:main May 25, 2026
11 of 15 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

ghost commented May 25, 2026

🎉 Thank you for your contribution!

Your Pull Request has been merged successfully.

We appreciate the time and effort you put into improving this project. Contributions like yours help the repository grow and stay useful for everyone.

If you'd like to contribute again, please check the open issues and make sure you are assigned before opening another Pull Request.

Thanks again for your support! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

💡 [Feature]: Add UI labels to clarify the number list and target value in the binary search game

2 participants