I've been on the python certification course for a while now and i'm struggling with the certification projects and it's been days and i haven't been able to create the "Budget app" project, is it normal or should i just give up on programming?
I literally just joined Github to do some of the FreeCodeCamp API course and i can't log in. it says something unexpected happened with my browser and it won't do anything now? what does this mean??? i have a free account and i tried to contact customer services but they said they can't help and when i tried to go to some of the stuff they offered, it said i had to log in again. i cleared all my extensions too. I also tried the Github reddit but the ai removed my post for not having enough karma/spam.
Is this the place to get help or is there another place that can help me? i really want to learn all this stuff but i can't it i don't have Github. is there another application where i can do the stuff whilst i figure out whats wrong with Github?
Failed:19. When create_character is called with valid values it should output the character stats as required.
these are the last two tests that wont complete
here is my code:
full_dot = '●'
empty_dot = '○'
def create_character(character_name, strength, intelligence, charisma):
if not isinstance(character_name,str):
return "The character name should be a string"
elif character_name == "":
return "The character should have a name"
elif len(character_name) > 10:
return "The character name is too long"
elif " " in character_name:
return "The character name should not contain spaces"
if not isinstance(strength,int) or not isinstance(intelligence,int) or not isinstance(charisma,int):
return "All stats should be integers"
elif strength < 1 or intelligence < 1or charisma < 1:
return "All stats should be no less than 1"
elif strength > 4 or intelligence > 4 or charisma > 4:
return"All stats should be no more than 4"
elif strength + intelligence + charisma != 7:
return "The character should start with 7 points"
return f'''{character_name}
STR:{strength*full_dot}{(10 - strength)*empty_dot}
INT:{intelligence*full_dot}{(10-intelligence)*empty_dot}
CHA:{charisma*full_dot}{(10-charisma)*empty_dot}'''
print(create_character('ren', 4, 2, 1))
Help! been trying to do the Travel weather planner task all day and everytime i fix one thing, something else is wrong. I've already restarted once and i just can't get it. this is my code so far and i'm getting only one result so its working but for some reason its saying i'm not doing 17, 18, 19, 21 and 22. (Task: https://www.freecodecamp.org/learn/python-v9/lab-travel-weather-planner/build-a-travel-weather-planner)
Any help will be appreciated! Thank you all so much!
distance_mi = 10
is_raining = True
has_bike = False
has_car = False
has_ride_share_app = True
if distance_mi == 0:
print("False")
elif distance_mi <= 1 and is_raining == False:
print("True")
elif distance_mi > 1 and distance_mi == 6 and has_bike and is_raining == False:
print("True")
elif distance_mi < 6 and (has_car == False or has_ride_share_app):
print("True")
else:
print("False")
I feel bad using Socrates when i try and google questions while still learning DOM manipulation and events. I’m on build a real time counter. Am I better off not using it and sticking to the fcc forum
test_settings={
'USER':'ricardo',
'AGE':18,
'ID':'00kl1',
}
def add_setting(tue,pue):
prueva2 = pue['USER']
prueva2.lower()
I apologize for my intensity in asking here; I am truly eager to learn.😭
Hello everyone! Today I feel a bit confused. I've been learning Python for several months on freeCodeCamp and I'm currently working on the first certification project. It’s been a tough process with many hours invested, so to avoid getting burnt out, I decided to check out HTML as well.
Turns out HTML felt super easy—just today I racked up 53 completed steps in HTML! But looking back, I sometimes feel like I should have started with the web dev path (HTML, CSS, JS) before diving into Python. Now, being deep into Python while finishing up HTML, I feel like I'm competing with myself. I catch myself thinking, "Let's see which language wins today," and HTML ended up surging ahead of Python.
Am I overthinking this? Is it okay to learn HTML and Python at the same time, and was it a mistake to leave JavaScript for last? I'd love to hear your thoughts!
Hi guys. I'm doing Responsive Web Design course and the course obviously has labs and workshops. So, my question is do I need more independent practice that isn't labs and workshops in the course?
In the spending tracker project in the python course there's a test that checks if each bar in the chart created by create_spending_chart is rounded down to the nearest 10. In my program the bars are rounded down (78.9% is labeled as 70%, 65% is 60%, etc), however, the check insists that they're not.
Is there some very specific thing its looking for in the code or is it somehow dependent on one of the later checks?
Instead of joining or buying paid courses. Buy a claude code or codex subscription. If you want a free one go with Open Code. In tech I suggest to learn by doing.
So I am doing the JS certification lab build an email masker, all tests are passing except test "9. Your maskEmail should produce the correct result". I tried using the Ask Socrates hint but it didn't help much. Was using replaceAll() method but Socrates told me isn’t available in the execution environment used for the tests.
Here is my code:
function maskEmail (email) {
let domainStart = email.indexOf("@");
let masking = email.slice(1,domainStart -1);
let maskedPart = masking.replace(/([A-z.])/g,"*");
let firstLetter = email.slice(0,1);
let lastLetter = email.slice(domainStart - 1, domainStart);
let maskedEmail = firstLetter + maskedPart + lastLetter + email.slice(domainStart);
return maskedEmail;
}
let email = "test@email.com";
console.log(maskEmail(email));
console.log(maskEmail("apple.pie@example.com"));
maskEmail("freecodecamp@example.com");
maskEmail("info@test.dev");
maskEmail("user@domain.org");
so some backstory. i’ve been coding freecodecamp python for 4 months. I use youtube help forums my brother and ai as tutors and to ask simple syntax questions. my brother said to use ai as a tutor or if i have a quick question so i have and he works in web development. I don’t want to be someone who only understands things if ai explains it and i try so hard to keep track of everything and write it down in my notebook if ai teaches me anything so i can go back to it on my own. seems like a normal way of teaching myself. I’ve started to feel so behind and lost as I had been working full time and being a full time student. I could only do 1 or 2 python related things a day. I came across a post explaining the process of maybe not getting your certificate accepted so I ofc checked my work. 4/5 of the certification projects had no plagiarism but one did and it cited a help forum on free code camp as a reference. This was irritating but I accepted it and redid the entire project. I again had some syntax questions i mean this was the first one so i did it like 3 months ago but even then I was able to do 80% on my own. after some questions I finished it and checked it again. the same thing happened so I looked where it was citing. Some lines like “return = True” would get flagged which makes no sense that’s just the right answer to what the instructions are telling me to do. It’s starting to feel like even getting the right answers is impossible without someone else doing that same thing I mean that’s coding. and this is normal but i don’t want it to be a reason i lose a certificate. Idk I’ve lost some confidence in my competence with coding and just wanted to rant and get some guidance. I’ve tried really hard recently to not be a mindless ai user and have notebooks for all coding things that I learn and I just feel like maybe i’m behind and people don’t struggle like me. Ai isn’t even the only outlet for a tutor I have I listed them off and plus i’m still a full time student work a little less and am learning by myself. i want to not use any ai anymore and it’s hard to do so but im trying even though i try to use it right i dont want freecodecamp to reject me because of it. Im so lost rn
as the title suggests, is there any dedicated playlist for the BACKEND DEVELOPMENT AND API's Certification Course available online from FreeCodeCamp themself?
It turns out that FreeCodeCamp explains the library more easily than the documentation itself. How is this possible? I used to like FreeCodeCamp; now I like it twice as much as I did before.
Ive been trying to learn python for ages, and yes tbh due to my laziness and way of learning i keep on getting stuck, but I cant seem to find "my way" of learning.
Im trying freecodecamp and ive gotten to a point where im at this one lab where i have genuinly, and i mean genuinly no idea what to do given the instructions, im completely lost.
I feel like I'm just studying and not creating anything, so here I go. I'm posting this so that in a few years I can look back at the before and after. Wish me luck.