FCC_Twitch.tv

Size
3,466 Kb
Views
18,216

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 Previews

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(); }); });
});
FCC_Twitch.tv - Script Codes
FCC_Twitch.tv - Script Codes
Home Page Home
Developer Mitchell Swaffield
Username MitchES
Uploaded October 01, 2022
Rating 3
Size 3,466 Kb
Views 18,216
Do you need developer help for FCC_Twitch.tv?

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!

Mitchell Swaffield (MitchES) Script Codes
Create amazing web content with AI!

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!