Hey Jenny, to check all the checkboxes on a webpage you can use checkbox attribute of the web element:
List<webElement> chkBox = driver.findElements(By.xpath(“//htmltag[@attbute='checkbox']”));
for(int i=0; i<=chkBox.size(); i++){
chkBox.get(i).click();
}