Currently working on my personal website and delving into the world of Web Development, I have some inquiries for seasoned developers.
My first query revolves around incorporating a hamburger menu onto my site for easy navigation to other pages. After attempting to add various code snippets to my main HTML and CSS files without success, I am wondering if it would be best to create separate HTML/CSS/JS files specifically for the menu and then link them to the main files. Any insights or solutions would be greatly appreciated.
Here are a few examples that I've come across:
https://codepen.io/brenden/pen/VLjKMQ/
, https://codepen.io/netfuel/pen/rIlnB/
, https://codepen.io/sergioandrade/pen/onkub
.
Secondly, I have encountered an issue with the share buttons on my website implemented through AddToAny. While the Twitter and WhatsApp buttons function smoothly, the Facebook button seems problematic (as seen in the 1st screenshot). The href code utilized is
href="https://www.addtoany.com/share"
. Could this problem be related to the fact that my website is not yet live?
In addition, I am aiming to make the buttons on my site smaller and more responsive (visible in the 2nd screenshot). Attempts using
style="font-size: .. ;"
have thus far proven unsuccessful.
Thank you for any assistance offered.
https://i.stack.imgur.com/iXcaF.jpg https://i.stack.imgur.com/rZWNP.jpg