Instructions & Guide

1. Choose a Language

Select a programming language (HTML, Python, C, or C++) from the left sidebar to open the editor. Your code saves automatically when switching tabs.


ਖੱਬੇ ਪਾਸੇ ਦਿੱਤੇ ਮੇਨੂ ਤੋਂ ਕੋਈ ਵੀ ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ ਚੁਣੋ। ਜਦੋਂ ਤੁਸੀਂ ਭਾਸ਼ਾ ਬਦਲਦੇ ਹੋ ਤਾਂ ਤੁਹਾਡਾ ਕੋਡ ਆਪਣੇ ਆਪ ਸੇਵ ਹੋ ਜਾਂਦਾ ਹੈ।

2. Run & Output

Write your code in the dark panel and click the green Run button. The results will be displayed instantly in the right-side console.


ਡਾਰਕ ਐਡੀਟਰ ਵਿੱਚ ਆਪਣਾ ਕੋਡ ਲਿਖੋ ਅਤੇ ਹਰੇ Run ਬਟਨ 'ਤੇ ਕਲਿੱਕ ਕਰੋ। ਤੁਹਾਡਾ ਨਤੀਜਾ ਸੱਜੇ ਪਾਸੇ ਕੰਸੋਲ ਵਿੱਚ ਦਿਖਾਈ ਦੇਵੇਗਾ।

3. Avoid Infinite Loops

Do not write loops that never end (e.g., while(true) or counting to billions). Heavy code will severely slow down the platform.


ਅਨੰਤ (ਕਦੇ ਨਾ ਖਤਮ ਹੋਣ ਵਾਲੇ) ਲੂਪਸ ਨਾ ਬਣਾਓ। ਬਹੁਤ ਲੰਬਾ ਕੋਡ ਚਲਾਉਣ ਨਾਲ ਸਿਸਟਮ ਧੀਮਾ ਹੋ ਸਕਦਾ ਹੈ।

4. Use the Stop Button

If your code is taking longer than 10 seconds to run, immediately click the red Stop button to cancel the execution and fix your code.


ਜੇਕਰ ਕੋਡ ਚੱਲਣ ਵਿੱਚ 10 ਸਕਿੰਟਾਂ ਤੋਂ ਵੱਧ ਸਮਾਂ ਲੱਗ ਰਿਹਾ ਹੈ, ਤਾਂ ਤੁਰੰਤ ਲਾਲ Stop ਬਟਨ ਦਬਾਓ ਅਤੇ ਆਪਣਾ ਕੋਡ ਠੀਕ ਕਰੋ।

5. Resetting Code

Made a mess? Click the Reset button next to the Run button to completely clear your editor and restore the default starter code.


ਜੇਕਰ ਕੋਡ ਖਰਾਬ ਹੋ ਗਿਆ ਹੈ, ਤਾਂ ਡਿਫਾਲਟ (ਮੂਲ) ਕੋਡ ਵਾਪਸ ਲਿਆਉਣ ਲਈ Reset ਬਟਨ ਦੀ ਵਰਤੋਂ ਕਰੋ।

6. Reading Errors

If your code fails, read the red error text carefully in the console. It will usually tell you exactly which line number has a Syntax or Runtime error.


ਜੇਕਰ ਕੰਸੋਲ ਵਿੱਚ ਲਾਲ ਰੰਗ ਦੀ ਗਲਤੀ (Error) ਆਉਂਦੀ ਹੈ, ਤਾਂ ਉਸਨੂੰ ਧਿਆਨ ਨਾਲ ਪੜ੍ਹੋ। ਉਹ ਤੁਹਾਨੂੰ ਦੱਸੇਗੀ ਕਿ ਗਲਤੀ ਕਿਸ ਲਾਈਨ ਵਿੱਚ ਹੈ।