Skip to content

Commit 2bf9209

Browse files
committed
[proj. Lounge] Add classes to lounge.html
Adding/entering classes, styling by them. LP from Books
1 parent d933068 commit 2bf9209

3 files changed

Lines changed: 28 additions & 5 deletions

File tree

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"cSpell.ignoreWords": [
3+
"BYOWS",
34
"Baena",
45
"Simino",
5-
"Starbuzz"
6+
"Starbuzz",
7+
"Webville",
8+
"rosehips"
69
]
710
}

Learning_HTML_CSS_Freeman_E/Lounge/beverages/elixir.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,28 @@
1212
<h1>Our Elixirs</h1>
1313

1414
<h2>Green Tea Cooler</h2>
15-
<p>
15+
<p class="green-tea">
1616
<img src="../img/green.jpg" alt="Image: Green Tea Cooler">
1717
Chock full of vitamins and minerals, this elixir combines the healthful benefits of green tea with a twist of
1818
chamomile blossoms and ginger root.
1919
</p>
2020

2121
<h2>Raspberry Ice Concentration</h2>
22-
<p>
22+
<p class="raspberry-ice">
2323
<img src="../img/lightblue.jpg" alt="Image: Raspberry Ice Concentration">
2424
Combining raspberry juice with lemon grass, citrus peel and rosehips, this icy drink will make your mind feel and
2525
crisp.
2626
</p>
2727

2828
<h2>Blueberry Bliss Elixir</h2>
29-
<p>
29+
<p class="blueberry-bliss">
3030
<img src="../img/blue.jpg" alt="Image: Blueberry Bliss Elixir">
3131
Blueberries and cherry essence mixed into a base of elderflower herb tea will put you in a relaxed state of bliss in
3232
no time.
3333
</p>
3434

3535
<h2>Cranberry Antioxidant Blast</h2>
36-
<p>
36+
<p class="cranberry-antioxidant">
3737
<img src="../img/red.jpg" alt="Image: Cranberry Antioxidant Blast">
3838
Wake up to the flavors of cranberry and hibiscus in this vitamin C rich elixir.
3939
</p>

Learning_HTML_CSS_Freeman_E/Lounge/css/style.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,23 @@ h2 {
1414
p {
1515
color: maroon;
1616
}
17+
18+
em {
19+
font-family: serif;
20+
}
21+
22+
.green-tea {
23+
color: lightgreen;
24+
}
25+
26+
.raspberry-ice {
27+
color: lightskyblue;
28+
}
29+
30+
.blueberry-bliss {
31+
color: violet;
32+
}
33+
34+
.cranberry-antioxidant {
35+
color: lightcoral;
36+
}

0 commit comments

Comments
 (0)