first_github_project
Per Scholas - Week1 - JS&CSS Concepts - Assignment: Command Line, Git, GitHub
Use the command line (bash terminal) and git/GitHub to do the following:
- Create new folder called first_github_project somewhere on your local computer
- Inside first_github_project create two folders called old_files and new_files
- Inside old_files make home.html, about.html, contact.html, styles.css, oldstyles.css, user_functions.js, database_functions.js, index.js
- Start a local git repository for first_github_project
- Add files to git
- Make first commit
- Start GitHub repository
- Connect local git repository in first_github_project with your GitHub repository
- Push your first commit
- Delete oldstyles.css
- Move all files from old_files to new_files
- Add files
- Commit
- Push to GitHub
- Create folders in new_files called html_files, css_files, and js_files
- Move files into correct folders (html > html_files, etc.)
- Delete old_files folder
- Add
- Commit
- Push
- Open index.js in vs code using “code” command
- Write: "//Name this is my JavaScript file, do you like it?" in index.js (We are not using the terminal for this)
- Rename database_functions.js to new_database_functions.js
- Add
- Commit
- Push
Finally, submit your GitHub link to finish the assignment.