Skip to content

Instantly share code, notes, and snippets.

@anaelleltd
Created March 17, 2019 11:47
Show Gist options
  • Save anaelleltd/a1982044dba127c67a50665c62fb567e to your computer and use it in GitHub Desktop.
Save anaelleltd/a1982044dba127c67a50665c62fb567e to your computer and use it in GitHub Desktop.
Content
Task:
1. Make a simple web site with at least 3 types of pages (you may include a landing page, a gallery page and a contact page).
a. All types shall share a common masthead header, footer and navigation.
2. Make a page controller for each page and set title, heading and other data in variables.
3. Make a master template for every type of page that in turn will include the smaller page parts. (All data can be considered safe
for this exercise, making filtering and escaping unnecessary)
<main>
<a name="maincontent"></a>
<aside> <div id="aside1">
<h2> Raw berries... </h2>
<p> The garden strawberry (or simply strawberry; Fragaria × ananassa) is a widely grown hybrid species of the genus Fragaria (collectively known as the strawberries). It is cultivated worldwide for its fruit. </p>
<p>The fruit (which is not a botanical berry, but an aggregate accessory fruit) is widely appreciated for its characteristic aroma, bright red color, juicy texture, and sweetness. </p>
<img src="images/strawberry.JPG" alt="close-up strawberry fruit" width="350" height="290">
<p> It is consumed in large quantities, either fresh or in such prepared foods as preserves, fruit juices, ice creams, milkshakes, and chocolates.</p>
<p> Artificial strawberry flavorings and aromas are also widely used in many products like lip gloss, candy, hand sanitizers, perfume, and many others.</p> </div>
</aside>
<section>
<h2> Extraordi-berries... </h2>
<h3> This section contains critical information about strawberries: varieties, planting, calories, vitamins, minerals, etc. Anything that would make you appreciate growing and consuming strawberries. </h3>
<article> <div id="article1"> <span class="artitle">Cultivation</span>
<h3> Source: Wikipedia. </h3>
<p> Strawberry cultivars vary widely in size, color, flavor, shape, degree of fertility, season of ripening, liability to disease and constitution of plant.On average, a strawberry has about 200 seeds on its external membrane.Some vary in foliage, and some vary materially in the relative development of their sexual organs. In most cases, the flowers appear hermaphroditic in structure, but function as either male or female. <br/>For purposes of commercial production, plants are propagated from runners and, in general, distributed as either bare root plants or plugs. Cultivation follows one of two general models—annual plasticulture,[10] or a perennial system of matted rows or mounds.Greenhouses produce a small amount of strawberries during the off season.</p>
<p> The bulk of modern commercial production uses the plasticulture system. In this method, raised beds are formed each year, fumigated, and covered with plastic to prevent weed growth and erosion. Plants, usually obtained from northern nurseries, are planted through holes punched in this covering, and irrigation tubing is run underneath. Runners are removed from the plants as they appear, in order to encourage the plants to put most of their energy into fruit development. At the end of the harvest season, the plastic is removed and the plants are plowed into the ground. </p>
<p> Because strawberry plants more than a year or two old begin to decline in productivity and fruit quality, this system of replacing the plants each year allows for improved yields and denser plantings.However, because it requires a longer growing season to allow for establishment of the plants each year, and because of the increased costs in terms of forming and covering the mounds and purchasing plants each year, it is not always practical in all areas. </p>
<p> The other major method, which uses the same plants from year to year growing in rows or on mounds, is most common in colder climates.It has lower investment costs, and lower overall maintenance requirements.Yields are typically lower than in plasticulture. </p>
<p> Another method uses a compost sock. Plants grown in compost socks have been shown to produce significantly higher oxygen radical absorbance capacity (ORAC), flavonoids, anthocyanins, fructose, glucose, sucrose, malic acid, and citric acid than fruit produced in the black plastic mulch or matted row systems. Similar results in an earlier 2003 study conducted by the US Dept of Agriculture, at the Agricultural Research Service, in Beltsville Maryland, confirms how compost plays a role in the bioactive qualities of two strawberry cultivars. </p>
<img src="images/strawberriesplant.JPG" alt="Strawberries plants ornament" width="400" height="280"> </div>
</article>
<article> <div id="article2"> <span class="artitle">Nutrients </span>
<h3> Source: Wikipedia </h3>
<p> One serving (100g) of strawberries contains approximately 33 kilocalories, is an excellent source of vitamin C, a good source of manganese, and provides several other vitamins and dietary minerals in lesser amounts.Strawberries contain a modest amount of essential unsaturated fatty acids in the achene (seed) oil.</p>
<img src="images/strawberriesnutrients.jpg" alt="strawberries displays at market" width="300" height="250">
<br> <h4> Vitamins include: </h4>
<ol>
<li>Thiamine</li>
<li>Riboflavin</li>
<li>Niacine</li>
<li>Pantothenic acid</li>
<li>Vitamin B</li>
<li>Folate</li>
<li>Chloline.</li>
<li>Vitamin C</li>
<li>Vitamin E</li>
<li>IVitamin K</li>
</ol>
<br> <h4> Minerals include: </h4>
<ol>
<li>Calcium</li>
<li>Iron</li>
<li>Magnesium</li>
<li>Manganese</li>
<li>Phosphorus</li>
<li>potassium </li>
<li>Sodium </li>
<li>Zinc</li>
</ol>
<p> Some people experience an anaphylactoid reaction to eating strawberries. The most common form of this reaction is oral allergy syndrome, but symptoms may also mimic hay fever or include dermatitis or hives, and, in severe cases, may cause breathing problems.</p>
</div>
</article>
</section>
<aside> <div id="aside2">
<h2> Healthy berries... </h2>
<p> Few studies have directly examined the effects of eating strawberries on human health. </p>
<p>However, limited research indicates that strawberry consumption may be associated with a decreased cardiovascular disease risk and that phytochemicals present in strawberries have anti-inflammatory or anticancer properties in laboratory studies.</p>
<img src="images/strawberries.jpg" alt="close-up strawberry fruit" width="350" height="290">
<p> Epidemiological studies have associated strawberry consumption with lower rates of hypertension, inflammation, cancer, and death from cardiovascular diseases.</p>
</div>
</aside>
</main>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment