I need to have only the multiple gifts outputted by the names of people that gave the gift.
example: multiple toasters by: jack and jill
heres my code: thanks for the help. My loop works but not my ending if statement. confused...

```
<script type="text/javascript">

var guest = "yes"
var gift, side, yourName, kind, groomNameAccum, brideNameAccum;
var toaster, silverware, stemware, giftType;
var noGift = 0;
var groomCounter = 0;
var brideCounter = 0;
kind = parseInt(kind);
//initalizing loop
weddingGift = "yes"
//start loop
while (guest == "yes") {
    side = prompt("Which side are you on? groom or bride?", "")
    yourName = prompt("Whats your name?", "");
    kind = prompt("What kind of gift?", "");

    if (side == "groom") {
        groomCounter = groomCounter + 1;
        if (groomCounter == 1) {
            groomNameAccum = "Groom     side:     <br>" + groomCounter + ". " + yourName + ": " + kind;
        } else {
            groomNameAccum = groomNameAccum + "<br>" + groomCounter + ". " + yourName + ": " + kind;
        }
    } else
    if (side == "bride") {
        brideCounter = brideCounter + 1;
        if (brideCounter == 1) {
            brideNameAccum = "<p>Bride side: <br>" + brideCounter + ". " + yourName + ": " + kind;
        } else {
            brideNameAccum = brideNameAccum + "<br>" + brideCounter + ". " + yourName + ": " + kind;
        }
    }
    if (kind > 1) {
        giftType = toaster + silverware + stemware;
    } else {
        giftType = noGift;
    }
    guest = prompt("Are there anymore guests?", "yes");
}

document.write(groomNameAccum);
document.write(brideNameAccum);
document.write("<p>Multiples Toasters by:<br>" + giftType + yourName + "<br/>");
document.write("Multiples Silverware by:<br>" + gift + "<br/>");
document.write("Multiples Stemware by:<br>" + gift);  
// --> 
</script>           

```