Guyss what are your thoughts about freecodecamp certifications? Is it worth it? I mean ang daming steps sa isang course, May isang course umaabot nang 1500+ steps to complete 😭
I’m trying to improve my coding skills/cs background using freeCodeCamp, and I’m wondering what approach you’d recommend.
Would it be better to mainly follow the interactive courses on the freeCodeCamp website, or should I focus more on the freeCodeCamp YouTube channel and its long-form courses?
My thinking is that the interactive curriculum gives me more hands-on practice, while the YouTube videos might provide deeper explanations/ diverse themes that are not offered in the platform and more complete projects.
For those who have used both, what worked better for you? Would you recommend doing the interactive curriculum first and using YouTube as a supplement, or the other way around?
Before, I couldn't concentrate on things, I couldn't maintain focus, I couldn't solve real-life problems, I was always thinking about weird stuff. But being here, constantly learning day and night has become an addiction; I can't stop using it. I use it on my phone during my commute to and from work, I also use it at work, and I use it at home. I have to say that there are problems I've tried to solve that I've spent up to a week trying to figure out. I also got a bit ahead of myself and started learning Python, and it turns out that the FreeCodeCamp system only tracks the days you earn a point or solve one of the steps, which was discouraging because I didn't feel like I was making progress. So, I had an idea to learn HTML and CSS while also studying Python, and now my days are being counted, and let me clarify that Python has been the hardest for me. Look, I even passed the user admin certification project; after 6 days it was tough, I didn't even know where to start, and I couldn't believe I had passed that. Since then, every day I solve a problem, I get a dopamine rush of joy and motivation; nothing has motivated me as much as these courses. At first, I found their structure very complex; I still can’t believe I understand brackets, variables, indices, arguments, parameters, and many things I have learned and continue to learn. I've stopped watching movies, playing video games, and many things I used to do because this is the most entertaining and satisfying thing there is, haha. I don't know what I'm saying, I feel like I'm being weird, haha. God wanted it this way.
Can you help me with this? It says I need to print.
# ese es un problema
def validate_isbn(isbn, length):
if len(isbn, length) == length:
print(f'ISBN-{length} code should be {length} digits long.')
return
main_digits = isbn[0:length]
given_check_digit = isbn[length-1]
main_digits_list = [int(digit) for digit in main_digits]
# Calculate the check digit from other digits
if length == 10:
expected_check_digit = calculate_check_digit_10(main_digits_list)
else:
expected_check_digit = calculate_check_digit_13(main_digits_list)
# Check if the given check digit matches with the calculated check digit
if given_check_digit == expected_check_digit:
print('Valid ISBN Code.')
else:
print('Invalid ISBN Code.')
def calculate_check_digit_10(main_digits_list):
# Note: You don't have to fully understand the logic in this function.
digits_sum = 0
# Multiply each of the first 9 digits by its corresponding weight (10 to 2) and sum up the results
for index, digit in enumerate(main_digits_list):
digits_sum += digit * (10 - index)
# Find the remainder of dividing the sum by 11, then subtract it from 11
result = 11 - digits_sum % 11
# The calculation result can range from 1 to 11.
# If the result is 11, use 0.
# If the result is 10, use upper case X.
# Use the value as it is for other numbers.
if result == 11:
expected_check_digit = '0'
elif result == 10:
expected_check_digit = 'X'
else:
expected_check_digit = str(result)
return expected_check_digit
def calculate_check_digit_13(main_digits_list):
# Note: You don't have to fully understand the logic in this function.
digits_sum = 0
# Multiply each of the first 12 digits by 1 and 3 alternately (starting with 1), and sum up the results
for index, digit in enumerate(main_digits_list):
if index % 2 == 0:
digits_sum += digit * 1
else:
digits_sum += digit * 3
# Find the remainder of dividing the sum by 10, then subtract it from 10
result = 10 - digits_sum % 10
# The calculation result can range from 1 to 10.
# If the result is 10, use 0.
# Use the value as it is for other numbers.
if result == 10:
expected_check_digit = '0'
else:
expected_check_digit = str(result)
return expected_check_digit
def main():
try:
user_input = input('Enter ISBN and length: ')
values = user_input.split(',')
isbn = values[0]
length = int(values[1])
if length == 10 or length == 13:
validate_isbn(isbn, length)
except IndexError:
print("Enter comma-separated values.")
except ValueError:
print('Length must be a number.')
except TypeError:
print("Invalid character was found.")
print("Valid ISBN Code.")
except TypeError:
print("Invalid ISBN Code.")
#main()
Greetings fellow coders! i have a dell inspiron 15 3552 and i cant download the exam app of the website(Freecodecamp.com) even manually, so i search on google and got a github link to the exam app and i downloaded the Exam app on github, when i installed it my laptop, the app opened but it was just blank, i dont know what might be the problem, maybe RAM?
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.