Tell us what’s happening:
hello guys!!
my question was i didn’t understand how to replace underscore for id
i tried this but until now i don’t get the write answer.
read this that i confused with
Each .main-section should have an id that matches the text of its first child, having any spaces in the child’s text replaced with underscores (_) for the id’s.
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<title>technical documentation</title>
<link rel="stylesheet" href="styles.css">
<link name="viewport" content="width=device-width,initial-scale=1.0">
</head>
<body>
<main id="main-doc">
<section class="main-section" id="Introduction_">
<header>Introduction</header>
</section>
<section class="main-section" id="What you should already know_">
<header>What you should already know</header>
</section>
<section class="main-section" id="Javascript_and_java">
<header>Javascript and java</header>
</section>
<section class="main-section" id="Hello world_">
<header>Hello worlds</header>
</section>
<section class="main-section" id="Variable_">
<header>Variable</header>
</section>
</main>
</body>
</html>
/* file: styles.css */
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Challenge Information:
Technical Documentation Page - Build a Technical Documentation Page