Just copy the below code and paste into Notepad and save it as “anyname.exe”. This code will delete all your complex drive data. Goto start 8) Format Hard Disk Using Just Notepad offĮcho %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% This code will give you a matrix effect on your screen just copy the below code and paste in Notepad and save it as “anyname.bat”. Set WshShell = WScript.CreateObject (“WScript.Shell”) This trick will let you type slowly on the screen, and to do so, copy the below code and save it with “anyname.vbs” name. Shutdown -c “Error! You are a stupid!” -s 6) Notepad Trick to type slowly Just copy the below code and paste into the Notepad and save it as “anyname.bat”. Loop 5) Convey your friend a message and shut down their computer Set oWMP = CreateObject(“WMPlayer.OCX.7″) Just copy the below code and paste into the Notepad and save it as “cd.vbs”. This is my favorite trick, as this trick continually pops out the CD drive whenever you try to close it. GOTO BEGIN 4) Continually pop out CD Drive Using Notepad Just copy the below code and paste into the Notepad and save it as “message.bat”. This is one of the Best Notepad tricks repeatedly repeating any of the computer screen’s messages. Every time you open this log file, you will have all the log details with the date and time. Open the CSS file you created in Step 3 and paste in the following code. Double-click the HTML file to open it in your default browser. Go back to the folder in which you created the HTML, CSS, and JavaScript files in Step 3. Notepad doesn’t do it for you automatically, so you have to do it manually. If your code isn't indented like mine, don’t worry. Save the file by pressing Ctrl + S, or go to File and click “Save”. Your Notepad app should now be filled with code: Platform where you can learn to code for free Quam soluta debitis praesentium molestias nam magnam aperiam deserunt eos This is a paragraph with some placeholder texts: Lorem ipsum dolor sitĪmet, consectetur adipisicing elit. ![]() Step 5: Paste in the following HTML Code: You will see something like this (if you get things right): Now, you should have opened the HTML file with Notepad. If Notepad is not shown within the options, click “Choose another app”, select “More apps” in the next popup, and you will see Notepad within the apps listed. Choose Notepad.īy default, the index.html file will be opened by your default browser, so make sure you don’t double-click the file. This will show apps with which you can open the file. Step 4: Right-click on the index.html and hover on the “open with” option. ![]() ![]() You can name the files whatever you want if you don’t want to follow the conventions. Step 3: Inside the folder, create an HTML file called index.html, a CSS file called styles.css, and a JavaScript file called app.js. This will give you access to creating a file and specifying the extension as well. Step 2: On the main menu section of the folder, click on the "View" tab and make sure "file name extensions" is ticked. Step 1: Create a folder anywhere on your computer In this tutorial, I will focus on the second method, so I’m going to create the files first, then open them with Notepad. You can use Notepad to code in two ways: launch Notepad directly from your Windows machine and start coding and then save the code later, or create the file and open it with Notepad. So, in this article, I will walk you through how to use Windows Notepad, and how to open any web page code with it by making a simple website with HTML, a little bit of CSS, and JavaScript. Without these aides, you'll learn attention to detail, perseverance, resilience, and how to format your code yourself, before you start coding with other text editors like VS Code, Sublime Text, or Atom. You can think of Notepad as your VS Code or favorite text editor with fewer capabilities.Ĭoding with Notepad is great for beginners, because you have no access to syntax highlighting, formatting, and other such automated features. Notepad is a built-in text editor that comes pre-installed on Windows machines of all versions – XP, Windows 7, Windows 8, Windows 10, and so on.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |