3Feel free to mess around with this val and make it your own :). Just click on "Fork" in the top right.
4
5You can change the phrases that show up as you click no, you can change the firstImg and secondImg, maybe even add more images. And you can also change the colors and any of the text on the screen!
6
7Have fun with it and hopefully your crush says yes hehe.
3Feel free to mess around with this val and make it your own :). Just click on "Fork" in the top right.
4
5You can change the phrases that show up as you click no, you can change the firstImg and secondImg, maybe even add more images. And you can also change the colors and any of the text on the screen!
6
7Have fun with it and hopefully your crush says yes hehe.
3Feel free to mess around with this val and make it your own :). Just click on "Fork" in the top right.
4
5You can change the phrases that show up as you click no, you can change the firstImg and secondImg, maybe even add more images. And you can also change the colors and any of the text on the screen!
6
7Have fun with it and hopefully your crush says yes hehe.
3Feel free to mess around with this val and make it your own :). Just click on "Fork" in the top right.
4
5You can change the phrases that show up as you click no, you can change the firstImg and secondImg, maybe even add more images. And you can also change the colors and any of the text on the screen!
6
7Have fun with it and hopefully your crush says yes hehe.
3Feel free to mess around with this val and make it your own :). Just click on "Fork" in the top right.
4
5You can change the phrases that show up as you click no, you can change the firstImg and secondImg, maybe even add more images. And you can also change the colors and any of the text on the screen!
6
7Have fun with it and hopefully your crush says yes hehe.
3Feel free to mess around with this val and make it your own :). Just click on "Fork" in the top right.
4
5You can change the phrases that show up as you click no, you can change the firstImg and secondImg, maybe even add more images. And you can also change the colors and any of the text on the screen!
6
7Have fun with it and hopefully your crush says yes hehe.
16 const [noClicks, setNoClicks] = useState(0);
17 const [isValentine, setIsValentine] = useState(false);
18 const [firstImageUrl, setFirstImageUrl] = useState("https://media.tenor.com/VIChDQ6ejRQAAAAj/jumping-bear-hearts-no-png.gif");
19 const [secondImageUrl, setSecondImageUrl] = useState("https://media.tenor.com/f1xnRxTRxLAAAAAj/bears-with-kisses-bg.gif");
20 const yesButtonSize = (noClicks * 20) + 16;
21
45 <div style={{ marginBottom: "20px" }}>
46 <label>
47 First Image URL:
48 <input
49 type="text"
50 value={firstImageUrl}
51 onChange={(e) => setFirstImageUrl(e.target.value)}
52 style={{ width: "300px", marginLeft: "10px" }}
53 />
55 </div>
56 <img
57 src={firstImageUrl}
58 alt="First Image"
59 style={{ maxWidth: "300px", maxHeight: "300px" }}
60 />
98 <div style={{ marginBottom: "20px" }}>
99 <label>
100 Second Image URL:
101 <input
102 type="text"
103 value={secondImageUrl}
104 onChange={(e) => setSecondImageUrl(e.target.value)}
105 style={{ width: "300px", marginLeft: "10px" }}
106 />
108 </div>
109 <img
110 src={secondImageUrl}
111 alt="Second Image"
112 style={{ maxWidth: "300px", maxHeight: "300px" }}
113 />
3Feel free to mess around with this val and make it your own :). Just click on "Fork" in the top right.
4
5You can change the phrases that show up as you click no, you can change the firstImg and secondImg, maybe even add more images. And you can also change the colors and any of the text on the screen!
6
7Have fun with it and hopefully your crush says yes hehe.
3Feel free to mess around with this val and make it your own :). Just click on "Fork" in the top right.
4
5You can change the phrases that show up as you click no, you can change the firstImg and secondImg, maybe even add more images. And you can also change the colors and any of the text on the screen!
6
7Have fun with it and hopefully your crush says yes hehe.
3Feel free to mess around with this val and make it your own :). Just click on "Fork" in the top right.
4
5You can change the phrases that show up as you click no, you can change the firstImg and secondImg, maybe even add more images. And you can also change the colors and any of the text on the screen!
6
7Have fun with it and hopefully your crush says yes hehe.