Tell us what’s happening:
I passed all requirements but one, which is " You should have the same number of .nav-link
and .main-section
elements." I checked that there are 6 .nav-link corresponding to 6 .main-section already. Can you guys look into it?
Your code so far
WARNING
The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.
You will need to take an additional step here so the code you wrote presents in an easy to read format.
Please copy/paste all the editor code showing in the challenge from where you just linked.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=decice-width, initial-scale=1.0">
<link rel="stylesheet" href="./styles.css">
<title>Jellyfish</title>
</head>
<body>
<nav id="navbar">
<header>
<h1>Jellyfish</h1>
</header>
<ul>
<li><a class="nav-link" href="#Introduction" >Introduction</a></li>
<li><a class="nav-link" href="#Taxonomy" >Taxonomy</a></li>
<li><a class="nav-link" href="#Anatomy" >Anatomy</a></li>
<li><a class="nav-link" href="#Ecology" >Ecology</li>
<li><a class="nav-link" href="#Life_Cycle" >Life Cycle</a></li>
<li><a class="nav-link" href="#References" >References</a></li>
</ul>
</nav>
<main id="main-doc">
<section class="main-section" id="Introduction">
<header class="bold">Introduction</header>
<p>
Jellyfish, also known sea jellies, are the medusa-phase of certain gelatinous members of the subphylum Medusozoa, which is a major part of the phylum Cnidaria.
</p>
<p>
Jellyfish are mainly free-swimming marine animals with umbrella-shaped bells and trailing tentacles, although a few are anchored to the seabed by stalks rather than being mobile. The bell can pulsate to provide propulsion for efficient locomotion. The tentacles are armed with stinging cells and may be used to capture prey and defend against predators. Jellyfish have a complex life cycle. The medusa is normally the sexual phase, which produces planula larvae; these then disperse widely and enter a sedentary polyp phase, before reaching sexual maturity.
</p>
<p>
Jellyfish are found all over the world, from surface waters to the deep sea. Scyphozoans (the "true jellyfish") are exclusively marine, but some hydrozoans with a similar appearance live in freshwater. Large, often colorful, jellyfish are common in coastal zones worldwide. The medusae of most species are fast-growing, and mature within a few months then die soon after breeding, but the polyp stage, attached to the seabed, may be much more long-lived. Jellyfish have been in existence for at least 500 million years,[1] and possibly 700 million years or more, making them the oldest multi-organ animal group.[2]
</p>
</section>
<section class="main-section" id="Taxonomy">
<header class="bold">Taxonomy</header>
<p>
Given that jellyfish is a common name, its mapping to biological groups is inexact. Some authorities have called the comb jellies[17] and certain salps[17] jellyfish, though other authorities state that neither of these are jellyfish, which they consider should be limited to certain groups within the medusozoa.[18][19]
</p>
<p>The four known current classes of jellyfish are:</p>
<ul>
<li>Schyphozoa</li>
<li>Cubozoa</li>
<li>Hydrozoa</li>
<li>Staurozoa</li>
<li>Unknown?</li>
</ul>
<p>
The non-medusozoan clades called jellyfish by some but not all authorities (both agreeing and disagreeing citations are given in each case) are indicated with "???" on the following cladogram of the animal kingdom:
</p>
</section>
<section class="main-section" id="Anatomy">
<header class="bold">Anatomy</header>
<p>
The subphylum Medusozoa includes all cnidarians with a medusa stage in their life cycle. The basic cycle is egg, planula larva, polyp, medusa, with the medusa being the sexual stage. The polyp stage is sometimes secondarily lost. The subphylum include the major taxa, Scyphozoa (large jellyfish), Cubozoa (box jellyfish) and Hydrozoa (small jellyfish), and excludes Anthozoa (corals and sea anemones).[26] This suggests that the medusa form evolved after the polyps.[27] Medusozoans have tetramerous symmetry, with parts in fours or multiples of four.[26]
</p>
<p>
There are over 200 species of Scyphozoa, about 50 species of Staurozoa, about 50 species of Cubozoa, and the Hydrozoa includes about 1000–1500 species that produce medusae, but many more species that do not.[28][29]
</p>
</section>
<section class="main-section" id="Ecology">
<header class="bold">Ecology</header>
<p>
Diet Jellyfish are, like other cnidarians, generally carnivorous (or parasitic),[79] feeding on planktonic organisms, crustaceans, small fish, fish eggs and larvae, and other jellyfish, ingesting food and voiding undigested waste through the mouth. They hunt passively using their tentacles as drift lines, or sink through the water with their tentacles spread widely; the tentacles, which contain nematocysts to stun or kill the prey, may then flex to help bring it to the mouth.[26] Their swimming technique also helps them to capture prey; when their bell expands it sucks in water which brings more potential prey within reach of the tentacles.[80]
</p>
<p>
A few species such as Aglaura hemistoma are omnivorous, feeding on microplankton which is a mixture of zooplankton and phytoplankton (microscopic plants) such as dinoflagellates.[81] Others harbour mutualistic algae (Zooxanthellae) in their tissues;[26] the spotted jellyfish (Mastigias papua) is typical of these, deriving part of its nutrition from the products of photosynthesis, and part from captured zooplankton.[82][83] The upside-down jellyfish (Cassiopea andromeda) also has a symbiotic relationship with microalgae, but captures tiny animals to supplement their diet. This is done by releasing tiny balls of living cells composed of mesoglea. These use cilia to drive them through water and stinging cells which stun the prey. The blobs also seems to have digestive capabilities.[84]
</p>
<p>
Predation Other species of jellyfish are among the most common and important jellyfish predators. Sea anemones may eat jellyfish that drift into their range. Other predators include tunas, sharks, swordfish, sea turtles and penguins.[85][86] Jellyfish washed up on the beach are consumed by foxes, other terrestrial mammals and birds.[87] In general however, few animals prey on jellyfish; they can broadly be considered to be top predators in the food chain. Once jellyfish have become dominant in an ecosystem, for example through overfishing which removes predators of jellyfish larvae, there may be no obvious way for the previous balance to be restored: they eat fish eggs and juvenile fish, and compete with fish for food, preventing fish stocks from recovering.[88]
</p>
<p>
Symbiosis Some small fish are immune to the stings of the jellyfish and live among the tentacles, serving as bait in a fish trap; they are safe from potential predators and are able to share the fish caught by the jellyfish.[89] The cannonball jellyfish has a symbiotic relationship with ten different species of fish, and with the longnose spider crab, which lives inside the bell, sharing the jellyfish's food and nibbling its tissues.[90]
</p>
</section>
<section class="main-section" id="Life_Cycle">
<header class="bold">Life Cycle</header>
<p>
Jellyfish have a complex life cycle which includes both sexual and asexual phases, with the medusa being the sexual stage in most instances. Sperm fertilize eggs, which develop into larval planulae, become polyps, bud into ephyrae and then transform into adult medusae. In some species certain stages may be skipped.[66]
</p>
<p>
Upon reaching adult size, jellyfish spawn regularly if there is a sufficient supply of food. In most species, spawning is controlled by light, with all individuals spawning at about the same time of day; in many instances this is at dawn or dusk.[67] Jellyfish are usually either male or female (with occasional hermaphrodites). In most cases, adults release sperm and eggs into the surrounding water, where the unprotected eggs are fertilized and develop into larvae. In a few species, the sperm swim into the female's mouth, fertilizing the eggs within her body, where they remain during early development stages. In moon jellies, the eggs lodge in pits on the oral arms, which form a temporary brood chamber for the developing planula larvae.[68]
</p>
</section>
<section class="main-section" id="References">
<header class="bold">References</header>
<p> All content is taken from <a href="https://en.wikipedia.org/wiki/Jellyfish#cite_note-O'Connor-2009-44">Wikipedia</a></p>
<code>
nani
</code>
<code>
nani
</code>
<code>
nani
</code>
<code>
nany
</code>
<code>
nani
</code>
<code>
nani
</code>
</section>
</main>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Challenge Information:
Technical Documentation Page - Build a Technical Documentation Page