Mohammad Shabeer works now, good job! I recommend adding error handling to the button if you want to strengthen the code a little. Like when user inputs a negative price value or when user inputs non-numeric values.
And maybe showing the user the current price of the stock? I can see that it is logged in the console instead of in the app itself. But it's just a minor suggestion. Overall, nice work! :)
Victoria Lo Thank you so much, for your inputs. I have been trying to get a hang around on the best-practices and on creating a process for building any application.
Like on what context and what all to think upon (eg: like the error handling part you suggested).