I’m currently creating a course on my local FreeCodeCamp, but I’m encountering an issue when adding new challenges of type JS or HTML. While MCQ and video challenges work perfectly, adding JS or HTML challenges causes the server to crash, and I’m unable to view these challenges on localhost:8000.
Does anyone know what might be causing this, or how to fix it?
Pasting the error below :-
Error: ## --seed-contents-- must appear in # --seed-- sections in file /home/bhupendra/Desktop/fccamp/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/ng-test/step-2.md
Sharing the markdown file here please elaborate where should I change? — id: 66e814607451d467128524b5 title: step2 challengeType: 1 dashedName: step-2 —
I added header but this challenge does not look like what other challenges of js do.
Pasting the snapshot here, please provide the template for the js challenge type.
Yes, a step based project. I opened the random challenge and checked the type it shows 0 and 1 for html and js respectively but whenever I try to create same type of challenge it shows error and the server crashes.
Sharing the challenge link I opened
that is not a step based challenge, and doesn’t use the multifile editor, if you want a step based challenge, it needs to match the challengeType of a step based challenge. Open one step from the new JavaScript certification
I want to know is how can I make a challenge that has plaintext only (no mcq or video)?
Can we submit any type of link in zipline projects (like :- a chatGPT link) ?
Where the data of submitted links is stored?
I have created some video challenges in some order but when I am trying to push the changes to github it shows some ES lint pop-up and then challenges got reordered automatically, when I try to re-order it by command “pnpm run update-challenge-order” it is not working.
Can you please tell me what is the issue or mistake?