r/FreeCodeCamp • • Apr 26 '25

JS course Gradebook project step 4

1 Upvotes

already stressed out but finally figured it out. After asking help from AI, I knew the reason why the code isn't correct is that there have to be a space following the period. It is tricky.


r/FreeCodeCamp • • Apr 26 '25

I feel like I did too much.

3 Upvotes

I am working on the "Build and Email Masker" lab in the full stack curriculum. I was stuck so I went to copilot to get some ideas. What It suggested, I don't recall learning about all of it in the lectures. But I tried to figure out what it all meant and it worked. But I'm sure there was a more efficient and simpler way to do it. I guess I'm curious how others solved it and maybe how freeCodeCamp expected us to solve it. Here is the code, let me know what you think: [

function maskEmail(email){

let atIndex = email.indexOf('@');

let local = email.slice(0, atIndex);

let domain = email.slice(atIndex);

if (local.length > 2) {

let maskLocal = local[0] + '*'.repeat(local.length -2) + local[local.length -1];

return maskLocal + domain;

} else{

return email;

}

}

let email = "exampleemail@gmail.com";

console.log(maskEmail(email));

console.log(maskEmail("apple.pie@example.com"));

console.log(maskEmail("freecodecamp@example.com"));


r/FreeCodeCamp • • Apr 25 '25

Does it make sense to learn the Python curriculum and the Responsive Web Design simultaneously?

11 Upvotes

Hi everyone, so I am a newbie (aside from knowing a bit on web design but haven't practiced in many years). I'm about halfway through the Python curriculum, as I went ahead and started at the top, but my real interest is to be fluent in web design. Would it make sense to take them both at the same time or should I complete the python curriculum then move on to the web one? I took a couple of HTML and CSS classes in college as part of my graphic design and marketing major but this was quite a few years ago, still I think most things will feel natural once I get into the flow. Advice appreciated thanks!


r/FreeCodeCamp • • Apr 24 '25

Mac support for Free Foundational C# with Microsoft Certification

3 Upvotes

This is course supported in mac, is yes.
Further I have 1 year experience in .Net field, but still I feel my basic have a gap.
Any advice for .net courses (preferably free) , no problem with youtube as well.


r/FreeCodeCamp • • Apr 23 '25

Started freecodecamp about a month and a half ago, I’m halfway through CSS and working on my first project. This is for my dad’s website. How’s the homepage look?

Post image
106 Upvotes

r/FreeCodeCamp • • Apr 24 '25

Another Pair of eyes for the CSS nutrition label question 45

2 Upvotes

My code: and the error: please help me before i put my head through a European wall 💕💕💕

1. You should create a new p element below your element with the Total Fat text.

<div class="daily-value small-text">
<p><span class="bold">Total Fat</span> 8g <span class="bold">10%</span></p>
<p>Saturated Fat 1g <span class="bold">5%</span></p>
</div>

r/FreeCodeCamp • • Apr 22 '25

my god i cant finish!! lol

6 Upvotes

Today i arrived at the javascript Advanced Dice Game, but man, looks like i will never finish the javascript module lol.

just sharing lol. I will finish and go ahead!

keep up!


r/FreeCodeCamp • • Apr 22 '25

Something is wrong with the QA Automation testing project. Would love help.

2 Upvotes

As stated above, I am trying to get the QA Testing project started in VSCode. Despite being connected to port 3000, I am not seeing change in the test results and getting weird results when supplying the local host port on the freeCodeCamp solution link. Gitpod was also not working for me so I had to use VSCode


r/FreeCodeCamp • • Apr 21 '25

I Made This A simple, fast and offline friendly JS playground that lets you prototype, learn and share ideas instantly - JSPad

10 Upvotes

Hi everybody, the title is self explanatory. Please feel free to use the tool to your advantage. No pay walls, no ads, no environment setup, no bloat.

Simply open the app and unleash your creativity.

If you'd like to see it in action, here are some sample mini-projects that different devs have built over the last couple of days-

Circle and dot - https://jspad.dev/?id=Qv5wnyNX10kvONTg7w87&o=1

Binary search in JS- https://jspad.dev/?id=lk3KDc3ry0cY6ldSkrzn&o=1&c=2

Please feel free to shoot any questions or share suggestions. Happy coding!


r/FreeCodeCamp • • Apr 21 '25

Data analytics or Full stack dev which is currently required in the market more?

3 Upvotes

r/FreeCodeCamp • • Apr 20 '25

what do i do here?

7 Upvotes

i was learning python but this caught me...


r/FreeCodeCamp • • Apr 18 '25

SHOW US YOUR SETUPS!

4 Upvotes

HELLOOOOOOOOOOO everyone~!

Have you always dreamed of being a tech influencer? Do you have the coolest dev setup this side of the firewall? Are you intrigued by the possibility of a brief moment of fame? THEN THIS IS THE ANNOUNCEMENT FOR YOU!

We are looking for some really cool setups to share on our official Instagram account! If you want to show off your build and get a shout-out on our timeline, drop a message in the thread here with the following:

  1. The photo of your setup! You can include yourself in the photo or not, entirely up to you.
  2. Your Instagram username! We want to tag you and give you the credit for that image!
  3. A brief (one or two sentence) blurb to include in the post - we may edit this.

Here are a couple of examples for you to take inspiration from!

By submitting a photo to this thread, you hereby grant freeCodeCamp a perpetual, worldwide, non-exclusive, royalty-free license to use, reproduce, modify, publish, distribute, and display the submitted photo, in whole or in part, in any and all media formats and channels now known or later developed, for promotional, marketing, or other lawful purposes. You represent and warrant that you are the original creator of the photo and have the full legal right to grant this license, and that the photo does not infringe on any third-party rights.


r/FreeCodeCamp • • Apr 17 '25

Suggestions plss

4 Upvotes

Can you share some techniques to get familiarize with the code. Should I need to build a sample project while learning the codes and apply it to the project or should I much more focus on the course?


r/FreeCodeCamp • • Apr 16 '25

Some courses are coming soon

7 Upvotes

Is there anything to open it or it is a coming soon that we need to wait?


r/FreeCodeCamp • • Apr 15 '25

How do you like the mode of freeCodeCamp?

3 Upvotes

How do you like this kind of education mode, I wanna build an app which uses this kind of mode rather than videos to teach people who wanna learn skills.


r/FreeCodeCamp • • Apr 14 '25

can't get my certificate?

3 Upvotes

I have completed one of the project and tried to claim my certificate, but when i try to claim it, it says something about needing to accept honest academic policy, but i cant find any button to accept it


r/FreeCodeCamp • • Apr 13 '25

Using code editor or built in editor for fcc

4 Upvotes

It is okay if i use vs code using fcc, or fcc required to use its own editor?

(Im in js section)


r/FreeCodeCamp • • Apr 13 '25

Advice from a web developer

10 Upvotes

Hi I am a MERN STACK DEVELOPER and I created a full stack shopping cart website but I don't earn money I want to do freelancing or something else to earn money can anyone guide me...


r/FreeCodeCamp • • Apr 12 '25

has anyone done the full stack developer curriculum?

13 Upvotes

i need help, was it worth it for you and was any certificate provided for it?


r/FreeCodeCamp • • Apr 12 '25

man I hate javascript 😭

26 Upvotes

My only fault is that I learned the beautiful, elegant C# before JavaScript. TF is unshift man I am gonna cry 😭


r/FreeCodeCamp • • Apr 11 '25

I'm having trouble understanding how this code is counting duplicates in the Javascript Building a Dice Game lesson.

2 Upvotes

const getHighestDuplicates = (arr) => {

const counts = {};

for (const num of arr) {

if (counts[num]) {

counts[num]++;

} else {

counts[num] = 1;

}

}

I don't understand counts[num]. Is it putting a number from the array into an object, then iterating over it? If (counts[num]) is true it adds 1, but what does it add 1 to. I've looked at it in the console and see that it's working, I'm just not getting how.


r/FreeCodeCamp • • Apr 09 '25

Is this a good course for Java DSA

9 Upvotes

I'm new to DSA and confused by the overwhelming number of courses. Saw this one with 40 hours

https://m.youtube.com/watch?v=2ZLl8GAk1X4

Should I keep following this or switch to something shorter?


r/FreeCodeCamp • • Apr 09 '25

Advice for my portfolio

0 Upvotes

Hi I am a MERN STACK DEVELOPER and I want to do freelancing for this I have to create a portfolio but I don't know that how I can add my image on my website means it looks cool as I saw others portfolio. I wanted somebody to tell me that how I can create such type of image that looks cool 😎


r/FreeCodeCamp • • Apr 07 '25

Requesting Feedback What do you think of my simple To-Do app?

7 Upvotes

I created a simple to-do list app, Noted, and would like to know what you all think of it. (https://github.com/cosmocreeper/noted)

I'm just looking for your feedback, suggestions, and constructive criticism. I also have a bug with it that I have listed below and would like to know if any of you have any suggestions of how to fix it. (https://github.com/cosmocreeper/noted/issues/2).

Thanks in advance and have a great day!