...

/

Solution: Footer Social Icons Visibility

Solution: Footer Social Icons Visibility

Let’s toggle between social icons and a share button based on screen width.

Problem description

Given an HTML page with two footer sections:

  • <div class="footer-social-icons"> contains multiple social media <a> elements (e.g., Facebook, Twitter, and Instagram).

  • <button class="mobile-share-button">Share</button> is a button to share content on mobile. ...