In the old sense of the terms this would be a comedy. Where the story ends badly for its main character would be called a tragedy.
modern drama
modern dramaa plus answerr!
It is called modern drama.
One example of a literary work that fits this description is Emily Bronte's "Wuthering Heights." The novel incorporates elements of melodrama with a serious tone, examining themes of love, revenge, and social class. While it does not have a conventional happy ending, there is a sense of resolution in the reunification of the main characters in the afterlife.
A play with a happy ending could be something like William Shakespeare's "A Midsummer Night's Dream," where the lovers are ultimately united and everyone is reconciled.
aadaw
The atmosphere or feeling created by a literary work, partly by a description of the objects or by the style of the descriptions. A work may contain a mood of horror, mystery, holiness, or childlike simplicity, to name a few, depending on the author's treatment of the work.
artistic in literary
According to the Copyright legislation dramatic work is a part of literary work because literary works include (musical, dramatic, scientific) works
Epigraph
Epigraph
Literary appreciation is the understanding and mastery of the form and content of a literary work.