My Social Links Profile Challenge Solution

Solution retrospective
<!-- Improves SEO -->
<meta name="description" content="Social links profile challenge from frontendmentor">
<!-- Target=blank, I'm glad I remembered it as it turned out to be useful -->
<a target="_blank" href="https://www.frontendmentor.io/profile/earthstar71">
Frontend Mentor
</a>
main {
display: flex;
margin: 0 auto;
justify-content: center;
flex-direction: column;
align-items: center;
gap: 15px;
max-width: 30rem;
}
.attribution a {
color: hsl(75, 94%, 57%);
}
.attribution a:active {
color: hsl(75, 71%, 41%);
}
What challenges did you encounter, and how did you overcome them?
Perfecting my DevTools Lighthouse Report score. I changed some things, and tried opening the website in a Guest profile on Chrome, Incognito would work as well. This is because extensions and other stored caches interfere with the Performance of my page, as they inject scripts which slow down my website by 10-15%.
Also, I overcame my deployment problem by setting the root directory correctly.
What specific areas of your project would you like help with?I was looking to add a button that changes the color scheme of my page from light to dark, with vanilla CSS and HTML, no JavaScript. Is there a way to do this? Perhaps by using the "checkbox hack" as shown here: https://css-tricks.com/the-checkbox-hack/
Thank you for your time,
Happy coding!
CSS-Box📦-Model 🧑💻💻
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on CSS-Box-Model’s solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord