CMP-Opdracht12
How do I make an cmp-opdracht12?
What is a cmp-opdracht12? How do you make a cmp-opdracht12? This script and codes were developed by Sanne Van Gastel on 30 July 2022, Saturday.
CMP-Opdracht12 - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CMP-Opdracht12</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1>Let's Play A Game</h1>
<p>Put the artists in alphabetical order</p>
<div class='output'></div>
<div class="container"> <div class='a'>Nightwish</div> <div class='a'>Muse</div> <div class='a'>David Bowie</div> <div class='a'>Foo Fighters</div> <div class='a'>Within Temptation</div> <div class='a'>Halestorm</div> <div class='a'>Tegan and Sara</div> <div class='a'>Delain</div> <div class='a'>Nirvana</div> <div class='a'>Lacuna Coil</div> <div class='a'>Three Days Grace</div> <div class='a'>Laura Jansen</div>
</div> <script src='https://cdnjs.cloudflare.com/ajax/libs/dragula/3.7.2/dragula.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
CMP-Opdracht12 - Script Codes CSS Codes
.gu-transit { opacity: 0.2; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"; filter: alpha(opacity=20);
}
body{ width: 50%; margin: auto; font-family: 'Roboto', sans-serif;
}
.container{ list-style-type: none; }
.a{ background-color: coral; margin: 0.5em 1em 0.5em 0; padding: 0.5em; border-radius: 0.2em;
}
.output{ display: none;
}
.ex-moved { background-color: lightgrey;
}
CMP-Opdracht12 - Script Codes JS Codes
function main() { dragula([document.querySelector('.container')]) .on('drop', function() { var mijnOutput = document.getElementsByClassName("output")[0]; var mijnDivs = document.getElementsByClassName("container")[0].children; var teller = 0; var mijnString = ""; while (teller < mijnDivs.length) { mijnString += mijnDivs[teller].innerHTML + ", "; teller++; } mijnOutput.innerHTML = mijnString.substring(0, mijnString.length-2); });
}
window.onload = function() { main();
}
Developer | Sanne Van Gastel |
Username | SannevanGastel |
Uploaded | July 30, 2022 |
Rating | 3 |
Size | 2,241 Kb |
Views | 40,480 |
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 |
Vex-theme-bottom-right-corner | 2,903 Kb |
CMP5-Opdracht4 | 1,941 Kb |
CMP5-Opdracht13 | 2,195 Kb |
CMP5-Opdracht7 | 13,558 Kb |
Flexslider.js | 9,370 Kb |
CMP5-Opdracht15 | 2,733 Kb |
CMP5-Opdracht16 | 3,031 Kb |
CMP5-Opdracht14 | 3,780 Kb |
CMP5-Opdracht2 | 10,976 Kb |
CMP5-Opdracht11 | 2,642 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 |
STAR WARS LIGHTSABER | Francoiscoron | 4,420 Kb |
Mosaic transition effect between two photos using jQuery | Stathisg | 2,518 Kb |
CSS Google Now | Jackmoran | 3,196 Kb |
Menu | Vivi_Lai | 1,210 Kb |
Blackberry Mock | Zacharyolson | 1,865 Kb |
Count up | Alanshortis | 2,391 Kb |
Navier Stoke Fluid Simulation | Esimov | 8,584 Kb |
Single element checkbox | Ivijaygupta | 1,996 Kb |
SVG Scalable Text | Said_FD | 1,451 Kb |
Whyutils | LeYvan | 3,752 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!