This week I worked on defining my final project idea and started to getting used to the documentation process.
This week, I have learned about HTML, CSS, and Git. HTML forms the structure of web pages, CSS enhances their presentation, and Git is a version control system for managing software development.
HTML is the standard markup language for creating web pages and web applications. It provides the basic structure and content of a webpage, defining elements such as headings, paragraphs, links, images, and more. Learning HTML involves understanding the syntax, elements, attributes, and best practices for creating semantically structured web content.
CSS is used to style the presentation of HTML elements on a web page. It allows for the customization of layout, colors, fonts, and other visual aspects of a website. Learning CSS involves understanding selectors, properties, values, and layout techniques to create visually appealing and responsive web designs.
Git is a distributed version control system that tracks changes in source code during software development. It allows multiple developers to collaborate on a project, manage different versions of the code, and merge changes seamlessly. Learning Git involves understanding concepts such as repositories, branches, commits, merges, and resolving conflicts to effectively manage and track the evolution of software projects.
Below are some really usefully git commands that you will use through the whole FabAcademy Journey!
   The "git add" command is used to add changes in the working directory to the staging area.
The staging area is a holding place where changes are prepared to be committed to the repository.
   When you make changes to files in your local repository, those changes are initially only in your working directory.
  To include the changes in the next commit, you need to add them to the staging area using the git add command.
   - Adding new files: When you create a new file in your project, you need to run git add
   - Adding modified files: If you've modified an existing file, you can run git add
  - Adding all changes: You can use git add . (adding a period) to stage all changes in the current directory and its subdirectories.
   - Interactively selecting changes: git add -p allows you to interactively select which changes you want to stage for the next commit.
Always keep in mind:
  FabAcademy has a file size limitation of 10 MB for each git add command.
  You should always check the file size before uploading files using the git add command.
The git commit command is used to record changes to the local repository. When you run git commit,
Git takes a snapshot of the current state of your project and saves it to the repository's history.
The git push command is used to upload your local repository commits to a remote repository, such as one hosted on GitHub, GitLab, or a local server.
This allows you to share your work with others and collaborate on the project.
1. Uploading Commits:
   When you run git push, Git will upload all of your local commits that have not yet been pushed to the remote repository.
2. Sharing Work:
   By pushing your commits, you make your changes available to other collaborators working on the same project.
They can then pull your changes to update their local repositories.
3. Backup and Restore:
   Pushing your commits to a remote repository acts as a backup, ensuring your work is saved and can be restored if needed.
4. Remote Branch Management:
   git push allows you to create, update, and delete remote branches, helping you manage the branch structure of your project.
5. Synchronization:
   Running `git push keeps your local and remote repositories synchronized, ensuring everyone is working with the same codebase.
Normally, this is the last step to git push everything, and it is a successful push if you see the image below
But, if unfortunately this image below appears, it means the file size exceeds the 10MB limit. But don't worry, all you need is another magic command: 'git clone'.
The git clone command is used to create a copy (clone) of an existing Git repository.
When you clone a repository, Git downloads the entire repository, including all of its files, branches, and commit history, to your local machine.
Create a new folder and clone everything into your new folder
I have also learned some very useful skills about writing HTML and CSS. A useful link for me is W3Schools, a famous website that introduces various programming languages and formats.
HTML (Hypertext Markup Language) is the standard language for creating web pages. It provides the structure and content of a webpage by using a variety of tags to define different elements such as headings, paragraphs, images, links, and more.
CSS (Cascading Style Sheets) is used to style the appearance of HTML elements on a webpage. It allows you to control the layout, colors, fonts, and other visual aspects of a webpage. CSS works by selecting HTML elements and then applying styles to them, either by directly applying styles to specific elements or by defining styles in a separate CSS file that can be linked to multiple HTML pages.
Together, HTML and CSS are essential tools for web development, allowing you to create visually appealing and well-structured web pages.