+ 4
Can I create a dynamic website using only javascript with html and css?
Can I create a dynamic website without using Php, only by Javascript ? The website should be connected to a database.
18 Answers
+ 15
By javascript yes, but not by the basic of javascript, as it here learned. Because this pure javascript, implemented in browsers does not support for connecting into database. You have to find and use some extended frameworks with Javascript to do it.
+ 4
- Yes you can create some simple dynamic web sites with just html, javascript and css, that will allow to present information and react to the user input (like calculations or choice of what next page to present, or hide data on the page).
- javascript framework like angular.js may be helpful (but not mandatory) where native JavaScript code would otherwise be very complex.
- In addition though, some sort of backend scripting and/or database is needed if data need to be stored permanently or shared with others.
+ 2
HTML and CSS is shown and used in the WebBrowser of the Client, as well as Javascript only runs in the browser.
You probably need a dynamic component on the serverside as well. Specially when the web server should connect to the database and not the client. To accomplish this you could use java servlets.
+ 2
yes, but you will have to use a framework just like angular.js which is a very good framework for JavaScript for making dynamic web sites
+ 2
Use node js as back end and you are a star 🌟
+ 1
yes you can
+ 1
not advisable learn php and mysqli is better for backend but you can manage react.js and node.js
+ 1
Yes! As a complex example see http://isomatic.de which does not communicate with the server (with one single exception).
0
You can do this with Node.js for the back-end and MongoDB for the database.
But it is not easy....
0
Yes you can create a dynamic website using javascript, html and css. But you require some framework with javascript to do that; like angularjs.
0
If you want to connect it to a database you will need php and SQL.
0
yess
0
use it jquery to build dynamic website
0
creat new server
0
yes u can
0
yes you can create, but you won't be able to handle the huge amount of data on that.
0
you can use node.js for backend. its language is javascript
0
yes