Any kind of code but you have to save with what precise exention .txt .py .java .js ....
you can write any codes on notepad. (just save with the proper extension) The whole point of notepad++ and other IDEs is to package a lot of good features in one place. Like syntax issue highlighting, code color differences, and some have a local terminal to run your code on. notepad does not.