These days, you don’t have to look to hard to find a good note-taking app on your smartphone or tablet. There’s a litany of them out there, many of which are free. But what about for your laptop or desktop computer? Sure, there’s programs like OneNote, which we’ve previously recommended as an omnibus notebook for school, but if you’re looking to just jot down a quick thought or two, it’s a little cumbersome to try and search through all of your class material for a reminder to buy cat food.

Luckily, due to the resourcefulness of computer programmers, particularly one named Jose Jesus Perez Aguinaga, there’s a quick and simple way to type out a note using only your browser and a simple line of code that uses data URI scheme to create a modifiable html page. All you have to do is type the following code into any browser and press enter:

data:text/html, <html contenteditable>

After you’ve written your note, you can choose to save it as a file by simply clicking “Save As” on the file menu, or, if you prefer, you can also choose “Print” and “Save to PDF” for a more easily transferable file, assuming you have PDF software installed, of course. This line of code can even be saved as a bookmark for easy access, since typing out a string of code isn’t exactly convenient.

So if you find yourself having a eureka-moment but can’t find a notepad or a post-it anywhere, or maybe just looking for a way to cut down on the amount of paper waste in your life in general, this is a great way to record your thoughts without ever having to stop browsing the internet.

For more code tips, including how to customize this page with background and text colors, head over to Aguinaga’s post on coderwall.