FCC Survery Question

For the FCC survey code why does there have to be a class for each div and input?

I’m not seeing this requirement in the instructions. In fact, the word “class” doesn’t exist on the page.

Developers use classes to make styling groups of similar elements more convenient, but this is not a requirement. You could use id’s for everything (not recommended) or you might be able to get away with using just the tag name. But classes are definitely the most popular way to do this.

1 Like

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