How to Create a Modal Window For Your Websites - HTML, CSS & JavaScript Tutorial
HTML-код
- Опубликовано: 10 сен 2024
- In this video I'll show you how to create a custom modal window for use on your websites using plain HTML, CSS & JavaScript. This is very easy to do and can be added to your existing web projects.
Let me know if you have any other ideas for web design/projects! 💻
Link to source code:
codepen.io/dco...
🏫 My Udemy Courses - www.udemy.com/...
🎨 Download my VS Code theme - marketplace.vi...
💜 Join my Discord Server - / discord
🐦 Find me on Twitter - / dcodeyt
💸 Support me on Patreon - / dcode
📰 Follow me on DEV Community - dev.to/dcodeyt
📹 Join this channel to get access to perks - / @dcode-software
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
#dcode #html #javascript
A beautifully hand-crafted Modal Window using HTML, CSS and JavaScript. Thanks, Dom!
{2024-03-24}
Comprehensive. Excellent work. I am now your pupil.
man you made it all flexed and centered 😀
very well done
Keep doing these, the javascript examples are great. Seeing real examples of js.
Very beautiful, easy to use and implement, and no package dependencies! Easy to follow. Great teacher. Thanks for the awesome content!
thank you for tutorial. This is very useful since modal is always used in every web app
Brilliant. Thank you 🙏
Thank you Dom, this is very good tutorial. I love it
Really good video. Shows how to use HTML, CSS, and JavaScript together without any frameworks or libraries which I feel is very important these days.
The best way to learn 📚
Content as great as it always is from you, thanks!
Brilliant 👍
nice!
thank you
omg i love you
when you use --gap, its just a placeholder for 15px (or a variable) ? or does the gap word have some function? Thanks
Great content. How do you open the modal without refreshing the browser? can it be assigned to an open link button?
Hello decode
Sorry to bother you mate, but I want to use your JavaScript modal in my project. How do you start the modal? currently, it only comes up on refresh.
How do I assign a link to bring it up? cheers bruv.
Great tutorial! Is there a way to make the " Got It" button redirect to a different url for the onClick?
I'm having a issue with the database creation for the login form and sign up form of you can please bring a video on that...
i don't get what is the "var(--gap)" and what it do. Actually i didn't know that there is possible to put variables inside css.
I followed your code, iam getting empty value in html for ${htmlTitle} and
${contentHtml}
Excellent, how do I apply this to a link on a webpage?
Is there a video about how you made your vscode look like that?
I'm using my VSCode theme, "dcode"
Good evening sir! please can you add time for prompting
hi, thanks a lot for the video ... if anybody can help me to find the correct version of the html .i can't make the code running .. thanks a lot
which font are you using?
Roboto Mono