JavaScript Popup window - Popup Login Form

  Рет қаралды 123,485

UM Tutorial

UM Tutorial

Күн бұрын

In this video, we will discuss, how to open a popup window using JavaScript.
Create a simple modal popup using HTML, CSS, and Javascript. In this video, we create a popup login form that appears when a button is clicked.
This is my tutorial about making your own popup message or Form with CSS and JavaScript.
Please subscribe to our channel more Website Design Tutorial.
Facebook / umtutorial

Пікірлер: 69
@Coderoffootball
@Coderoffootball Ай бұрын
Thank you bro, this is my 30 days of practice to be a programmer/developer, I just love a video that explaining, Thank you bro👊
@BruddaRobb
@BruddaRobb Жыл бұрын
You are the goat thank you kindly. At first it was not working but then I moved my script from an external file to my html doc as you've done here and voila! I still have to figure why it wasn't working. THANK YOU
@ma_verite
@ma_verite 3 жыл бұрын
It been a long time I try to do a popup form with J.s thank you so MUCH your code is sooooo clean
@UMTutorial
@UMTutorial Жыл бұрын
Happy to help!
@nahushzilpilwar5564
@nahushzilpilwar5564 3 жыл бұрын
your video nice , because i watch almost 10 videos before this video all are very difficult to understand , but this video i understand first 5min.
@abdurrazzak1612
@abdurrazzak1612 4 жыл бұрын
your code was so clean.
@maci3985
@maci3985 Жыл бұрын
thats what im talking about that why he is the MVP , THAT WHY HES THE GOOOOOAAAAT THE GOOOOOOOAAAAAAAAT
@AmnaHussain-j7q
@AmnaHussain-j7q Жыл бұрын
Hello, I have a query for you. I've made six goods and am attempting to insert this code into the order now button, however neither the popup nor multiple buttons are working, nor is the code displaying in the full window. Please assist me.
@hoihoi7409
@hoihoi7409 3 жыл бұрын
It's important to add an event listener that when you press outside the white box, it closes.
@sahilmalhotra6464
@sahilmalhotra6464 2 ай бұрын
Nice video 10/10
@SandyRocker
@SandyRocker Жыл бұрын
awesome bro
@gautam6405
@gautam6405 2 жыл бұрын
very good tutorial
@UMTutorial
@UMTutorial Жыл бұрын
Glad you think so!
@osamawaseem7006
@osamawaseem7006 3 жыл бұрын
Great Tutorial But one advice that don't use music in such videos they distract from work but Thanks Again For sharing your knowledge
@getintosuccess8198
@getintosuccess8198 5 жыл бұрын
wow.. thanks for this tutorial
@uzairchougule
@uzairchougule 7 ай бұрын
How can i add animation like it slides down after i click on the login button i know a little gsap but idk how to apply any help would be appreciated
@BaziJo
@BaziJo 5 жыл бұрын
thank you for this video very nice
@stefanpfadt4353
@stefanpfadt4353 2 жыл бұрын
WOW! can i make the popup only appear when a specific user clicks on it, e.g. guest?
@jiyathhiba
@jiyathhiba 2 жыл бұрын
Great work,😍
@harishshimpi16
@harishshimpi16 2 жыл бұрын
it work realy thank u
@azizbekdevelopper1728
@azizbekdevelopper1728 3 жыл бұрын
very good
@shravyamutyapu3658
@shravyamutyapu3658 3 жыл бұрын
what piece of code should be added in order to make the text in boxes disappear after clicking on login
@patitorodri
@patitorodri 3 жыл бұрын
great tutorial, thank you! good music
@UMTutorial
@UMTutorial Жыл бұрын
Glad it was helpful!
@milllktea7
@milllktea7 3 жыл бұрын
how do you have the index.html on the right side preview?
@subrahmanyapoojari1362
@subrahmanyapoojari1362 3 жыл бұрын
It's because of visual studio code live preview extension
@Amelia1602
@Amelia1602 4 жыл бұрын
May i know where to download your button.png ? i tried alot of close button but the sizes shown on my webpage are big
@BlissTrove0011
@BlissTrove0011 2 жыл бұрын
on adding contents to body part ,overlay of popup goes down.
@goyangyi
@goyangyi 3 жыл бұрын
is it javascript? i think the title should be changed😧 thanks for the good video
@janithukwattage1004
@janithukwattage1004 3 жыл бұрын
Thank you very much ❤️
@091_nadhiraazzahra3
@091_nadhiraazzahra3 3 жыл бұрын
thank you so much!
@OnePiece_Fandom
@OnePiece_Fandom 2 жыл бұрын
Thanks bro
@UMTutorial
@UMTutorial Жыл бұрын
Welcome
@ruszjea
@ruszjea Жыл бұрын
Thanks
@UMTutorial
@UMTutorial Жыл бұрын
Welcome
@rodcastillosuarez8291
@rodcastillosuarez8291 2 жыл бұрын
me sirvio a la perfección
@deliveryasahi3147
@deliveryasahi3147 3 жыл бұрын
what is your function?
@vidiegkd8852
@vidiegkd8852 2 жыл бұрын
👍👍
@ishaankothidar3044
@ishaankothidar3044 4 жыл бұрын
everyone shows this type of code but login button could be on everypage now i can't put div popup in every page. I really want to know how i can use different file login.html as popup or modal in any other file. I can't find the solution anywhere when I m trying I m getting error.
@moezAhmed94
@moezAhmed94 4 жыл бұрын
create a new file and include this file in every page
@AtulSharma-xt3xy
@AtulSharma-xt3xy 4 жыл бұрын
which text editor are you using
@jainamshah3691
@jainamshah3691 4 жыл бұрын
Visual code microsoft
@aaronruddell7448
@aaronruddell7448 3 жыл бұрын
@@jainamshah3691 visual studio code*
@rodcastillosuarez8291
@rodcastillosuarez8291 2 жыл бұрын
suscrito gracias por enseñar suscrito
@alejandragomez3726
@alejandragomez3726 2 жыл бұрын
ok but how to do it in react ?
@deliveryasahi3147
@deliveryasahi3147 3 жыл бұрын
when i click the button its not working for me
@royalguptatelecom7870
@royalguptatelecom7870 7 ай бұрын
Same problem 😭
@vidiegkd8852
@vidiegkd8852 2 жыл бұрын
Sir how do I contact you ?
@murselparlak2677
@murselparlak2677 4 жыл бұрын
thank you
@mehdiabderrahmaneyahiaoui4700
@mehdiabderrahmaneyahiaoui4700 5 жыл бұрын
Hello thanks for your tutorial i want to add a close on clicking outside how can i do that?
@alien4606
@alien4606 4 жыл бұрын
Thanks bruh
@UMTutorial
@UMTutorial Жыл бұрын
Happy to help
@ozgureren8925
@ozgureren8925 4 жыл бұрын
unbelievable
@RayyanCovers
@RayyanCovers 3 жыл бұрын
What's the music anyone ?
@codingjaipur
@codingjaipur 2 жыл бұрын
Can you help me sir.।
@saqlainshaikh3336
@saqlainshaikh3336 Жыл бұрын
I want source code
@winsomeblaise8866
@winsomeblaise8866 7 ай бұрын
Source code please Urgent
@nandinikose1414
@nandinikose1414 2 жыл бұрын
Code?
@bukqueiroz
@bukqueiroz 3 жыл бұрын
oh my god i fucking love u
@technicianjakir3908
@technicianjakir3908 2 жыл бұрын
need picture
@coder134
@coder134 Жыл бұрын
source code
@eartherkushwah
@eartherkushwah 5 жыл бұрын
what is the problem in this code: -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- None Print .container h1{ color:green; font-size:36px; margin-bottom:50px; } .button{ background-color:red; color:white; text-transform:uppercase; font-size:20px; border-radius:2px; box-shadow: 6px 6px 29px -4px rgba(0,0,0,0.75); margin:35px; padding:5px 20px 5px 20px; text-decoration:none; transition:0.5s; } .button:hover{ background-color:black; color:white; } .popup{ background-color:rgba(0, 0, 0, 0.7); width:100%; height:100%; position:absolute;top:0; display:none; justify-content:center; align-items:center; text-align:center; } .popup-content{ height:500px; width:500px; background:#fff000; padding:20px; border-radius:50%; position:relative; } input{outline:0px; margin:20px auto; padding:8px; width:50%;justify-content:center; border:2px solid gray; display:block; } input[type=text]{ border-radius:30px 30px 0px 0px; } input[type=password]{ border-radius:0px 0px 30px 30px; } .close{ position:absolute; width:20px; height:20px; border-radius:50px; top:5px; left:95%; cursor:pointer; } .roundshap{ color:red; border:2px solid green; padding:0px; margin:0px; width:80%; position:absolute; bottom:100px; left:50px; border-radius:50px;} Look At This Login Now ! Login document.getElementById(".button").addEventListener("click", function(){ document.querySelector(".popup").style.display = "flex";}); document.getElementById(".close").addEventListener("click", function(){ document.querySelector(".popup").style.display="none";});
@m-2718
@m-2718 4 жыл бұрын
I know I am half a year late, but heck I found the error and I going to say what is wrong >w> In document.getElementById(".button").addEventListener("click", function(){ there should be no "." Before button and same with close there shouldn't be "." and also there should be id = "close"
@ismetgusic3186
@ismetgusic3186 4 жыл бұрын
@@m-2718 also ' document.getElementById(".close") ' in to ' document.querySelector(".close") '
@PSPALAN1
@PSPALAN1 3 жыл бұрын
Thanks Bro
@abdurrazzak1612
@abdurrazzak1612 4 жыл бұрын
thanks
@devacreatortech
@devacreatortech Жыл бұрын
source code
Build a Popup With JavaScript
16:55
Web Dev Simplified
Рет қаралды 371 М.
Login Form in HTML & CSS
11:07
Codehal
Рет қаралды 1,7 МЛН
Когда отец одевает ребёнка @JaySharon
00:16
История одного вокалиста
Рет қаралды 15 МЛН
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 112 МЛН
小丑家的感情危机!#小丑#天使#家庭
00:15
家庭搞笑日记
Рет қаралды 36 МЛН
Create a Simple Popup Modal
19:25
RichardCodes
Рет қаралды 335 М.
Create Popup Login Form using HTML, CSS & JavaScript
10:42
Codingflag
Рет қаралды 142 М.
Popup Login Form Design in HTML & CSS | CodingNepal
11:42
CodingNepal
Рет қаралды 118 М.
How To Create A Modal In Javascript and CSS
15:06
developedbyed
Рет қаралды 92 М.
JavaScript Modal Popup: Create a modal using HTML, CSS and JavaScript
18:26