Anything you see must be created.
You would need to create a victory layout where you give stars depending on the performance, which could be a simple comparison of a GLOBAL variable such as if SCORE is X then give 1 star, etc.
Regarding storage, you only need this if you want the game to remember the user information next time the user opens the game. The easiest would be to use Local Storage. But again you can easily have your victory / stars system without storage.
If you want the session to remember the performance of each level you can simply to do with GLOBAL variables such as
LEVEL_1_COMPLETED = 0
LEVEL_2_COMPLETED = 0
LEVEL_3_COMPLETED = 0