Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 54743a7

Browse files
committed
Add CSS demo files
1 parent 0849de0 commit 54743a7

File tree

4 files changed

+62
-9
lines changed

4 files changed

+62
-9
lines changed

teacher-prep/README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@ In here, you will find any planning that teachers who have delivered this course
88
* Past Experiences
99
* Live Coding Exercises
1010

11-
# Presentation Links
11+
## Presentations
1212

13-
Presentation for Week 2 and 3
13+
[Week 1](Week 1/Slides.pdf)
1414

15-
https://docs.google.com/presentation/d/15kA3FE5xS-GNWS60XtdtrzI8yzQV92FBtqtD_epT-4s/edit
16-
17-
Useful links for Week 2 and 3
18-
19-
* [Responsive Web Design Tutorials](https://www.youtube.com/watch?v=3tLb3i7GB38&list=PL4cUxeGkcC9g9Vh9MAA-XKnfJsWZnPZFw)
20-
* [Positioning Tutorials](https://www.youtube.com/watch?v=7ZXsPj43heo&list=PL4cUxeGkcC9hudKGi5o5UiWuTAGbxiLTh)
21-
* [Flexbox Tutorials](https://www.youtube.com/watch?v=Y8zMYaD1bz0&list=PL4cUxeGkcC9i3FXJSUfmsNOx8E7u6UuhG)
15+
## Live Coding Exercises
2216

17+
* [Simple HTML file](Week 1/examples/simple.html) - Shows the structure of a simple **index.html** file.
18+
* [Non-semantic elements demo](Week 1/examples/elements.html) - Demonstrates the use of non-semantic elements in a web page.
19+
* [Attributes demo](Week 1/examples/attributes.html) - Demonstrates various HTML elements that accept certain attributes.
20+
* [CSS demo](Week1 /examples/index.html) - Demonstrates various CSS styling techniques.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<!DOCTYPE <!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<title>Week1 CSS</title>
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
9+
<!-- Link your external .css file -->
10+
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />
11+
</head>
12+
<body>
13+
<section>
14+
<div>
15+
<h1 aria-label="" class="cont">This is a header.</h1>
16+
<p class="text">hello</p>
17+
</div>
18+
19+
<div class="cont">
20+
<h1 id="header1">This is a header.</h1>
21+
<p class="text">hrllo</p>
22+
</div>
23+
</section>
24+
</body>
25+
</html>
26+
27+
<!-- <style>
28+
h1{
29+
color: aqua;
30+
background: black;
31+
text-align: center;
32+
}
33+
</style> -->

teacher-prep/Week 1/examples/main.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/* inherit a secondery .css file */
2+
/* @import "second.css"; */
3+
4+
5+
h1,p{
6+
background: blue;
7+
text-align: center;
8+
}
9+
10+
/* div .cont{
11+
color: green;
12+
} */
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
h2{
3+
color: green;
4+
}
5+
6+
#header1{
7+
color: dodgerblue;
8+
background: firebrick;
9+
}
10+

0 commit comments

Comments
 (0)