I'm a contributor to the new classroom mode application for FreeCodeCamp. Based on the discussion in this thread, we would like to start tracking a user's number of attempts for each challenge.
Quincy mentioned that he would like to ensure that this data is viewable only by the individual users and their designated teachers.
The following wireframes propose a solution to this problem. The idea is to allow a user to enter a "class code". We can then use this "class code" to control access to their data in the open-api codebase and classroom mode.
@QuincyLarson, please let me know if you approve of this feature. If so, I'm happy to get started working on this with the rest of our classroom mode team.


Hi Utsab,
This is a cool feature idea. The settings view is the right place to put this.
We would want this to be a separate area of the settings page - that space is just for editing/previewing the bio and I think most people would miss that if we put it there.
It could be a section with the heading "Join a class" where they can enter a classroom code and it would say something like "You're now part of Mr. Wagner's AP Computer Science class" or something like that, where each class would have both a name and an identifying number.
I agree that having them enter an alphanumeric code would be ideal, since it would reduce the discoverability of these classes.
This will involve updating our open API so I'm @-mentioning @ojongerius and @raisedadead here.
Guys I think that since this issue is more related to our Classroom project, it should be opened there and this one closed for now?
@thecodingaviator, sorry for the late reply on this. It's true that this feature is related to the Classroom Mode project, but the class-code should be generated from within the learn codebase. This class-code will serve as a key that the open-api will use to control access to the user's data.
Oh, I see
@utsab We can revisit this once we have our open API live. I agree that we want some prominent way to "enroll" in a class right from settings. We'll have a better idea of what that should look like once we have that code live.
I am closing this issue for now. We can revisit classroom mode in Q3 once we have rolled out our curriculum updates and other features.
Most helpful comment
This will involve updating our open API so I'm @-mentioning @ojongerius and @raisedadead here.