# Portfolio: Is it cheating to copy code?

**URL:** <https://forum.freecodecamp.org/t/portfolio-is-it-cheating-to-copy-code/144121>\
**Category:** General\
**Created:** [August 27, 2017, 11:54am UTC](https://forum.freecodecamp.org/t/portfolio-is-it-cheating-to-copy-code/144121 "2017-08-27T11:54:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![SarahTheTomboy](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@SarahTheTomboy](https://forum.freecodecamp.org/u/SarahTheTomboy)\
**Post date:** [August 27, 2017, 11:54am UTC](https://forum.freecodecamp.org/t/portfolio-is-it-cheating-to-copy-code/144121/1 "2017-08-27T11:54:57Z")

</div>

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](https://www.w3schools.com/css/css_navbar.asp)

> **[OjorMe](https://codepen.io/SarahTheTomboy/pen/OjorMe)**
>
> ...

---

<div class="post-metadata">

**Author:** ![arhillis](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/arhillis/32/158968_2.png) [@arhillis](https://forum.freecodecamp.org/u/arhillis)\
**Post date:** [August 27, 2017, 12:05pm UTC](https://forum.freecodecamp.org/t/portfolio-is-it-cheating-to-copy-code/144121/2 "2017-08-27T12:05:22Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![MrJoe](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@MrJoe](https://forum.freecodecamp.org/u/MrJoe)\
**Post date:** [August 27, 2017, 12:31pm UTC](https://forum.freecodecamp.org/t/portfolio-is-it-cheating-to-copy-code/144121/3 "2017-08-27T12:31:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Blegifter](https://avatars.discourse-cdn.com/v4/letter/b/ecc23a/32.png) [@Blegifter](https://forum.freecodecamp.org/u/Blegifter)\
**Post date:** [August 27, 2017, 1:25pm UTC](https://forum.freecodecamp.org/t/portfolio-is-it-cheating-to-copy-code/144121/4 "2017-08-27T13:25:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![calculon](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/calculon/32/161393_2.png) [@calculon](https://forum.freecodecamp.org/u/calculon)\
**Post date:** [August 27, 2017, 2:17pm UTC](https://forum.freecodecamp.org/t/portfolio-is-it-cheating-to-copy-code/144121/5 "2017-08-27T14:17:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![kevinSmith](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevinsmith/32/72934_2.png) [@kevinSmith](https://forum.freecodecamp.org/u/kevinSmith)\
**Post date:** [August 27, 2017, 4:24pm UTC](https://forum.freecodecamp.org/t/portfolio-is-it-cheating-to-copy-code/144121/6 "2017-08-27T16:24:38Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![kgalb2](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kgalb2/32/61516_2.png) [@kgalb2](https://forum.freecodecamp.org/u/kgalb2)\
**Post date:** [August 27, 2017, 11:52pm UTC](https://forum.freecodecamp.org/t/portfolio-is-it-cheating-to-copy-code/144121/7 "2017-08-27T23:52:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 16, 2021, 5:58pm UTC](https://forum.freecodecamp.org/t/portfolio-is-it-cheating-to-copy-code/144121/8 "2021-01-16T17:58:54Z")

</div>

Closed on January 16, 2021, 5:58pm UTC


