Prepare the Pan: Line an 8x8-inch square baking pan with parchment paper, leaving some overhang for easy removal of the fudge later.
Melt the Chocolate: In a medium-sized saucepan over low heat, combine the sweetened condensed milk and semi-sweet chocolate chips. Stir constantly until the chocolate is melted and smooth.
Add Flavors: Remove the saucepan from the heat and stir in the vanilla extract and sea salt.
Mix in Coconut and Nuts: Fold in the shredded coconut and the chopped nuts (if using) until evenly combined.
Transfer to the Pan: Pour the fudgy mixture into the prepared baking pan, spreading it evenly with a spatula.
Chill: Place the fudge in the refrigerator for about 2-3 hours, or until it is set and firm.
Cut and Serve: Once the fudge is set, lift it out of the pan using the parchment overhang. Cut into squares or rectangles.
Store: Store the fudge in an airtight container at room temperature for up to a week, or in the fridge for a longer shelf life.
Notes
Serve on a decorative plate, optionally dusted with shredded coconut or cocoa powder.