DEV Community

Discussion on: Create an Exclusive Product Landing Page using HTML CSS & JS

Collapse
 
dillonheadley profile image
Dillon Headley • Edited

Nice! One small thing, according to html spec you should only have one < main > element in an HTML document. You could move the main tag higher up and use < article > tags instead where you have main

Collapse
 
ananiket profile image
Aniket

Yup I knew it ! But to keep all the tags differently so I used it..

But thank u for enriching my knowledge 👍
Happy coding 🙂