Which sentence states a fact?
It is legal for public schools to have dress codes. School dress codes are bad for students.
A fact is something that can be proved true by research or observation.
George Washington became president of the United States in 1789.
This statement is a fact. It can be proved by researching what year George Washington was inaugurated president.
An opinion is something that a person believes, thinks, or feels. An opinion can be supported by evidence, but it cannot be proved true.
George Washington was a better president than Thomas Jefferson.
This statement is an opinion. People can have different ideas about what makes someone a "better" president, so the statement cannot be proved.
The second sentence states a fact.
It is legal for public schools to have dress codes.
It can be proved by looking up court rulings about dress codes.
The first sentence states an opinion.
School dress codes are bad for students.
Bad shows what a person believes, thinks, or feels. Another person might have a different opinion about what rules are bad for kids.