Alliteration repeats consonant sounds at word beginnings. Here, the “f” sound repeats in “fog” and “forest.”
Assonance repeats vowel sounds within a line. Here, the “o” sound repeats in “fog” and “forest.”