Added some additional instructional context for those who are very new to using this sort of thing!
Updated the default attributes for <a>.
Links on index.html now include:
`target="_blank"` to automatically open links in a new tab
`rel="noopener"` to navigate to the target resource without granting the new browsing context access to the document that opened it.
The <img> tags on index.html now include a `alt="Text Here"` attribute to help improve accessibility.
LittleLink now scores a 99 in performance, a 94 in accessibility (some brand colors are not accessible, and neither is the LittleLink brand color with light theme), a 100 in best practices, and a 100 in SEO through Google Lighthouse.
<p>LittleLink is an open source DIY alternative to services like <ahref="https://linktr.ee">Linktree</a> and <ahref="https://many.link">many.link</a>. LittleLink was built using <ahref="http://www.getskeleton.com">Skeleton</a>, a dead simple, responsive boilerplate—we’ve just created some branded buttons and stripped out the things you won't need. 😊</p>
<p>LittleLink is an open source DIY alternative to services like <ahref="https://linktr.ee"target="_blank"rel="noopener">Linktree</a> and <ahref="https://many.link"target="_blank"rel="noopener">many.link</a>. LittleLink was built using <ahref="http://www.getskeleton.com"target="_blank"rel="noopener">Skeleton</a>, a dead simple, responsive boilerplate—we’ve just created some branded buttons and stripped out the things you won't need. 😊</p>
<!--
## Breaking down <a> attributes:
1.) class="button button-default" | The first "button" here is telling this <a> tag that it should make this element a button and applies the default styling in `css/brands.css`.
The second portion, button-default, is declaring the specific brand style you would like to apply. Here we're applying the "default" style and color.
If you want to make this button to use the brand colors for Discord, just change "button-default" to "button-discord". Brands are found in `css/brands.css`. You can always edit & add your own there.
2.) Replace the # in href="#" with the desired target URL for the button.
3.) target="_blank" | This attribute opens links in a new tab. Remove this attribute to prevent links from opening in a new tab.
4.) rel="noopener" | This attribute instructs the browser to navigate to the target resource without granting the new browsing context access to the document that opened it.
This is especially useful when opening untrusted links. https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/noopener
## Breaking down the <img> attributes:
<!-- Replace # with your profile URL. Delete whatever you don't need & create your own brand styles in css/brands.css -->
1.) class="icon" | This class is telling the <img> tag that it should use the styling for icons found in `css/brands.css`.
2.) src="icons/[icon_name].svg" | This defines the icon you would like to display from the icons/ folder. For example, you can change this to src="icons/discord.svg" to use the Discord icon.
Add your own 24x24 icons to the "icons" folder to reference them. We recommend providing a SVG.
3.) alt="Example Logo" | This alt attribute helps provides alternate text for an image, this can assist users who use screen readers.
<aclass="button button-facebook"href="#"><imgclass="icon"src="icons/facebook.svg">Find us on Facebook</a>
<aclass="button button-facebook"href="#"target="_blank"rel="noopener"><imgclass="icon"src="icons/facebook.svg"alt="Facebook Logo">Find us on Facebook</a>
<br>
<br>
<!-- Facebook Messenger -->
<!-- Facebook Messenger -->
<aclass="button button-messenger"href="#"><imgclass="icon"src="icons/messenger.svg">Chat on Messenger</a>
<br>
<aclass="button button-messenger"href="#"target="_blank"rel="noopener"><imgclass="icon"src="icons/messenger.svg"alt="Facebook Messenger Logo">Chat on Messenger</a>
<aclass="button button-pinterest"href="#"><imgclass="icon"src="icons/pinterest.svg">Follow on Pinterest</a>
<aclass="button button-pinterest"href="#"target="_blank"rel="noopener"><imgclass="icon"src="icons/pinterest.svg"alt="Pinterest Logo">Follow on Pinterest</a>