feat: added 03_dom

This commit is contained in:
Philippe Torrel
2026-07-13 10:38:22 +02:00
parent 6292cabfee
commit e0bd3930d9
134 changed files with 21947 additions and 26 deletions

View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Document</title>
<script src="../../../lib/dom_helper.js" defer></script>
<script src="color_change.js" defer></script>
</head>
<body>
<button>Red</button>
<button>Green</button>
<button>Blue</button>
</body>
</html>

View File

@@ -0,0 +1,3 @@
'use strict';
// Implement your code here

View File

@@ -0,0 +1,34 @@
.tabs > nav ul {
margin: 0;
padding: 8px 0 0 5px;
list-style-type: none;
list-style: none;
height: 30px;
border: 1px solid #999999;
background-color: #b0b0b0;
}
.tabs > nav ul li {
display: block;
float: left;
padding: 0 10px;
margin: 0 2px 0 0;
height: 29px;
white-space: nowrap;
line-height: 30px;
border-color: #999999;
border-width: 1px;
border-style: solid solid none solid;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
background-color: #d8d8d8;
background-image: linear-gradient(to bottom, #f9f9f9, #d8d8d8);
}
.tabs > nav ul li:hover {
background-color: #cacaca;
background-image: linear-gradient(to bottom, #eeeeee, #cacaca);
}
.tabs > nav ul li.active {
border-bottom: 2px solid #f9f9f9;
background-image: none;
background-color: #f9f9f9;
}

View File

@@ -0,0 +1,45 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>SEO Seminar: 2-tägige Schulung Suchmaschinenoptimierung</title>
<link href="tabs.css" media="all" rel="stylesheet" type="text/css" />
<script src="../../../lib/dom_helper.js" defer></script>
<script src="tabs.js" defer></script>
</head>
<body>
<div class="tabs">
<nav>
<ul>
<li>Overview</li>
<li>Topics</li>
<li>Learning Objectives</li>
<li>Date</li>
</ul>
</nav>
<article>
<h1>2-day SEO intensive seminar: with search engine optimization (SEO) to success on the web!</h1>
<p>&hellip;</p>
</article>
<article>
<h2>Topics</h2>
<p>&hellip;</p>
</article>
<article>
<h2>Learning Objectives</h2>
<p>&hellip;</p>
</article>
<article>
<h2>Date</h2>
<p>&hellip;</p>
</article>
</div>
</body>
</html>

View File

@@ -0,0 +1,3 @@
'use strict';
// Implement your code here