Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Refactor and Enhance World Map Application
Summary
This pull request introduces several enhancements and refactors to improve the functionality, appearance, and maintainability of the World Map application.
Changes Overview
1. Separate
index.html
andindex.php
FilesCommit: Make index.html and index.php different Files
Description:
index.html
) and back-end (index.php
) code.2. Improve Styling
Commit: Improve Styling
Description:
Open Sans
).3. Center Map on Screen
Commit: Center Map on Screen
Description:
4. Add Double-Click Functionality for Adding/Removing Countries
Commit: Improvements in showToast and in "Add and Remove"
Description:
dblclick
on country paths.5. Implement Toast Notifications
Commit: Improvements in showToast and in "Add and Remove"
Description:
showToast
function for displaying messages.6. Ensure Tooltip Always Appears Above SVG
Commit: Always show "demo" above svg
Description:
z-index
and positioning in CSS to control stacking order.7. Add "X" Button to Remove Countries from the List
Commit: Add possibility to remove country from List
Description:
build()
function to include the remove button.Additional Enhancements
Code Refactoring:
Responsive Design:
Accessibility:
Performance:
Testing
Conclusion
These changes significantly enhance the World Map application by improving its user interface, interactivity, and code structure. The application now offers a better user experience and is easier to maintain.
Feel free to reach out if there are any questions or need further adjustments.