Tell us what’s happening:
I just wrote some simple tags and i get an error i first thought it was linked to writting “(” between tags but i looked on google and found the equivalent in html :"(" but i still have an error …
and by error i mean i m coding on the codepen.io and a red error appears under this text
Your code so far
<main>
<h1 id="title">freeCodeCamp Survey Form</h1>
<h2 id="description">Thank you for taking the time to help us improve the platform</h2>
<div id="content">
<form id="survey-form">
<div id="name">
<label id="name-label">Name</label>
</div>
<div id="email">
<label id="email-label">Email</label>
</div>
<div id="number">
<label id="number-label">Age(optional)</label>
</div>
</form>
</div>
</main>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36.
<main>
<h1 id="title">freeCodeCamp Survey Form</h1>
<h2 id="description">Thank you for taking the time to help us improve the platform</h2>
<div id="content">
<form id="survey-form">
<div id="name">
<label id="name-label">Name</label>
</div>
<div id="email">
<label id="email-label">Email</label>
</div>
<div id="number">
<label id="number-label">Age(optional)</label>
</div>
</form>
</div>
</main>
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
I’m not sure what problem you are having. Parentheses inside a label should be no problem. When I put your code into code pen I see no unexpected character or no red error - though I’m not sure what you mean by “this text”.
Can you be more specific? Can you provide a link to your pen?
First thank you for the ```
and i just kept coding and now there is no more red or unexpected character, i didn t touch it i have no idea but it seems fine now