1. Make sure you click on “Submit” to get credit for your work!
2. Make sure you click on “Submit” to get credit for your work!
On our site you can automatically compile and run your code in the IDE by clicking on the “Test Run” button (the blue button in the image below). Which is a great way to see if your code does in fact do what you ask of it.
However, in order to receive credit for your work you must also click on the “Submit” button on the right side of the video player. Hitting “Submit” will compile and run your code just like “Test Run”, but it will also grade your code, give you feedback and save that submission.
You can click on “Submit” as many times as you’d like - as long as one of your submissions for that problem has been graded as correct, you will indeed receive credit for that problem. This way you can try experimenting with different code without the fear of losing credit for your work.