WEB PROGRAMING EXERCISE 11 YouTube Video Link Parameters

 



UNFORTUNATELY I DONT KNOW HOW TO RECORD ON PC AND IM SAVING MY PC SPACE FOR MY WORK RELATED FILES SO IT HAS NO AUDIO, BUT HERE IS THE VIDEO PROOF 


FOR HTML CODES:<!DOCTYPE html>

<html>

<head>

<meta name="viewport" content="width=device-width, initial-scale=1">

<title> Linking Videos </title>

<link rel="stylesheet" href="EXERCISE 11CSS.CSS">

</head>


<body>


<div class="navbar">

<a href="#home">Home</a>

<a href="https://draft.blogger.com/profile/17757393172841162870" target="EMMONZTAH">About</a>


</div>


<div id="row1" class="row">

<div class="column1">


</div>

<div id="row1" class="row">

<div class="column2">

<h1 id="home"> HOME </h1> <h3> ONE OF MAY FAVORITE MUSIC VIDEO  </h3>

<hr>

<h1> kiyo - Eba Official Music Video </h1>

<iframe width="420" height="315"

src="https://www.youtube.com/embed/7hZdxOo2QaA">

</iframe>

<hr>

<h1> WHAT I WATCHED RECENTLY  </h1>


<iframe width="420" height="315" 

src="https://www.youtube.com/embed/nma9cvzdTOI">

</iframe>

<hr>

<h1> WHEN IM HAVING AN ART BLOCK I WATCH </h1>

<p> This video does not display controls </p>

<iframe width="420" height="315"

src="https://www.youtube.com/embed/mmoAckPEizI">

</iframe>

</div>

<div id="row1" class="row">

<div class="column3">


</div>


</body>

</html>


FOR CSS CODE


box-sizing: border-box;

}


body, html {

height: 100%;

min-height: 100vh;

margin: 0;

position: relative;

font-family: "Courier";

background-repeat: no-repeat;

padding-bottom: 30px;

}


iframe:focus {

outline: none;

}


iframe[seamless] {

display: block;

}


.navbar {

overflow: hidden;

background-color: #000000;

}


.navbar a {

float: left;

font-size: 16px;

color: white;

text-align: center;

padding: 14px 16px;

text-decoration: none;

}


.dropdown {

float: left;

overflow: hidden;

}


.dropdown .dropbtn {

font-size: 16px;  

border: none;

outline: none;

color: white;

padding: 14px 16px;

background-color: inherit;

font-family: inherit;

margin: 0;

}


.navbar a:hover, .dropdown:hover .dropbtn {

background-color: #ff546b;

}


.dropdown-content {

display: none;

position: absolute;

background-color: #ffa38c;

min-width: 160px;

box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);

z-index: 1;

}


.dropdown-content a {

float: none;

color: black;

padding: 12px 16px;

text-decoration: none;

display: block;

text-align: left;

}


.dropdown-content a:hover {

background-color: #ffcba6;

}


.dropdown:hover .dropdown-content {

display: block;

}


.row::after {

content: "";

clear: both;

display: table;

}


[class*="col-"] {

float: left;

padding: 15px;

}


.column1 {

float: left;

width: 2%;

background-color: #ffffff;

height: 10px;

}


.column2 {

border: 10px solid #ffffff;

float: left;

width: 96%;

padding-left: 25px;

padding-right: 25px;

}


.column3 {

float: right;

width: 2%;

background-color: #ffffff;

height: 10px;

}


[class*="col-"] {

width: 100%;

}


@media only screen and (min-width: 600px) {

.col-s-1 {width: 8.33%;}

.col-s-2 {width: 16.66%;}

.col-s-3 {width: 25%;}

.col-s-4 {width: 33.33%;}

.col-s-5 {width: 41.66%;}

.col-s-6 {width: 50%;}

.col-s-7 {width: 58.33%;}

.col-s-8 {width: 66.66%;}

.col-s-9 {width: 75%;}

.col-s-10 {width: 83.33%;}

.col-s-11 {width: 91.66%;}

.col-s-12 {width: 100%;}

}


@media only screen and (min-width: 768px) {

.col-1 {width: 8.33%;}

.col-2 {width: 16.66%;}

.col-3 {width: 25%;}

.col-4 {width: 33.33%;}

.col-5 {width: 41.66%;}

.col-6 {width: 50%;}

.col-7 {width: 58.33%;}

.col-8 {width: 66.66%;}

.col-9 {width: 75%;}

.col-10 {width: 83.33%;}

.col-11 {width: 91.66%;}

.col-12 {width: 100%;}

}



Comments

Popular posts from this blog