repl.it
@Lawrence47/

Day 4 - Challenge 2

HTML, CSS, JS

No description

fork
loading
Files
  • index.html
  • index.css
  • index.js
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
. <!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>repl.it</title>
    <link href="index.css" rel="stylesheet" type="text/css" />
  </head>
  <body>
      <header>
        <h1>How to make tea</h1>
        <img src="https://i.imgur.com/oSVKMED.jpg">
        <p>At the very least, tea is a flavourful way of getting enough fluid into your body each day.
        On top of that, studies have shown teas can help protect your teeth and your heart</p>
    </header>
    <section>
        <h2>ingredients</h2>
        <ul>
            <li>Tea bag</li>
            <li>Water</li>
            <li>Milk - Dairy/Plant-based (Optional)</li>
            <li>Sugar/Honey (Optional)</li>
        </ul>
    </section>
    <section>
        <h2>preparation</h2>
        <ol>
            <li>
                Run the tap a little so the water's nicely aerated, and only boil it once to keep the oxygen level up. Oxygen in water helps flavour!
            </li>
            <li>
                Pop a tea bag into your mug (<em>always</em> a big mug)
            </li>
            <li>
                Pour the hot water over the tea bag and stir briefly.
            </li>
            <li>
                Tea needs time to unlock all its flavour, so give it 3-4 minutes to do its thing. This is a perfect time to grab a sneaky cookie or daydream about vacations.
            </li>
            <li>
                Before removing the tea bag, gently squish it with a spoon against the side of the mug. Not too much or you'll make it bitter.
            </li>
            <li>
                If you want, throw in some milk or sugar or honey or nothing else at all.
            </li>
            <li>
                Enjoy!
            </li>
        </ol>
    </section>
    <footer>
        <p>Copyright Me 2018</p>
    </footer>
    <script src="index.js"></script>
  </body>
</html>
result
console
?