I want to know how to design the js "confirm" window!

Asked 2 years ago, Updated 2 years ago, 39 views

We are implementing shopping mall design even though we are not good enough with the winter vacation project. But when I pressed the "Put your cart in" button, I used JavaScript to open the window The above design is the window on the Kakao Friends page, and the bottom is the window on the site I made. I wonder how to make it like the design above!

html css javascript confirm

2022-09-22 21:24

1 Answers

The JavaScript alert provided by the browser as shown in the image below cannot be modified. To use a customized alert like Kakao Friends, you need to do a separate work. There are many ways, but you can refer to the simple tips below.

Basic Big Concepts > Custom Alert Box Programming JavaScript CSS HTML Tutorial https://www.youtube.com/watch?v=-RLE2Q7OzME

Use a custom modal using Bootstrap. https://getbootstrap.com/docs/4.0/components/modal/

Using Bootbox.js to Use Custom Modals http://bootboxjs.com/examples.html


2022-09-22 21:24

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.