Hello friends welcome back. Today in this video I am going to make my first project simple Notepad. In this project it will consist of one text area and one Save button. As you can see this this is sample with this is a text area and this is a button by the end of the session. You can also make this type on this simple Notepad. So, in this I will use one text widget and one button widget.
So, let's start Firstly import all the packages and libraries which you are required This is you for creating your own title. Now I created text area name text entry. derps made extra butter See, this is simple notepad which I have created right now this is text area Now I'm going to create a function name save file. And the functionality of this function is that when you click Save button it was saved the the text you had written in your notepad See, all right, then try it. Oh, Ben. No Go txt and mode.
I choose drive mode and this will create a new file named node dot txt with drag mode No more do you retain in that text area text entry, it will save all the text in Node dot txt file and using node dot write, it will read all the things which you have written in that file. Except I you Now let's run this file. See this is a text area. Name text entry and save button. I'm reading all right And save this file. I told you before that the file was right in that text area, all the content will save in Node dot txt file.
Now I'm going to open node dot txt file to see if the content which we have written is safe or not see saves all the content which we had it in that text area Hi. So, this is a simple text notepad you can further add some functionalities like copy and paste a sector of functionalities. So till now Happy coding, keep learning and keep moving