Portfolio: Is it cheating to copy code?

Hi,
I am just starting my Portfolio page project and have been struggling with the nav bar as up until this point in free code camp, I haven’t been introduced in how to make one, so I was wondering is it cheating to copy and paste code like this : https://www.w3schools.com/css/css_navbar.asp

I copy and paste code all the time. However, I would recommend studying the code so that you have a deep understanding of how to do it for future projects.

2 Likes

It’s not cheating. Just like @arhillis mentions, people copy and paste code all the time. W3schools is a good reference website and is used by many people when they want to find out how to make different coding things.

cant see any problem while coping and pasting codes!! i always have done that… tho i have adhd (even searching for pharmacy reviews often) and that’s why it is hard to learn to little details for me… but can’t say with certitude…

Take a look at this topic, @rmdawson71’s suggestion helped me a lot ! https://forum.freecodecamp.org/t/academic-dishonesty-in-fcc-projects/143453

Cutting and pasting a little here and there is no problem. Pretty much all coders do this from time to time. Just don’t copy entire projects. And make sure you understand what you’re copying.

As others have said, it is ok to copy and paste to learn. You should take the time to understand the code. This is especially true if you are going to make it public somewhere that someone that may want to hire you can see. We all learn from each other so it is natural to match what others are doing, but always make sure you understand the context and what is happening.