while你爱不爱我
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>a
</head>
<body>
<script>
var data=prompt('你爱不爱我!请填写Yes');
while(data!=='yes'){
data=prompt('你爱不爱我!请填写yes')
}
alert('我也爱你')
</script>
</body>
</html>