Both parties used the Fourth of July holiday to pitch their vision for the country.