Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search List added for components #18

Merged
merged 1 commit into from
Oct 15, 2023
Merged

Search List added for components #18

merged 1 commit into from
Oct 15, 2023

Conversation

Kris0011
Copy link
Contributor

Issue no - #13
Added some Javascript code to do searching for components

@github-actions
Copy link

Hello! 👋 Thank you @Kris0011 for your pull request!
We appreciate your contribution to "Frontend-Treasure" for Hacktoberfest. Your effort helps make our project better. 🌟
Our team will review your PR soon. In the meantime, feel free to explore more ways to contribute or join our community discussions. Your involvement is important to us!
Keep up the great work! 🚀

@Rushi0508
Copy link
Member

Can you describe what have you done and how it's working in brief.

@Kris0011
Copy link
Contributor Author

Kris0011 commented Oct 15, 2023

I have added one function searchComponents() for the search button . In the function I am traversing all the components having "card" class one by one and checking that the Title or the Author includes the given input from the search . If it is matched with one of them then card will be added display "Block" property and will be shown as output and if not then display "None" property and will not be shown .

@Rushi0508
Copy link
Member

Seems good!! I am merging it. Thanks for your valuable contribution.

@Rushi0508 Rushi0508 merged commit e04a67a into csiddu:main Oct 15, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants