0
Guys, does anyone know how to test my code?
Guys, does anyone know how to test my code? I wrote in notepad on windows and I save it as (.html, .cpp, .py, .css) and I can't run it to test, so I don't even know if it works. I have checked online for answers but nothing anywhere
3 Antworten
+ 4
Nednal You need compiler to test compiled language like c,cpp and python installed to test .py files. For html just open it on browser.
Or
You just try online compiler sites, copy code paste it on site to test. Also you can use sololearn goto create -> code -> (+) to create new codes paste your code there
+ 1
Hi
For HTML, you should be able to open it on your browser by just clicking on it. While saving, change the file type to "All files". After saving, you can open with browser. Or just type the path directly onto your browser.
For others, you will need a compiler. There are compilers for each language. You can easily download from google. Or you can also use online compilers.
0
Nednal ,
Too many tags. Can you remove the useless ones? Like coding (all questions here are about coding), help (all questions are asking for help), question (all questions are questions), etc.
To test your code, just paste it into the playground, as Azhagesanヾ(✿) said.
Here's the explicit path.
[] Go to Create.
[] Be in the Code tab.
[] Click new (floating circle with + on it).
[] Choose Python (or any language).
[] Land in the playground (editor)
[] Write some code.
[] Run it.
[] Save it.
[] Exit the editor.
[] Land in the Code tab again.
[] Change "Hot Today" to "My Code Bits".
[] See the code you just saved.
[] Later codes get added there too.