Answer:
Nationalism is when someone has a strong sense of loyalty toward their nation or state.
I think nationalism changed how people viewed their government and country by making them admire and support the goverment as well as their actions which weren't always correct/good.
Hope this helps :)