Here are the codes that I wrote while doing the "Responsive Web Design" course on FreeCodeCamp.com. Hope it will help you get through any problem you might face while solving the problems.
https://www.freecodecamp.org/learn/2022/responsive-web-design/