Watch the News
How do I make an watch the news?
What is a watch the news? How do you make a watch the news? This script and codes were developed by AppleCrazy on 23 September 2022, Friday.
Watch the News - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Watch the News</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="main"> <div class="cnn" id="cnnbtn"> <img src="http://vignette3.wikia.nocookie.net/logopedia/images/0/09/CNN_International_logo_2014.svg/revision/latest?cb=20161205122246" alt="CNN" class="button" /> </div> <div class="fox" id="foxbtn"> <img src="http://vignette2.wikia.nocookie.net/logopedia/images/9/97/Fox_News_Channel_Logo_%28current%29.svg/revision/latest?cb=20151008014149" alt="FOX News" class="button" /> </div> <div class="bbg" id="bbgbtn"> <img src="https://lh3.googleusercontent.com/-VEB545Y1H1M/AAAAAAAAAAI/AAAAAAAAe2A/8ehmxeZwg5o/s0-c-k-no-ns/photo.jpg" alt="Bloomberg News" class="button" /> </div>
</div>
<div class="title">
<h1>YouTube Live Streams</h1> <em>Who needs a TV subscription?</em>
</div> <script src="js/index.js"></script>
</body>
</html>
Watch the News - Script Codes CSS Codes
body { background: url("http://i.lv3.hbo.com/assets/images/series/the-newsroom/episodes/season-01/04/04-thenewsroom-06-1920.jpg"); background-size: cover; color: white; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
.main { width: 100vw; height: 100vh; display: -webkit-box; display: -ms-flexbox; display: flex; text-align: center; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -ms-flex-pack: distribute; justify-content: space-around; -webkit-box-align: center; -ms-flex-align: center; align-items: center; background: rgba(0,0,0,0.8);
}
.button { cursor: pointer; width: 180px; height: 180px; -webkit-transition: all 0.1s ease-in-out; transition: all 0.1s ease-in-out; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
}
.button:hover { width: 190px; height: 190px; box-shadow: 0 0 40px 1px #ffffff;
}
.button:active { width: 210px; height: 210px;
}
.cnn, .fox, .bbg { width: 210px; height: 210px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center;
}
.title { position: absolute; text-align: center; top: 0; width: 100vw; left: 0; line-height: .5rem; letter-spacing: 0.001rem; font-family: BlinkMacSystemFont;
}
Watch the News - Script Codes JS Codes
var streams = { cnn: "https://youtu.be/N4wFym5SIqQ", fox: "https://youtu.be/ud2eHvIpE7I", bloomberg: "https://youtu.be/Ga3maNZ0x0w"
}
document.getElementById("cnnbtn").onclick = function() { setTimeout(navigateTo(streams.cnn), 300)
}
document.getElementById("foxbtn").onclick = function() { setTimeout(navigateTo(streams.fox), 300)
}
document.getElementById("bbgbtn").onclick = function() { setTimeout(navigateTo(streams.bloomberg), 300)
}
function navigateTo(url) { document.location = url;
}
Developer | AppleCrazy |
Username | applecrazy |
Uploaded | September 23, 2022 |
Rating | 3 |
Size | 2,679 Kb |
Views | 16,192 |
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 |
Signal Reciever | 3,056 Kb |
ISS Live | 2,344 Kb |
Cool Design | 2,127 Kb |
Digital Holiday Card | 3,776 Kb |
Uncartify1 | 2,948 Kb |
Random Quote Generator | 1,446 Kb |
ContentEditable Text Editor | 2,352 Kb |
Basic Equation Generator | 2,810 Kb |
A Pen by AppleCrazy | 1,554 Kb |
Pure JS Webpage | 1,995 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 |
Drag in vanilla js using dotval math instead of translate | Paulq | 2,662 Kb |
Whyutils | LeYvan | 3,752 Kb |
Slide In Panel | Vikvarg | 2,811 Kb |
Savemedia1.1 | EdsonAlcala | 2,148 Kb |
React JS Movie Info App | MTushar | 4,870 Kb |
A Pen by Anoop | Anoopjohn | 330,760 Kb |
JQuery AJAX reddit Exercise | Btholt | 1,777 Kb |
Test | Dviate | 2,668 Kb |
Super Discount | Orrinward | 3,225 Kb |
CSS only simple parallax scroll | Stanssongs | 3,708 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!