FCC_Twitch.tv
How do I make an fcc_twitch.tv?
What is a fcc_twitch.tv? How do you make a fcc_twitch.tv? This script and codes were developed by Mitchell Swaffield on 01 October 2022, Saturday.
FCC_Twitch.tv - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>FCC_Twitch.tv</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha.6/css/bootstrap.min.css'>
<link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <body> <div class="container"> <div class="title"> <div class="wrapper"> <img id="pageTitle" src="http://i58.photobucket.com/albums/g254/mswaffield/Twitch_logo_zpsujji1mhu.png"> <div class="eyeBox"> <div id="eye1" class="eyes"></div> <div id="eye2" class="eyes"></div> </div> </div> </div> <div class="streamerBox"> <div class="filters"> <div class="button online"><i class="fa fa-user-circle-o" aria-hidden="true"></i> Online</div> <div class="button offline"><i class="fa fa-user-circle" aria-hidden="true"></i> Offline</div> <div class="button all"><i class="fa fa-users" aria-hidden="true"></i> All</div> </div> <div class="streamers"> </div> </div> </div>
</body> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
FCC_Twitch.tv - Script Codes CSS Codes
html { height: 100%; width: 100%;
}
body { height: 100%; width: 100%; background: #6441A4; background: -webkit-linear-gradient(left, rgba(100, 65, 164, 0), rgba(100, 65, 164, 1)); background: -o-linear-gradient(right, rgba(100, 65, 164, 0), rgba(100, 65, 164, 1)); background: -moz-linear-gradient(right, rgba(100, 65, 164, 0), rgba(100, 65, 164, 1)); background: linear-gradient(180deg, rgba(100, 65, 164, 0), rgba(100, 65, 164, 1)); background-repeat: no-repeat; background-size: 100%;
}
.container { height: 100%; width: 100%; /*left:-150px;*/
}
.title { margin-top: 25px; position: absolute; width: 300px; height: auto; -webkit-animation: title 9s infinite; animation: title 9s infinite; left: 50%; transform: translate(0%, -50%);
}
.wrapper { left: -150px; margin: auto; position: relative; width: 100%; height: auto;
}
#pageTitle { width: 300px; height: auto; position: absolute;
}
.eyeBox { left: 210px; top: 20px; position: relative;
}
.eyes { background-color: #6441A4; width: 8px; height: 22px; margin-left: 5px; display: inline-block; -webkit-animation: eyes 10s infinite; animation: eyes 10s infinite;
}
.streamerBox { left: 50%; transform: translate(-50%, 0%); position: absolute; top: 240px; width: 470px; min-height: 470px; max-height: 670px; background-color: #e7e7e7; padding: 10px 10px; overflow: scroll; overflow-x: hidden; border-radius: 1px;
}
.filters { position: relative; width: 450px; height: 50px; /*background-color:pink;*/ padding: 5px 5px;
}
.button { padding: 7px 5px 0px 5px; text-align: center; height: 40px; width: 143px; display: inline-block; cursor: pointer; transition: 0.2s; border-radius: 1px;
}
.button:hover { border-radius: 0px 0px 20px 0px; transition: 0.2s;
}
.all { background-color: rgba(0, 0, 255, 0.2);
}
.online { background-color: rgba(0, 128, 0, 0.2);
}
.offline { background-color: rgba(255, 0, 0, 0.2);
}
.streamers { width: 439px; position: relative; margin-left: 5px; /* background-color:rgba(0, 0, 255, 0.1);*/ transition: 0.2s; /*background-color:pink;*/
}
.streamers:first-child { margin-top: 1rem;
}
.user,
.status { display: inline-block;
}
.user { margin-right: 5px; text-align: left; width: 300px;
}
.status { margin-left: 5px; text-align: right; width: 90px;
}
.game { text-align: center; color: #606060;
}
.userImage { width: 50px; height: 50px; border-radius: 100%; margin: 0px 10px;
}
div .Online { background-color: rgba(0, 128, 0, 0.1);
}
div .Offline { background-color: rgba(255, 0, 0, 0.1); \
}
.userFilter { padding-top: 10px; border-radius: 1px;
}
hr { margin-bottom: 2px;
}
/*--'twitch' animation--*/
@keyframes title { 0% { transform: rotateX(0deg); } 98% { transform: rotateX(0deg); } 99% { transform: rotateX(20deg); } 100% { transform: rotateX(0deg); }
}
-webkit-@keyframes title { 0% { transform: rotateX(0deg); } 98% { transform: rotateX(0deg); } 99% { transform: rotateX(20deg); } 100% { transform: rotateX(0deg); }
}
/*--Blinking Eyes on 'glitch'--*/
@keyframes eyes { 0% { height: 22px; } 10% { height: 22px; } 12.5% { height: 0px; } 15% { height: 22px; } 40% { height: 22px; } 42.5% { height: 0px; } 45% { height: 22px; } 75% { height: 22px; } 77.5% { height: 0px; } 80% { height: 22px; } 82.5% { height: 0px; } 85% { height: 22px; } 100% { height: 22px; }
}
-webkit-@keyframes eyes { 0% { height: 22px; } 10% { height: 22px; } 12.5% { height: 0px; } 15% { height: 22px; } 40% { height: 22px; } 42.5% { height: 0px; } 45% { height: 22px; } 75% { height: 22px; } 77.5% { height: 0px; } 80% { height: 22px; } 82.5% { height: 0px; } 85% { height: 22px; } 100% { height: 22px; }
}
FCC_Twitch.tv - Script Codes JS Codes
$(document).ready(function() { var apiID = "https://wind-bow.gomix.me/twitch-api/channels/"; var userList = ["ESL_SC2", "OgamingSC2", "cretetion", "freecodecamp", "storbeck", "habathcx", "RobotCaleb", "noobs2ninjas", "speedgaming", "lck1", "abusivepillow", "brunofin", "comster404"]; userList.forEach(function(user) { $.getJSON(apiID + user + "?callback=?", function(userData) { logo = "http://www-cdn.jtvnw.net/images/xarth/404_user_600x600.png"; url = userData.url; userName = user; if (userData.game === null) { logo = userData.logo; status = "Offline" game = ""; } else if (userData.game === undefined) { status = "Offline" game = ""; } else { logo = userData.logo; userName = userData.display_name; //url = userData.url game = userData.game; status = "Online"; }; newStreamer = ("<div class='userFilter " + status + "'><div class='user'><a href='" + url + "' target='_blank'><img class='userImage' src='" + logo + "'/></a><a href='" + url + "' target='_blank'>" + userName + "</a></div><div class='status'>" + status + "</div><div class='game'>" + game + "</div><hr></div>"); $(newStreamer).appendTo(".streamers"); }); }); $(".all").click(function() { $(".userFilter").show(); }); $(".online").click(function() { $('.userFilter').filter(function() { $(".Online").show(); $(".Offline").hide(); }); }); $(".offline").click(function() { $('.userFilter').filter(function() { $(".Offline").show(); $(".Online").hide(); }); });
});
Developer | Mitchell Swaffield |
Username | MitchES |
Uploaded | October 01, 2022 |
Rating | 3 |
Size | 3,466 Kb |
Views | 18,216 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Interactive Map | 33,076 Kb |
FCC_portfolioPage | 5,200 Kb |
FCC_Wikipedia Viewer | 2,968 Kb |
Options Timetable Choices | 3,043 Kb |
Music Player - Spotify Clone | 4,373 Kb |
Rotating Image Gallery | 3,020 Kb |
Clip Path Animation | 1,803 Kb |
Planets | 2,636 Kb |
FCC_tributePage | 4,873 Kb |
Ghostly 404 Page | 3,669 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
RWD Conversion Practice | Jxqr97 | 2,743 Kb |
A Pen by Dalton Liu | Liudalton | 12,437 Kb |
Blockquote design | Sjmcpherson | 1,863 Kb |
Headroom.js demo | WickyNilliams | 3,982 Kb |
Ocean | Gordonnl | 2,817 Kb |
Android Logo with HTML and CSS | Wifi | 2,000 Kb |
TestTube CSS | EZPK | 2,710 Kb |
Filter inputs | Rowinf | 1,721 Kb |
CSS Org Chart | Appirio-ux | 3,882 Kb |
CSS3 Form | Tusharbandal | 1,836 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!