Where is the main element taught? The video compilation lab asked for a main element. I don’t think I’ve run into it in a lesson though. I looked it on the mdn but wondered if there was something here about it?
Hi @Fir_tree
The main element is mentioned in the “Accessibility” module, in the “What are ARIA roles?” session.
They are a semantic element, so the tag name describes what the element is used for.
It is used to group the main content of a web page.
If you cannot find something on the fCC page, then you can search for it online.
Happy coding
1 Like
I’ll look out for it. Haven’t done that. I generally find the information here easier to understand than other sources.
this is the first time you are asked to use a main element: https://www.freecodecamp.org/learn/responsive-web-design-v9/workshop-cat-photo-app/step-5
1 Like