Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</head>
<body>
<div class="wrapper">
<h2 class="question">Will you go out with me?</h2>
<h2 class="question">Will you marry me?</h2>
<img class="gif" alt="gif" src="https://media.giphy.com/media/FTGah7Mx3ss04PcasF/giphy.gif"/>
<div class="btn-group">
<button class="yes-btn">Yes</button>
Expand Down
3 changes: 2 additions & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ const yesBtn = document.querySelector(".yes-btn");
const noBtn = document.querySelector(".no-btn");

yesBtn.addEventListener("click", () => {
question.innerHTML = "Yay, see you on the 18th!";
question.innerHTML = "Yay, you can't leave me now!😝"
;
gif.src =
"https://media.giphy.com/media/UMon0fuimoAN9ueUNP/giphy.gif";
});
Expand Down