@dmuri
Posted
Hello, nice work!
Actually the javascript is not needed in this project. There is a css pseudo class called active that has the behavior you are looking for. There are two very simple changes in the style.scss file you can make that will allow you to remove the script.js all together.
.on{
color: white;
background-color: $softMagenta;
box-shadow: none;
}
Change .on
to button:activate
.social-actived{
border: 1px solid $softMagenta;
}
Change .social-activated
to .s:activate
Happy coding!