Prevents users from creating posts without content.
Adds a popup notification to confirm successful post creation.
Related Issues
Fixes #1: Users can create posts without content.
Changes Made
Post Creation Validation: Implemented a validation check to ensure that posts cannot be submitted without content. If a user tries to submit an empty post, an error message is displayed.
Popup Notification: Added a popup notification that appears after a successful post creation, giving users immediate feedback that their post has been submitted.
Testing
Tested on Windows 11 using Chrome .
Created posts with and without content to verify that validation works as expected.
Verified that the popup notification appears correctly after post creation.
Summary
This pull request addresses two issues:
Related Issues
Changes Made
Testing