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

Add Alert for Cryptocurrency Price Fetching in script.js #116

Open
wants to merge 8 commits into
base: gh-pages
Choose a base branch
from

Conversation

muskan171105
Copy link

This PR introduces an alert feature that displays the current price of a selected cryptocurrency when the predict button is clicked. It enhances user experience by providing immediate feedback on the price fetched from the CoinGecko API. Additionally, error handling has been improved to alert users if the cryptocurrency is not found.

Changes Made:

Implemented an alert displaying the current price of the selected cryptocurrency.
Enhanced error handling to show a message when a cryptocurrency is not found.
Testing:

Tested with various cryptocurrency symbols to ensure alerts display correctly.
Verified that error messages appear when invalid symbols are input.

NOTE: Please merge this pull request under WOB'24 so that it counts under my WOB contribution

@muskan171105
Copy link
Author

the conflicts have been resolved. Kindly merge this PR

@muskan171105
Copy link
Author

Please review this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant