Tell us what’s happening:
Guy i need help, i don’t know where i did wrong " Each
.nav-link should have an
href attribute that links to its corresponding
.main-section (e.g. If you click on a
.nav-link element that contains the text “Hello world”, the page navigates to a
section element with that id)." and i can’t complete this
Your code so far
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 name="viewport" content="width=device-width, initial-scale=1.0"> <meta charset="UTF-8"> <main id="main-doc"> <link rel="stylesheet" href="styles.css"> </head> <body> <nav id="navbar"> <header><h1>Menu<h1></header> <ul> <li> <a class="nav-link" href="Kamenrider">Kamenrider</a> </li> <li> <a class="nav-link" href="Megaman">Megaman</a> </li> <li> <a class="nav-link" href="Superman">Superman</a> </li> <li> <a class="nav-link" href="Batman">Batman</a> </li> <li> <a class="nav-link" href="Spiderman">Spiderman</a> </li> </ul> </nav> <section class="main-section" id="Kamenrider"> <header><h1><code>Kamenrider</code></h1></header> <article> <ul> <li> <p>The Kamen Rider Series (Japanese: 仮面ライダーシリーズ, Hepburn: Kamen Raidā Shirīzu), also known as Masked Rider Series (until Decade), is a Japanese superhero media franchise consisting of tokusatsu television programs, films, manga, and anime, created by manga artist Shotaro Ishinomori. Kamen Rider media generally features a motorcycle-riding superhero with an insect motif who fights supervillains, often known as kaijin (怪人, mystery people).</p></li><br> <li><p>The franchise began in 1971 with the Kamen Rider television series, which followed college student Takeshi Hongo and his quest to defeat the world-conquering Shocker organization. The original series spawned television and film sequels and launched the Second Kaiju Boom (also known as the Henshin Boom) on Japanese television during the early 1970s, impacting the superhero and action-adventure genres in Japan.</p></li> </ul> </article> </section> <section class="main-section" id="Megaman"> <header><h1><code>Megaman</code><h1></header> <article> <ul> <li><p>Mega Man, known as Rockman[a] in Japan, is a Japanese science fiction video game franchise created by Capcom, starring a series of robot characters each known by the moniker "Mega Man". The original game was released for the Nintendo Entertainment System in 1987, and spawned a franchise that expanded to over 50 games on multiple systems. As of July 26, 2022, the series has sold 38 million units worldwide.</p></li><br> <li><p>The classic series consists of eleven games, the standalone Mega Man & Bass, the spin-off Game Boy series (released in Japan as Rockman World), and various ports, remakes, and compilations. The core games in the franchise have all been set in a single continuity; the storyline of the "classic" series is succeeded by the Mega Man X, Mega Man Zero, Mega Man ZX, and the Mega Man Legends series. This timeline excludes the spin-off Mega Man Battle Network and Mega Man Star Force series, both of which take place in an alternate universe where the internet flourished rather than robotics.</p></li> </ul> </article> </section> <section class="main-section" id="Superman"> <header><h1><code>Superman</code><h1></header> <article> <ul> <li><p>Superman is a superhero who appears in American comic books published by DC Comics. The character was created by writer Jerry Siegel and artist Joe Shuster, and debuted in the comic book Action Comics #1 (cover-dated June 1938 and published April 18, 1938). Superman has been adapted to a number of other media, which includes radio serials, novels, films, television shows, theater, and video games.</p></li></br> <li><p>Superman was born on the fictional planet Krypton and was named Kal-El. As a baby, his parents sent him to Earth in a small spaceship moments before Krypton was destroyed in a natural cataclysm. His ship landed in the American countryside, near the fictional town of Smallville. He was found and adopted by farmers Jonathan and Martha Kent, who named him Clark Kent. Clark developed various superhuman abilities, such as incredible strength and impervious skin. His adoptive parents advised him to use his abilities for the benefit of humanity, and he decided to fight crime. To protect his personal life, he changes into a colorful costume and uses the alias "Superman" when fighting crime. Clark resides in the fictional American city of Metropolis, where he works as a journalist for the Daily Planet. Superman's supporting characters include his love interest and fellow journalist Lois Lane, Daily Planet photographer Jimmy Olsen and editor-in-chief Perry White, and enemies such as Brainiac, Darkseid, General Zod, and his archenemy Lex Luthor.</p></li> </ul> </article> </section> <section class="main-section" id="Batman"> <header><h1><code>Batman</code><h1></header> <article> <ul> <li><p>Batman[a] is a superhero appearing in American comic books published by DC Comics. The character was created by artist Bob Kane and writer Bill Finger, and debuted in the 27th issue of the comic book Detective Comics on March 30, 1939. In the DC Universe continuity, Batman is the alias of Bruce Wayne, a wealthy American playboy, philanthropist, and industrialist who resides in Gotham City. Batman's origin story features him swearing vengeance against criminals after witnessing the murder of his parents Thomas and Martha as a child, a vendetta tempered with the ideal of justice. He trains himself physically and intellectually, crafts a bat-inspired persona, and monitors the Gotham streets at night. Kane, Finger, and other creators accompanied Batman with supporting characters, including his sidekicks Robin and Batgirl; allies Alfred Pennyworth, James Gordon, and Catwoman; and foes such as the Penguin, the Riddler, Two-Face, and his archenemy the Joker.</p></li><br> <li><p>Kane conceived Batman in early 1939 to capitalize on the popularity of DC's Superman; although Kane frequently claimed sole creation credit, Finger substantially developed the concept from a generic superhero into something more bat-like. The character received his own spin-off publication, Batman, in 1940. Batman was originally introduced as a ruthless vigilante who frequently killed or maimed criminals, but evolved into a character with a stringent moral code and strong sense of justice. Unlike most superheroes, Batman does not possess any superpowers, instead relying on his intellect, fighting skills, and wealth. The 1960s Batman television series used a camp aesthetic, which continued to be associated with the character for years after the show ended. Various creators worked to return the character to his darker roots in the 1970s and 1980s, culminating with the 1986 miniseries The Dark Knight Returns by Frank Miller.</p></li> </ul> </article> </section> <section class="main-section" id="Spiderman"> <header><h1><code>Spiderman</code><h1></header> <article> <ul> <li><p>Spider-Man is a superhero appearing in American comic books published by Marvel Comics. Created by writer-editor Stan Lee and artist Steve Ditko, he first appeared in the anthology comic book Amazing Fantasy #15 (August 1962) in the Silver Age of Comic Books. He has since been featured in films, television shows, novels, video games, and plays. Spider-Man is the alias of Peter Parker, an orphan raised by his Aunt May and Uncle Ben in New York City after his parents Richard and Mary Parker died in a plane crash. Lee and Ditko had the character deal with the struggles of adolescence and financial issues and gave him many supporting characters, such as Flash Thompson, J. Jonah Jameson, and Harry Osborn; romantic interests Gwen Stacy, Mary Jane Watson, and the Black Cat; and foes such as Doctor Octopus, the Green Goblin, and Venom. In his origin story, Spider-Man gets superhuman spider-powers and abilities from a bite from a radioactive spider; these include clinging to surfaces and ceilings, superhuman strength, speed, and agility, and detecting danger with his precognition ability called "spider-sense." He also builds wrist-mounted "web-shooter" devices that shoot artificial spider-webs of his own design that was meant to be used for shooting and trapping his enemies, and web-swinging across the city. After the personal tragedy of his late Uncle Ben, Peter began using his spider-powers to fight against crime as Spider-Man.</p></li><br> <li><p>When Spider-Man first appeared in the early 1960s, teenagers in superhero comic books were usually relegated to the role of sidekick to the protagonist. The Spider-Man series broke ground by featuring Peter Parker, a high school student from Queens, New York, as Spider-Man's secret identity, whose "self-obsessions with rejection, inadequacy, and loneliness" were issues to which young readers could relate. While Spider-Man had all the makings of a sidekick, unlike previous teen heroes such as Bucky and Robin, Spider-Man had no superhero mentor like Captain America and Batman; he thus had to learn for himself that "with great power comes great responsibility" — a line included in a text box in the final panel of the first Spider-Man story but later retroactively attributed to his guardian, his late Uncle Ben Parker.</p></li> </ul> </article> </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/126.96.36.199 Safari/537.36 Edg/107.0.1418.42
Challenge: Technical Documentation Page - Build a Technical Documentation Page
Link to the challenge: