Tell us what’s happening:
Unclear what to do here
All of your .main-section
elements should be section
elements.
Describe your issue in detail here.
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en" >
<link rel="stylesheet" href="styles.css">
<main id="main-doc">
<section class="main-doc" id="main-section">
<section class="main-doc" id="main-section">
<section class="main-doc" id="main-section">
<section class="main-doc" id="main-section">
<section class="main-doc" id="main-section">
/* file: styles.css */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Challenge: Technical Documentation Page - Build a Technical Documentation Page
Link to the challenge:
kai1
2
.main-section
represents a class and not an id. Also remember that id
should be unique for each of your elements.
hbar1st
3
Instead of using id of main-section, use it as the name of the class.
I don’t get it…
<html lang="en" >
<link rel="stylesheet" href="styles.css">
<main id="main-doc">
<section class="main-doc" "main-section"></section>
<section class="main-doc" "main-section"></section>
<section class="main-doc" "main-section"></section>
<section class="main-doc" "main-section"></section>
<section class="main-doc" "main-section"></section>
kai1
5
and a space after main-doc
and add main-section
after that
Here is an example
class="class1 class2"
1 Like
system
Closed
7
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.