You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
982 B
HTML
41 lines
982 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Quotes</title>
|
|
<style>
|
|
@import url(css/elknernet.css);
|
|
</style>
|
|
<script src="js/quotes.js"></script>
|
|
<script>
|
|
function showQuote() {
|
|
let mainElem = document.getElementById("quotes");
|
|
console.log(mainElem);
|
|
mainElem.innerHTML = "Hellooooooo there ;-)";
|
|
}
|
|
function init() {
|
|
let loc = window.location.href;
|
|
let HTMLvalidLinkStr = 'http://validator.w3.org/check?uri=' + loc;
|
|
let CSSvalidLinkStr = 'http://jigsaw.w3.org/css-validator/validator?uri=' +
|
|
loc + '?profile=css3';
|
|
document.getElementById("vLink1").setAttribute("href", HTMLvalidLinkStr);
|
|
document.getElementById("vLink2").setAttribute("href", CSSvalidLinkStr);
|
|
showQuote();
|
|
}
|
|
window.onload = init;
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<h1>Quotes</h1>
|
|
<main id="quotes">
|
|
</main>
|
|
|
|
<footer>
|
|
<a id="vLink1">
|
|
<strong> HTML </strong> Valid! </a>
|
|
<a id="vLink2">
|
|
<strong> CSS </strong> Valid! </a>
|
|
</footer>
|
|
</body>
|
|
</html>
|