html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<iframe src="https://kapilunstoppable.github.io/Netflix-Frontend-responsive/"></iframe>
<footer>
<button id="channel">Click me</button>
</footer>
<script>
document.getElementById("channel").addEventListener('click',function(){
window.location.href ="https://youtube.com/@unstoppable_coding?si=YPmxZcDKIE8rGETS"
})
</script>
</body>
</html>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
*{
padding:0;
margin:0;
box-sizing:border-box ;
background-color: black;
}
iframe{
width:100%;
height:100vh;
border:none;
outline:none;
}
#channel{
width:350px;
padding:8px;
margin-bottom:20px;
font-size:20px;
color: white;
background-color: red;
outline:none;
border:none;
border-radius:5px;
cursor:pointer ;
}
Enter to Rename, Shift+Enter to Preview
js
js
1
alert ("Pls subscribe my channel , Link is at the end of code 😀")
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Запуск