Second project(Build a survey form)

Hello everyone, i finally completed my Second project ,Build a survey form link(https://codepen.io/parth0201-in/pen/qBjRKzP). Would like to get some feedback on it.

Hi @parth0201-in,

Your project has some errors:

** HTML

Duplicate attribute id( id=“number”,id=“age”):

  • line 23:
<input type="number" id="number" placeholder="Age" id="age" min="18" max="100">

MDN documentation:
id - HTML: HyperText Markup Language | MDN

The id global attribute defines a unique identifier (ID) which must be unique in the whole document.

** CSS

Unclosed block:

  • line 130-136:
footer{
	display:block;
	margin-bottom:0;
	background:transparent;
	text-align:center;
	padding:5px;


Codepen has a feature that let’s you analize HTML,CSS and JS:

Cheers and happy coding :slight_smile:

Thank you for analyzing my work @erretres. I should have analyzed it when i was done. I will try to be more aware next time.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.