JSFiddle - React, Tailwind, and code Playground
CSS
.add_link_twitter{
position:absolute;
left:15px;
bottom:16px;
color: #a19486;
border: 2px solid transparent;
border-color: #F0EDE8;
border-radius: 4px;
font-size: 13px;
font-weight: bold;
cursor: pointer;
padding: 7px;
padding-top: 5px;
padding-bottom: 5px;
}
.active {
border-color: #468BD0;
color: #468BD0;
background-color: whiteSmoke;
}
.add_link_twitter:hover
{
color: #A19486;
border: 2px solid transparent;
border-color: #C2B1A2;
border-radius: 4px;
background-color: white;
padding: 7px;
padding-top: 5px;
padding-bottom: 5px;
}
JavaScript
function FunctionOne(){
alert('function one');
FunctionTwo(); // call function 2 after function one or you can put the call in hulk.
}
function FunctionTwo(){
alert('function 2');
}
setTimeout(function () {
// stuff
hulk();
FunctionOne();
}
, 1000);
function hulk(){
alert('alot of stuff here');
// do some stuff...
alert('hulk is called');
}
function simpsons(){
// do some stuff...
hulk();
}
function thor(){
// do some stuff...
simpsons();
}