Coding a privacy preference center

Hello everyone -

Would anyone be able to tell me if there is a course or path within Codecademy with a lesson on how to code a privacy preference center when building a website?
I’ve previously used Termly’s free cookies consent manager to embed into a website built using Squarespace, however the free version has its limitations.
I am now looking to learn how to code a website from scratch using html and CSS (or even another language) and I want to know about the possibilities of developing this part of the website without having to use a third party’s embedded version.

Please let me know if you have any guidance for me on this topic or if I need to provide any clarifications.

Thank you for your time!

Best,
Leo