Skip to content

Improve Newsletter Form Submission: Add Error Icon and Use Fetch API with Async/AwaitΒ #99

@Precious-Bob

Description

@Precious-Bob

Good day Kamil, I tried subscribing to the NestJS newsletter and noticed that the success icon activates even when the POST request fails. To improve the user experience and code quality, I would love to work on the following changes:

Add an Error Icon: Introduce an error icon to inform users if their subscription request fails, providing clear feedback on the submission status.
Use Fetch API with Async/Await: Update the codebase to utilize the Fetch API and async/await for handling the form submission, replacing the existing method for better readability and modern JavaScript practices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions