Skip to content

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

Open
algonomad571 wants to merge 8 commits intoOpenTekHub:gh-pagesfrom
algonomad571:gh-pages
Open

Add Alert for Cryptocurrency Price Fetching in script.js#116
algonomad571 wants to merge 8 commits intoOpenTekHub:gh-pagesfrom
algonomad571:gh-pages

Conversation

@algonomad571
Copy link
Copy Markdown

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

@algonomad571
Copy link
Copy Markdown
Author

the conflicts have been resolved. Kindly merge this PR

@algonomad571
Copy link
Copy Markdown
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