I need help with this <iframe>, I can't insert into the grid layout. I can insert the <iframe> to every part of the website except this grid layout.
Thank you for any help.
.lluncamp2 {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-gap: 30px;
}
.lluncamp2 img {
object-fit: cover;
width: 100%;
max-height: 200px;
}
<div class="lluncamp2">
<div>
<ul>Laundry room-
<li>Coin operated Washing machine</li>
<li>Tumble dryer</li>
<li>FREE Fridge/ Freezer</li>
<li>Shaving and electricity points</li>
</ul>
</div>
<div>
<iframe src="https://www.facebook.com/plugins/video.php?height=314&href=https%3A%2
F%2Fwww.facebook.com%2Fkosmic.suture%2Fvideos%2F1936825236449065%2F&show_text=false&width=560" max-width="560" max-height="314" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write;
encrypted-media; picture-in-picture; web-share" allowFullScreen="true"></iframe></div>
<div>Ample field space to enjoy and play</div>
<div>Chemical disposal point</div>
<div>FREE hot water in both the showers and dishwashing room</div>
<div>Coin operated launderette</div>
</div>
If that is your actual HTML, then the problem is the line break on your src attribute of the iframe tag. It runs fine for me if I change your iframe to:
.lluncamp2 {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-gap: 30px;
}
.lluncamp2 img {
object-fit: cover;
width: 100%;
max-height: 200px;
}
<div class="lluncamp2">
<div>
<ul>Laundry room-
<li>Coin operated Washing machine</li>
<li>Tumble dryer</li>
<li>FREE Fridge/ Freezer</li>
<li>Shaving and electricity points</li>
</ul>
</div>
<div>
<iframe src="https://www.facebook.com/plugins/video.php?height=314&href=https%3A%2F%2Fwww.facebook.com%2Fkosmic.suture%2Fvideos%2F1936825236449065%2F&show_text=false&width=560" max-width="560" max-height="314" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write;
encrypted-media; picture-in-picture; web-share" allowFullScreen="true"></iframe></div>
<div>Ample field space to enjoy and play</div>
<div>Chemical disposal point</div>
<div>FREE hot water in both the showers and dishwashing room</div>
<div>Coin operated launderette</div>
</div>
Related
I'm trying to make a 2 column row for a website. Each row should contain a youtube embedded video on the left side and a title, a paragraph, and PayPal button on the right side.
But whenever I resize the browser window these two columns are overlapping.
Please help!!!
Please check this link to find the page I'm working on:
https://aileyardim.org/qurban-en-1048.htm
<style type="text/css">.column {
float: left;
width: 50%;
}
.row:after {
content: "";
display: table;
clear: both;
}
</style>
<div>
<p>Through this project, our main target is to perform the Islamic ritual of Qurbani and provide meat for those who hardly can afford to have meat themselves – widowed women, orphaned children, refugees, and poor, elderly, or disabled people. When these people receive Qurbani meat, it fosters a real sense of hope for them and allows them to celebrate this occasion along with millions of other Muslims across the world.</p>
<p> </p>
<p>We also perform sacrifices on your behalf, whether it be as an aqeeqah or as a promise, we will fulfill it. Upon request, we can also organize an aqeeqah party on your behalf. Our team will sacrifice the cattle and distribute the meat to the neediest people, amongst the widows, orphans, and the needy – many of whom have not tasted meat in months</p>
<p>Our teams in Syria, Yemen, and in Turkey have sacrificed on behalf of the Muslims and shared meat to the needy families. Please donate generously and feed the needy today!</p>
</div>
<div class="row">
<div class="column"><iframe style="margin:10px;" width="553" height="301" src="https://www.youtube.com/embed/GHiDQoqM6pY" title="Give your Qurbani in Africa" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<p> </p>
</div>
<div class="column">
<h3 style="color:#3c649f">Qurbani in Africa</h3>
<p>Our brothers and sisters in Africa have suffered from continuous poverty and food crisis for decades. To fulfill the Islamic ritual of Qurbani and feed the poor and needy, our team is traveling to Tanzania. We will personally oversee the program and provide fresh meat to needy families. Beneficiaries will be meticulously selected based on need regardless of race or religion. We will hand deliver door to door and in public gathering. At the same time, we will also have the program in other regions, amongst them Chad, Burkina Faso, Kenya among others.</p>
<form action="https://www.paypal.com/donate" method="post" target="_top"><input type="hidden" name="hosted_button_id" value="3AQQU3WENKSEL" /><input type="image" src="https://www.paypalobjects.com/en_US/NL/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" /><img alt="" border="0" src="https://www.paypal.com/en_NL/i/scr/pixel.gif" width="1" height="1" /></form>
</div>
</div>
<p> </p>
<div class="row">
<div class="column"><iframe style="margin:10px;" width="553" height="301" src="https://www.youtube.com/embed/iKbLIQl_-3M" title="Give your Qurbani in Africa" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<p> </p>
</div>
<div class="column">
<h3 style="color:#3c649f">Qurbani in Yemen</h3>
<p>The people of Yemen suffer from harsh economic conditions and food crisis. Thousands of children suffer from malnutrition. Families have forced to each grass and plant to keep up with the crisis. We are striving to support our families in Yemen through this difficulty. Our team in Yemen go to great lengths to ensure high quality animal is selected to ensure only the best quality meat reaches the plates of those who can only taste it once a year. Share the joy this Eid-ul-Adha.</p>
<form action="https://www.paypal.com/donate" method="post" target="_top"><input type="hidden" name="hosted_button_id" value="3AQQU3WENKSEL" /><input type="image" src="https://www.paypalobjects.com/en_US/NL/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" /><img alt="" border="0" src="https://www.paypal.com/en_NL/i/scr/pixel.gif" width="1" height="1" /></form>
</div>
</div>
<p> </p>
<div class="row">
<div class="column"><iframe style="margin:10px;" width="553" height="301" src="https://www.youtube.com/embed/jeDeePATfc4" title="Give your Qurbani in Africa" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<p> </p>
</div>
<div class="column">
<h3 style="color:#3c649f">Qurbani in Afghanistan</h3>
<p>Afghanistan has suffered from decades of occupation and war. Its people bore severe poverty to the point where a father is forced to sell of him daughters as he is unable to feed them. We feel the pain of these families and pledged to stand by them. During Eid-ul-Adha, we share your sacrifices to the most needy. We carefully determine beneficiaries based on need, giving priority to widows and the disabled. We seek to share joy and brotherhood throughout the Eid-ul-Adha festivals.</p>
<form action="https://www.paypal.com/donate" method="post" target="_top"><input type="hidden" name="hosted_button_id" value="3AQQU3WENKSEL" /><input type="image" src="https://www.paypalobjects.com/en_US/NL/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" /><img alt="" border="0" src="https://www.paypal.com/en_NL/i/scr/pixel.gif" width="1" height="1" /></form>
</div>
</div>
<p> </p>
<div class="row">
<div class="column"><iframe style="margin:10px;" width="553" height="301" src="https://www.youtube.com/embed/ndRXpDHEIP4" title="Give your Qurbani in Africa" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<p> </p>
</div>
<div class="column">
<h3 style="color:#3c649f">Qurbani in Syria</h3>
<p>Syria needs no introduction. After over a decade of suffering, families are slowing beginning to move on from the horrors of war. We aim to make the Eid-ul-Adha festivals special for them. Majority of the refugees in the IDP camps cannot afford to sacrifice an animal. We aim to share the vibe of the festival by sharing meat to the most needy families.
Be a part of this goodness and donate your qurbani.</p>
<form action="https://www.paypal.com/donate" method="post" target="_top"><input type="hidden" name="hosted_button_id" value="3AQQU3WENKSEL" /><input type="image" src="https://www.paypalobjects.com/en_US/NL/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" /><img alt="" border="0" src="https://www.paypal.com/en_NL/i/scr/pixel.gif" width="1" height="1" /></form>
</div>
</div>
<h2>For your bank donations:</h2>
<p><strong>Account Name:</strong> Aile Yardimlasma Dernegi<br />
<strong>Branch:</strong> Esenyurt Istanbul<br />
<strong>Branch Code:</strong> 412<br />
<strong>SWIFT Code:</strong> TVBATR2A</p>
<div>
<table>
<tbody>
<tr>
<th style="padding: 7.5px;">Currency</th>
<th style="padding: 7.5px;">Account No.</th>
<th style="padding: 7.5px;">IBAN</th>
</tr>
<tr style="padding: 20px;">
<td style="padding: 7.5px; color: #000000;">Turkish Lira (TL)</td>
<td style="padding: 7.5px; color: #000000;">00158007308004989</td>
<td style="padding: 7.5px; color: #000000;">TR15 0001 5001 5800 7308 0049 89</td>
</tr>
<tr style="padding: 20px;">
<td style="padding: 7.5px; color: #000000;">US Dollar ($)</td>
<td style="padding: 7.5px; color: #000000;">00158048017278296</td>
<td style="padding: 7.5px; color: #000000;">TR96 0001 5001 5804 8017 2782 96</td>
</tr>
<tr style="padding: 20px;">
<td style="padding: 7.5px; color: #000000;">Euro (€)</td>
<td style="padding: 7.5px; color: #000000;">00158048017278306</td>
<td style="padding: 7.5px; color: #000000;">TR20 0001 5001 5804 8017 2783 06</td>
</tr>
<tr style="padding: 20px;">
<td style="padding: 7.5px; color: #000000;">GBP (£)</td>
<td style="padding: 7.5px; color: #000000;">00158048017278317</td>
<td style="padding: 7.5px; color: #000000;">TR14 0001 5001 5804 8017 2783 17</td>
</tr>
</tbody>
</table>
</div>
<div>
<p>When you donate please don't forget to mention the purpose of your donation in the description section of the transaction.</p>
</div>
<p> </p>
<h2>More from our previous years of Qurbani & Aqeeqah</h2>
<p> </p>
<iframe style="margin:10px;" width="460" height="259" src="https://www.youtube.com/embed/RT_OuU5iXc0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe><iframe style="margin:10px;" width="460" height="259" src="https://www.youtube.com/embed/6wyGBakTOLY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe><iframe style="margin:10px;" width="460" height="259" src="https://www.youtube.com/embed/u7pnKDU3E0Q" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe><iframe style="margin:10px;" width="460" height="259" src="https://www.youtube.com/embed/LGOAueA19gg" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<p> </p>
These iframe width are 553px, so it will overlapping when .row width under 1106px(553*2).
Use max(), if .row > 1106px, .column = 50%. If .row < 1106px, .column = 553px.
With display: flex; & flex-wrap: wrap;, .column will wrap if .row don't have enough width.
.column {
width: max(553px, 50%);
}
.row {
display: flex;
flex-wrap: wrap;
}
.row:after {
content: "";
display: table;
clear: both;
}
Instead of using class="column" Please use class="col-12 col-lg-6" This will help to avoid overlapping. Its only for mobile view.
If you need for ipad like that pls use col-md and col-sm
Pls refer this https://www.w3schools.com/bootstrap/bootstrap_grid_examples.asp
On our site, we use vimeo to display a carousel video of "signature styles" on our homepage. I would like to add a link so that when you click this video, it will direct you the a "signature styles" page.
I am new to using liquid/shopify. I know how to do this in HTML, but it doesn't appear to be working like I thought.
Here is the original code in the "background-video.liquid" file:
<section class="Section" id="section-{{ section.id }}" data-section-id="{{ section.id }}" data-section-type="background-video" data-section-settings='{{ section_settings }}'>
<div class="ImageHero {% if section.settings.section_size != 'normal' %}ImageHero--{{ section.settings.section_size }}{% endif %}">
<div class="ImageHero__VideoHolder"></div>
</div>
</section>
And here is some code I tried to replace the above lines with:
<a href="https://www.clarasunwoo.com/search?q=signature+styles&type=product">
<div style="padding:56.25% 0 0 0;position:relative;">
<iframe src="https://vimeo.com/540236561" style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
</div><script src="https://player.vimeo.com/api/player.js"></script>
</a>
All you need to do is create an overlay div that "blocks" the actual iframe from being interacted with via z-index. You can then use JavaScript to handle the click and redirection of the user.
<div style="padding: 56.25% 0 0 0; position: relative">
<iframe
src="https://vimeo.com/540236561"
style="
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
"
frameborder="0"
allow="autoplay; fullscreen"
allowfullscreen
></iframe>
<div class="overlay" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 99;"></div>
</div>
<script src="https://player.vimeo.com/api/player.js"></script>
<script>
const overlay = document.querySelector(".overlay");
overlay.onclick = function () {
window.location.href = "https://www.clarasunwoo.com/search?q=signature+styles&type=product";
};
</script>
I want to show a trailer and informational text next to it in my slick slider. However, they are positioned on top of each other whatever I try.
I have tried flexbox, and position them in rows. I also tried inline display, and float right and left for each div.
/* Styling the Trailer Slick Slider */
.single-item-rtl {
max-width: 1100px;
position: relative;
top: 0;
left: 0;
display: block;
margin-left: auto;
margin-right: auto;
float: left;
}
/* Styling the Trailer Content */
#captain-marvel,
#endgame {
display: inline-flex;
flex-direction: row;
max-width: 1000px;
}
<article id="secondThirdArticle">
<div class="middleh3">Trailers & New Releases</div>
</br>
<div class="inner-grid">
<div dir="rtl" class="single-item-rtl">
<div id="captain-marvel">
<div>
<h4> Captain Marvel </h4>
<p>The MCU’s most powerful hero is set to land on the big screen. Brie Larson stars as Carol Danvers, aka Captain Marvel, alongside Samuel L. Jackson as Nick Fury, and Jude Law as Walter Lawson. In the midst of an inter-galactic war that threatens
to destroy the Earth, Carol Danvers must rise to a seemingly impossible challenge. Following the post-credit teaser of Avengers: Infinity War Part One, Captain Marvel is one of the most eagerly anticipated films of the year.</p>
</div>
<div>
<iframe width="504" height="284" src="https://www.youtube.com/embed/Z1BCujX3pw8" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</br>
</div>
<div id="endgame">
<div>
<h4> Avengers: Endgame </h4>
<p>The grave course of events set in motion by Thanos that wiped out half the universe and fractured the Avengers ranks compels the remaining Avengers to take one final stand in Marvel Studios' grand conclusion to twenty-two films, Avengers: Endgame.</p>
</div>
<div>
<iframe width="504" height="284" src="https://www.youtube.com/embed/TcMBFSGVi1c" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</br>
</div>
</div>
</div>
</br>
See All Trailers
</article>
`
I want some centred text with a header on the side of the trailer. They end up on top of each other. See website: http://www.student.city.ac.uk/~aczc972/
On the parent, use
display: flex;
align-items: center;
and it will line them up left-right. Just make sure the other components are direct children of the parent you put these styles on!
Use the grid exhibition layout. Basically you set a two columns: the text column and the trailer column and make sure that both occupy the role parent div. By doing so, you will properly separate both contents.
You may also search more properties of it such as spacing and better ways for organize your template. But basically, you could separate divs as follows:
html:
<div id="captain-marvel">
<div id="captain-marvel-title><h4> Captain Marvel </h4>
<p>The MCU’s most powerful hero is set to land on the big screen. Brie Larson stars as Carol Danvers, aka Captain Marvel, alongside Samuel L. Jackson as Nick Fury, and Jude Law as Walter Lawson. In the midst of an inter-galactic war that threatens to destroy the Earth, Carol Danvers must rise to a seemingly impossible challenge. Following the post-credit teaser of Avengers: Infinity War Part One, Captain Marvel is one of the most eagerly anticipated films of the year.</p>
</div>
<div id="captain-marvel-trailer">
<iframe width="504" height="284" src="https://www.youtube.com/embed/Z1BCujX3pw8" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</div>
css:
#captain-marvel{
display:grid;
grid-template-columns: 1fr 1fr;
}
#captain-marvel-title{
grid-column:1;
background: red;
}
#captain-marvel-trailer{
grid-column:2;
background: blue;
}
I colored the div so you can see the delimitation between both.
For more information, please check this link
Hope it helps!
/* Styling the Trailer Content */
#captain-marvel, #endgame {
display: inline-flex;
flex-direction: row;
max-width: 1000px;
width: 100%;
}
.left {
float: left;
width: 50%;
}
.right {
float: right;
width: 50%;
}
The bottom paragraph on this HTML page is not following the other <p> in this HTML site. It may be because I forgot to end something, but I don't know.
<!DOCTYPE html>
<html lang="en">
<body style=";">
<head>
<body background="https://images.rapgenius.com/92abc49a4468f440d86e3c66541f0a2b.1000x991x1.jpg">
<title>Video Editor As A Career</title>
<style>
header{
background-color: #c6c6c6;
padding: 30px;
text-align: center;
font-size: 35px;
color: black;
}
p {
color: red;
font-size: 20px;
font-family: Helvetica;
}
nav ul {
list-style-type: none;
padding: 10;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
width: 25%;
background-color: #f1f1f1;
position: fixed;
height: 40%;
overflow: auto;
}
li a {
display: block;
color: #000;
padding: 8px 16px;
text-decoration: none;
}
li a.active {
background-color: #4CAF50;
color: white;
}
li a:hover:not(.active) {
background-color: #555;
color: white;
}
section:after {
content: "";
display: table;
clear: both;
padding: 20;
}
#media (max-width: 600px) {
nav, article {
width: 100%;
height: auto;
}
}
</head>
</style>
<body>
<header style="font-family:comic sans ms;"><u><b>Video Editor As A Career</b></u></header>
<section>
<nav>
<ul>
<li>MyBlueprint </li>
<li>The Role of A Video Editor</li>
<li>Software</li>
<li>Requirements To Be A Video Editor</li>
<li>What Does A Video Editor Do</li>
<li>Colleges and Universities</li>
<li>Demand</li>
</ul>
</nav>
<div style="margin-left:25%;padding:1px 16px;height:1000px;">
<article>
<a name="targetname1"></a>
<h1 style="color:white;"> <center><b>The Role of A Video Editor</b></center></h1>
<p style="color:white;"> Have you ever seen any of those flashy commercials advertising a brand new product or a very high quality video on Youtube? Chances are is that the video was created by a video editor. Large companies like Microsoft or Cheerios have dedicateds video editors to make their new products look the best, sometimes even better! A video editor must attend either a University, College or Apprenticeship, which would have to be related to film. </p>
link text
<br>
<br>
<hr size=6 width=675 color="white">
<br>
<a name="targetname"></a>
<h1 style="color:white;"> <center><a style="color:white;" href="https://searchmicroservices.techtarget.com/definition/software"><b> Software</b></a></center></h1>
<p style="color:white;">Of course to edit videos you need some sort of software. Professionals use software such as Adobe Premiere or Vegas Pro 16 (older versions of these softwares are not to shabby). In theses softwares you are able to add keyframes, trim/cut the video and many other stylish features. Also a part of video editing is editing audio. For smaller companies you may be asked to not only to edit the video, but also edit the audio. This is no problem with Audacity which is free! </p>
<a href="https://www.audacityteam.org/">
<img src="https://www.audacityteam.org/wp-content/themes/wp_audacity/img/logo.png" width"150" height="150"></a>
<a href="https://www.vegascreativesoftware.com/ca/vegas-pro/">
<img align="right" src="https://vignette.wikia.nocookie.net/logopedia/images/0/0a/Sony_Vegas_Pro_14_icon.png/revision/latest?cb=20160925095337" width"150" height="150"></a>
<br>
<hr size=6 width=675 color="white">
<br>
<a name="targetname2"></a>
<table border="1" cellpadding="5" cellspacing="5">
<caption style="color:white;font-size:150%;" align="top"> <b>Requirements To Be A Video Editor</b></caption>
<tr><center>
<th bgcolor="#ffffcc"> A Masters Degree In Film Production</th>
<th bgcolor="#ffffcc"> Film Degree </th>
<th bgcolor="#ffffcc"> A Bachelor's Degree of Fine Arts</th></center>
<tr>
</table>
<br>
<p style="color:white;"> Video/film editing could be very profitable. The best of the best were able to make over $120,000! In Ontario the provincial average is $49,000, but with a high of $76,000. There is also other ways to make money such as websites like Youtube, Vimeo, Instagram and many other social platforms which would allow you to make money from ads on the website. Some have been able to make these video editing on these sites a full time job and have been very profitable!
<hr size=6 width=675 color="white">
<center>
<a name="targetname3"></a>
<h1 style="color:white;">What Does A Video Editor Do?<h1>
<iframe width="560" height="315" src="https://www.youtube.com/embed/lRgLUTXnZ6I" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</center>
<hr size=6 width=675 color="white">
<center>
<a name="targetname6"></a>
<h1 style="color:white;"><b>Colleges and Universities With Editing/Film Courses</b><h1>
<br>
<a href="http://sites.utoronto.ca/ic/mediaproduction/index.html">
<img src="https://media.licdn.com/dms/image/C560BAQE2yEMrkNmDVw/company-logo_200_200/0?e=2159024400&v=beta&t=b_kXBEkvYUuMueM85D5Il458Ekzgy8OEj5SPITi6P8w"></a>
<a href="https://www.okanagan.bc.ca/home.html">
<img src="https://pbs.twimg.com/profile_images/322923752/OKCollegeCol_400x400.gif" height="200px" width="200px" ></a>
<a href="https://stanfordvideo.stanford.edu/editing/">
<img src="https://upload.wikimedia.org/wikipedia/en/thumb/b/b7/Stanford_University_seal_2003.svg/1200px-Stanford_University_seal_2003.svg.png" height="200px" width="200px"></center></a>
<br>
<hr size=6 width=675 color="white">
<br>
<center><h1 style="color:white;"><b>The Life Of A Film/Video Editor</b><h1>
<a name="targetname5"></a>
<iframe width="560" height="315" src="https://www.youtube.com/embed/rB2_KSKVzko" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<hr size=6 width=675 color="white">
<center><h2 style="color:white;font-size:100%"><b>Companies Which Need Video/Editors</b><h2></center>
<a name="targetname6"></a>
**/Here is where the problem is, from here on down/**
<p1 style="color:white;font-size:50%"> Companies which currently require Video/Film editing services include, Universal needs a Graphic Designer and Animation Specialist. Also, Disney needs a Multiplatform Editor. So if you ever wanted to work in the movie business, maybe video editing is your way to go. A company more local, Pureblink requires an Editor/Motion Graphics Designer. There are many more opportunities for Video Editors everywhere!</p1>
<br>
<br>
<br>
Work Cited Page
</body>
</html>
Charis is right - the p1 tags at the bottom are the problem. Paragraph tags are marked with p - not p1, p2, p3, etc like headline tags i.e. h1, h2, h3, etc. This is what Charis was talking about.
As long as you replace the starting and closing p1 tags with p tags you'll be good to go.
<!DOCTYPE html>
<html lang="en">
<body style=";">
<head>
<body background="https://images.rapgenius.com/92abc49a4468f440d86e3c66541f0a2b.1000x991x1.jpg">
<title>Video Editor As A Career</title>
<style>
header{
background-color: #c6c6c6;
padding: 30px;
text-align: center;
font-size: 35px;
color: black;
}
p {
color: red;
font-size: 20px;
font-family: Helvetica;
}
nav ul {
list-style-type: none;
padding: 10;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
width: 25%;
background-color: #f1f1f1;
position: fixed;
height: 40%;
overflow: auto;
}
li a {
display: block;
color: #000;
padding: 8px 16px;
text-decoration: none;
}
li a.active {
background-color: #4CAF50;
color: white;
}
li a:hover:not(.active) {
background-color: #555;
color: white;
}
section:after {
content: "";
display: table;
clear: both;
padding: 20;
}
#media (max-width: 600px) {
nav, article {
width: 100%;
height: auto;
}
}
</head>
</style>
<body>
<header style="font-family:comic sans ms;"><u><b>Video Editor As A Career</b></u></header>
<section>
<nav>
<ul>
<li>MyBlueprint </li>
<li>The Role of A Video Editor</li>
<li>Software</li>
<li>Requirements To Be A Video Editor</li>
<li>What Does A Video Editor Do</li>
<li>Colleges and Universities</li>
<li>Demand</li>
</ul>
</nav>
<div style="margin-left:25%;padding:1px 16px;height:1000px;">
<article>
<a name="targetname1"></a>
<h1 style="color:white;"> <center><b>The Role of A Video Editor</b></center></h1>
<p style="color:white;"> Have you ever seen any of those flashy commercials advertising a brand new product or a very high quality video on Youtube? Chances are is that the video was created by a video editor. Large companies like Microsoft or Cheerios have dedicateds video editors to make their new products look the best, sometimes even better! A video editor must attend either a University, College or Apprenticeship, which would have to be related to film. </p>
link text
<br>
<br>
<hr size=6 width=675 color="white">
<br>
<a name="targetname"></a>
<h1 style="color:white;"> <center><a style="color:white;" href="https://searchmicroservices.techtarget.com/definition/software"><b> Software</b></a></center></h1>
<p style="color:white;">Of course to edit videos you need some sort of software. Professionals use software such as Adobe Premiere or Vegas Pro 16 (older versions of these softwares are not to shabby). In theses softwares you are able to add keyframes, trim/cut the video and many other stylish features. Also a part of video editing is editing audio. For smaller companies you may be asked to not only to edit the video, but also edit the audio. This is no problem with Audacity which is free! </p>
<a href="https://www.audacityteam.org/">
<img src="https://www.audacityteam.org/wp-content/themes/wp_audacity/img/logo.png" width"150" height="150"></a>
<a href="https://www.vegascreativesoftware.com/ca/vegas-pro/">
<img align="right" src="https://vignette.wikia.nocookie.net/logopedia/images/0/0a/Sony_Vegas_Pro_14_icon.png/revision/latest?cb=20160925095337" width"150" height="150"></a>
<br>
<hr size=6 width=675 color="white">
<br>
<a name="targetname2"></a>
<table border="1" cellpadding="5" cellspacing="5">
<caption style="color:white;font-size:150%;" align="top"> <b>Requirements To Be A Video Editor</b></caption>
<tr><center>
<th bgcolor="#ffffcc"> A Masters Degree In Film Production</th>
<th bgcolor="#ffffcc"> Film Degree </th>
<th bgcolor="#ffffcc"> A Bachelor's Degree of Fine Arts</th></center>
<tr>
</table>
<br>
<p style="color:white;"> Video/film editing could be very profitable. The best of the best were able to make over $120,000! In Ontario the provincial average is $49,000, but with a high of $76,000. There is also other ways to make money such as websites like Youtube, Vimeo, Instagram and many other social platforms which would allow you to make money from ads on the website. Some have been able to make these video editing on these sites a full time job and have been very profitable!
<hr size=6 width=675 color="white">
<center>
<a name="targetname3"></a>
<h1 style="color:white;">What Does A Video Editor Do?<h1>
<iframe width="560" height="315" src="https://www.youtube.com/embed/lRgLUTXnZ6I" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</center>
<hr size=6 width=675 color="white">
<center>
<a name="targetname6"></a>
<h1 style="color:white;"><b>Colleges and Universities With Editing/Film Courses</b><h1>
<br>
<a href="http://sites.utoronto.ca/ic/mediaproduction/index.html">
<img src="https://media.licdn.com/dms/image/C560BAQE2yEMrkNmDVw/company-logo_200_200/0?e=2159024400&v=beta&t=b_kXBEkvYUuMueM85D5Il458Ekzgy8OEj5SPITi6P8w"></a>
<a href="https://www.okanagan.bc.ca/home.html">
<img src="https://pbs.twimg.com/profile_images/322923752/OKCollegeCol_400x400.gif" height="200px" width="200px" ></a>
<a href="https://stanfordvideo.stanford.edu/editing/">
<img src="https://upload.wikimedia.org/wikipedia/en/thumb/b/b7/Stanford_University_seal_2003.svg/1200px-Stanford_University_seal_2003.svg.png" height="200px" width="200px"></center></a>
<br>
<hr size=6 width=675 color="white">
<br>
<center><h1 style="color:white;"><b>The Life Of A Film/Video Editor</b><h1>
<a name="targetname5"></a>
<iframe width="560" height="315" src="https://www.youtube.com/embed/rB2_KSKVzko" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<hr size=6 width=675 color="white">
<center><h2 style="color:white;font-size:100%"><b>Companies Which Need Video/Editors</b><h2></center>
<a name="targetname6"></a>
**/Here is where the problem is, from here on down/**
<p style="color:white;font-size:50%"> Companies which currently require Video/Film editing services include, Universal needs a Graphic Designer and Animation Specialist. Also, Disney needs a Multiplatform Editor. So if you ever wanted to work in the movie business, maybe video editing is your way to go. A company more local, Pureblink requires an Editor/Motion Graphics Designer. There are many more opportunities for Video Editors everywhere!</p>
<br>
<br>
<br>
Work Cited Page
</body>
</html>
p1 tag that you use seems wrong.p element is not used as h element to have different "deegrees" based on the size you want to create.
I have the following code. My button works fine, however I cant figure out how you make the function work.
My goal is to create a button that when clicked opens up the iframe for a youtube video/makes it visible.
<body>
<div class="bgimg w3-display-container w3-animate-opacity w3-text-white">
<div class="w3-display-middle">
<h1 class="w3-jumbo w3-animate-top">TAKE YOUR MARK</h1>
<hr class="w3-border-grey" style="margin:auto;width:40%">
<p><button class="w3-center center transparent_btn"
onclick="play1()">go</button></p>
</div>
</div>
</body>
<script>
function play1() {
<iframe width="560" height="315" src="https://www.youtube.com/embed/AkFs3YzxN_E" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
}
You need to have an element that the iframe can be inserted into.
<body>
<div class="bgimg w3-display-container w3-animate-opacity w3-text-white">
<div class="w3-display-middle">
<h1 class="w3-jumbo w3-animate-top">TAKE YOUR MARK</h1>
<hr class="w3-border-grey" style="margin:auto;width:40%">
<p><button class="w3-center center transparent_btn"
onclick="play1()">go</button></p>
<div id="youtube-frame"></div>
</div>
</div>
</body>
<script>
function play1() {
var frame = document.getElementById("youtube-frame");
frame.innerHTML += "<iframe width='560' height='315' src='https://www.youtube.com/embed/AkFs3YzxN_E' frameborder='0' allow='accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe>";
}
</script>
Although youtube offers an API to control the player, but I'll keep things simple.
First, add a div inside your body and give it an ID of your choice.
Your play1() function should be like this:
function play1(){
var player = '<iframe width="560" height="315"
src="https://www.youtube.com/embed/AkFs3YzxN_E" frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-
picture" allowfullscreen></iframe>';
document.getElementById('ID').innerHtml = player;
}