To build a html css and js project from scratch we will have to download nodejs from here. After installing nodejs on your computer, now you type the following to test if nodejs is installed and set in environment variables.
npm --version
After this if it doesnt show a version than that means you need to add node into your environment variable. You can click here! to setup your environment variables. Now that we have node or npm in our command line
Now, make a folder in your Desktop and jump to that location using a terminal. You can use any terminal git bash or cmd from your Desktop. You can use the following command to go to the folder.
cd location_of_your_file(D:\Git)
Now, you should initialize npm in your folder by doing the series of comands from below
npm init
npm install lite-server jquery --save
You have now made a html, css and js project from scratch. You will now be able to code in html, style in css and bring user interaction to your website. Enter the following line of script in your package.json file that is create by node when you initialized it. You can just Copy and paste the "start":"lite-server" from the following script where "script"{ } is situated.
"scripts": {
"start": "lite-server"
},