This might be a silly question, I'm doing a primary education uni degree and my subject study is computing. For our assignment, we have to create a basic website from scratch using HTML. I'm completely new to coding so I'm fumbling my way through it. I want to follow a video on coding parallax scrolling but would this be considered plagiarism as it's not my original code? My head is telling me no because surely there is only a certain amount of ways you can achieve this? Thanks.
I doubt that this is plagiarism in the formal sense of the term. I'd equate it with using things you find in a text book. This relies on the fact that there are a limited number of ways in which some things can be done and also on the fact that students should be allowed to learn with other resources than those provided.
However, if you are asking whether you could be sanctioned by a professor for this then it isn't so clear and depends on whatever rules are set for your completion of the assignment. A professor can certainly put an embargo on using outside resources for purposes of an assignment. If you use those resources then you can be punished even though you haven't committed plagiarism in the formal sense.
But if your final result gives the impression that the ideas are yours when they are not and not cited, then it becomes formal plagiarism.
Don't equate plagiarism with academic misconduct. The easy way to be sure is to cite what you use (avoiding plagiarism) and also avoiding any claim that you were hiding something from the professor.
Note that professors don't assign things because they need the end product produced by the students. They do it purely so that the student can learn something. Breaking the rules reduces the intended learning. It isn't really about "making" something. It is about "learning" something. Working with limited resources is often a good way to enable that.