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! :)