teabyte / nakhlahjs Goto Github PK
View Code? Open in Web Editor NEWArabic JavaScript Learning Platform
Home Page: https://nakhlahjs.site
License: MIT License
Arabic JavaScript Learning Platform
Home Page: https://nakhlahjs.site
License: MIT License
error: Uncaught (in promise) TypeError: Deno.openKv is not a function
const kv = await Deno.openKv();
Tracking issue for:
With the development and expansion of the project
The process of testing and ensuring the integrity of each update will become difficult
Deno tests + GitHub actions would be helpful for us and project contributors
remove anything was for track progress using localstorage
Make it PWA ready
It will benefit many learners
We're proposing to migrate our current web analytics framework to PostHog, a modern open-source platform offering advanced features and flexibility.
الاختبار في هذا الدرس يحتوى على عوامل مركبه من الدرس التالي. يجب تغير الاختبار حتى يناسب سياق الدرس:
الاختبار في هذا الدرس من الافضل ان يكون يكون انشاء سلسله تحوي على عاومل تخطي مثل "\ حتى يخرج المتلقي بفائده اكبر:
الاختبار هذا لا يمثل الدرس ابدا:
سيتم مراجعه الدروس بشكل دوري يرجى عدم قفل الissue
In group route
https://nakhlahjs.site/group/if-statements
When clicking to a URL the URL changes but nothing happened
Probably client-side Partial issue
Tracking issue for:
في درس التعليقات
زر الرجوع يرجعك الى نفس الدرس وليس الدرس السابق
https://github.com/TeaByte/NakhlahJS/blob/main/utils/course.ts#L143
Tracking issue for:
phone and small screens users need some adjustments
Tracking issue for:
I think localhost storage by it self not the best solution
A small kv database like DenoKV + DenoKV-Auth can solve it
Both localstorage + server-side storage for progress would be great
Using server-side data would be great for additional ideas for the future
Like charts, top-list, course-view, ...more
Hey, so there's this glitch in the print test. When I try to print a value using var, it gives me a hard time, says it's incorrect. But if I print the value directly like with double quotes, it works like a charm, and the test is happy with me. For instance, console.log("Hi") does the trick, but console.log(var) doesn't play nice. Can you please get the programmers to sort this out? Much appreciated!
Originally posted by m7medVision February 18, 2024
I'd like to open a discussion about adding a new feature to our Fresh app: client-side partial updates, also known as partials. This capability would allow sections of a page to be refreshed directly by the server without requiring a full page reload...
/intro
, /comments
, ...etchttps://github.com/TeaByte/NakhlahJS/blob/main/CONTRIBUTING.md
Making a Contributing guide page
Old browser styles are messed up
like the ghost buttons and the collapse don't show when clicked
There seems to be an issue with the initialization of preCode
in the Editor
component. The preCode
prop is supposed to set the initial value of the editor, but it appears not to be working as expected.
Here is the relevant code snippet from Editor.tsx
:
export default function Editor(props: CounterProps) {
const [output, setOutput] = useState<string>("");
const { showToast } = useToast();
useEffect(() => {
const initializeEditor = () => {
if (window.editor) {
window.editor.setValue(props.preCode);
}
};
window.onload = initializeEditor;
return () => {
window.onload = null;
};
}, []);
}
The current code fails to accurately detect cases where a variable is declared and assigned a string value, especially when the declaration and assignment occur on separate lines. This results in false positives or inaccurate results when evaluating code submissions.
The regex pattern used in the code is insufficient to handle cases where a variable is declared and then assigned a string value elsewhere in the code. This limitation affects the reliability of the code checker.
A revised regex pattern needs to be implemented to ensure accurate detection of variable declaration and string value assignment, regardless of their placement within the code.
Kindly review and address this issue to enhance the effectiveness of the code evaluation process.
Thank you!
in route => group/[slug].tsx
at line 46 [ CourseCard ] type error:
Type '{ key: string; course: Course; }' is not assignable to type 'IntrinsicAttributes & { course: Course; isDone: boolean; }'.
Property 'isDone' is missing in type '{ key: string; course: Course; }' but required in type '{ course: Course; isDone: boolean; }'.deno-ts(2322)
CourseCard.tsx(5, 61): 'isDone' is declared here.
(alias) function CourseCard(props: {
course: Course;
isDone: boolean;
}): JSXInternal.Element
import CourseCard
بعض الدروس بها مشاكل في تحقق الregex الخاص في الtestcase
مثال على المشكله:
let x = "xxx"; // صحيح
let x= "xxx"; // خطأ
let x ="xxx"; // خطأ
let x="xxx"; // خطأ
الregex المكتوب لا يراعي المسافات وايضا ال(;) في نهايه السطر في بعض الدروس
يجب تحسين الregex حتى يراعي المسافات و وجود و عدم وجود;
الدروس الي تحتاج تحسين:
http://localhost:8000/variables/uninitialized-variables
Tracking issue for:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.