Privacy Policy and Terms
Plain-language rules about your data and about using Code Sinhala.
Last updated: 23 October 2026
Part 1
Privacy Policy
කෙටියෙන් (සිංහලෙන්)
- අපි ගන්නේ ඔයා තෝරන නමයි, ඉවර කරපු activities සහ XP එකයි. Google වලින් login වුනොත් විතරක් email address එකත්.
- Email එක වෙන කාටවත් පේන්නේ නෑ, අපි ඒක විකුණන්නෙත් නෑ. Ads සහ tracking cookies නෑ.
- ඔයා ටයිප් කරන code එක අපි save කරන්නේ නෑ.
- ඔයාගේ දත්ත මකන්න ඕන නම් අපිට email කරන්න.
Who we are
Code Sinhala is an independent learning project run from Sri Lanka. You can reach us at support@pdfconvertsuite.com.
What we collect
- Display name. The name you choose when you first visit. It is shown on the public leaderboard, so please do not use your full real name.
- Learning progress. Which activities you completed and your XP.
- Google login (optional). If you choose to log in with Google, we store your email address and Google's unique ID for your account. We only ask Google for your email address. We do not receive your Google password, contacts or any other Google data. Your email address is never shown to other learners.
- Your code. What you type stays in your browser. When you press Check, your code may be sent to our server so it can verify the answer and award XP. We do not save it.
- Quiz results. When you finish a quiz we save your score, your answers, the mode you used and how long it took. They are private. They are linked to your account (or to a random ID in your browser if you are not logged in) and are never shown to other learners, not even on the leaderboard.
- Technical data. Like most websites, our hosting provider records technical information such as IP address, browser type and the pages requested. This is used to run and secure the service.
Cookies and local storage
We use only the cookies needed for the site to work. We do not use advertising or tracking cookies.
| Name | What it is for | Lasts |
|---|---|---|
| uid | Identifies your progress on this device, or your account after you log in. | 1 year |
| cs_auth | Remembers that you are logged in, so the menu shows the right buttons. | 1 year |
| g_oauth | Used briefly while you sign in with Google, to keep the sign-in secure. | 10 minutes |
| admin_session | Used only by site administrators. | 7 days |
Your browser's local storage also keeps two preferences on your device only: theme (light or dark) and lang (language).
How we use your data
- To save your progress and show your XP, level and place on the leaderboard.
- To let you log in and continue on another device.
- To keep the site secure and working, and to improve the activities.
We do not sell your data, we do not show ads, and we do not send marketing emails.
Who handles your data
We rely on a few services to run the site:
- Netlify hosts the website.
- Supabase stores our database and uploaded images. Our database is currently hosted in Japan, so your data is stored outside Sri Lanka.
- Google provides the login, only if you choose to use it.
- Public code libraries such as the editor, React, Tailwind and the SQL engine are loaded from content delivery networks like cdnjs (Cloudflare) and jsDelivr. Those services can see your IP address when your browser downloads the files.
Keeping and deleting data
We keep your progress and account for as long as the account exists. To have your account deleted, email us from the address you use to log in with Google. We will delete your email address, Google ID, display name, progress and quiz results, which also removes you from the leaderboard. Until you log in, progress is linked only to a random ID stored in your browser, and clearing your cookies removes your access to it.
Children and students
Many of our learners are school students. We collect as little personal information as we can: a display name you choose, and an email address only if you log in with Google. If you are under 18, we recommend asking a parent or guardian before you log in. A parent or guardian can email us at any time to have a child's data deleted.
Security
The site is served over HTTPS and your data is kept in managed services. No online service can be made perfectly secure, so please choose a display name that does not reveal personal details.
Changes to this policy
If we change how we use your data, we will update this page and the date at the top.
Part 2
Terms of Use
Using the site
You may use Code Sinhala for personal learning. Please do not:
- attack, overload or try to break into the site or its services;
- try to cheat the XP system or the leaderboard, for example by calling our API directly;
- choose a display name that is offensive or pretends to be someone else.
We may remove names, reset progress or block access if these rules are broken.
Content
The lessons, activities and other material on this site belong to Code Sinhala. You may use them for your own learning, but please do not copy or resell them. The code you write while learning is yours.
Changes and availability
We may add, change or remove courses and activities at any time. This can change your completed activities or XP. The site is provided “as is”, without guarantees, and may sometimes be unavailable. To the extent the law allows, we are not responsible for losses that result from using it.
Governing law and contact
These terms are governed by the laws of Sri Lanka. Questions about them can be sent to support@pdfconvertsuite.com or through the Contact page.
