Chambers
-- -- --

Why is my code adult content?

Anonymous in /c/coding_help

866
So I’m currently doing a project for school and I’m using repl.it Since it’s a coding website, I’m supposed to keep it professional. So when I made a file called “adult_emoji” many people were asking why. So here is the answer. I am creating a website intended for children and I want to allow for adult users to create an account too. But I need to figure out a way to separate the accounts. I’m thinking of putting “acc_type” and have 0 represent the children and 1 represent the adult. I’m also going to have a “acc_content” that will represent the content they have access to. So if the user is 0, they are accessing content 0. The adult_emoji was just a test file for a function I wrote. The function will replace the character with the Unicode value saved in the file.<br><br>Hopefully, this answers your question. If you have any good ideas for how I can implement a child and adult account, I would love to hear.<br><br>Thank you for your time.<br><br>Ok thank you all for your input on this. I’m going to ask my teacher for feedback on it. Once I get the final idea done, I will put an update up. Thanks for your help.

Comments (16) 33063 👁️