Click here to Skip to main content
15,890,186 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone. I am a beginner at programming and coding and I have a problem. I have two forms. One is done with jQuery and bootstrap and looks fine. I want to make the same form without jQuery and bootstrap, by using vanilla HTML, CSS, and JavaScript. Without using the external library. I tried to make that form and it looks much worse than the first one. How should I do so that other forms look the same as the first one only by using HTML, CSS, and JS? And it needs to be responsive.

This is a good form: http://products.dd-webdesign.com/

This is a bad form: http://products.dd-webdesign.com/

What I have tried:

I've tried to make responsive form without the external library.
Posted
Updated 16-Jun-18 7:23am

1 solution

That is because Bootstrap team (Twitter team) has invested years of experience and developer-power in the development of this framework to make it,

* Developer-friendly
* Cross-browser
* Responsive
* Stable

You cannot take every browser into account, and then provide a design that provides all these features and — even if that does happen — does not takes months of foundation development, including JavaScript and CSS core.

Thus, it is recommended to not build it by yourself using HTML, CSS and JavaScript, instead just go with usage of jQuery and Bootstrap.

On a side note, if this is a learning project, please consider my advice, provided above. But if you still want to try it out, following are the ways to go,

Using media queries - CSS: Cascading Style Sheets | MDN[^]
HTML forms - Learn web development | MDN[^]

These are the two documentations about the W3 based standards to control the responsiveness of your app, as well as to control how users interact and input values to the forms, and also how forms take the input into account — validation, processing, masking etc.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900