- First create a folder myfirstapp
- Open VS code editior and click File
- In the file options select open folder and select the folder created(myfirstapp)
- Once you are inside vs code. Create a file and name it as index.html
- Write the html code and save it.
- Now right click the file and selct copy path
- Open browser and past the copied path
- Now everytime we make the changes. Save the file and refresh the tab in the browser to see the changes.
How to push code to github?
- git init - will create a local repository for the spicefied project(only for the first time)
- git add . - It will add all the files to the local repository
- git commit -m "Commit messages" - This will save all the files to the local repo
- git remote add origin url - This will connect the local repo to the remote repo(only for the first time)
- git push -u origin master - all your local changes will be pushed to the remote repository
If you are pushing the code for an existing repo
- git add .
- git commit -m "commit message"
- git push
Github tutorial tamil - https://youtu.be/VIBWdLLq9kQ?si=y5W4F5DC_HNllpIb Github tutorial english - https://youtu.be/tRZGeaHPoaw?si=6xfzztaOwFqyWHDz