Documentation in technical docs page

Hello everybody,

In the technical documentation page, there is javascript in the document which is a language I don’t know yet. Is copy-pasting the documentation legal or does that count as plagiarism? Should we write our documentation or can we take it from a reliable resource?

you can write about anything you want, if you take the text from a website, make sure to check their copyrights and term of services

you could do a technical documentation page on what you have learned so far, or about a cooking recipe…