CSS Tutorial: Using Chrome Developer Tools | Web Development Tutorials #16

CSS Tutorial: Using Chrome Developer Tools | Web Development Tutorials #16

Introduction to Chrome Developer Tools

In this section, the instructor introduces Chrome's developer tools and demonstrates how to use them.

Creating a New File

  • Create a new file named "tut16.html".
  • Add the boilerplate code and a style tag with CSS.
  • Add a heading for "Developer tools tutorial" and start the live server.

Inspecting Elements

  • Right-click on an element and select "Inspect" to view its code.
  • Change an element's code using the developer tools without changing the original file.
  • Use the select element arrow to move your cursor over any element on a website to view its code.

Modifying Styles

  • Modify styles by changing properties such as background color, font style, and color using the developer tools.
  • Changes made in the developer tools only affect your view of the website, not permanently change it.
  • To make permanent changes, add CSS properties in your own stylesheet.

Conclusion

  • The developer tools are useful for inspecting elements and modifying styles on websites.
  • It is recommended to use Google Chrome as a beginner because of its extensive developer tool features.

Screenshots and Inspect Element

In this section, the speaker discusses why screenshots of emails are not considered strong proof in today's date. The speaker also explains how inspect element works and why it cannot be used as a permanent change to a website.

Screenshots of Emails

  • Screenshots of emails are not considered strong proof because they can be easily manipulated by changing the inspect element.
  • WhatsApp messages are considered stronger proof than email screenshots.

Inspect Element

  • Inspect element allows users to change the content of a website temporarily.
  • Changes made through inspect element are only visible locally and do not reflect on the server permanently.
  • If changes made through inspect element start reflecting permanently, it could lead to chaos on the internet.

Changing Content with Inspect Element

  • Users can change any content on a website using inspect element, such as changing the number of subscribers from 175K to 175M.
  • However, these changes are temporary and only visible locally.

Chrome Developer Tools

In this section, the speaker explains how Chrome Developer Tools work and their different features.

Elements Tab

  • The elements tab shows all HTML elements on a webpage.
  • Users can use developer tools to change styles directly from CSS, such as changing background color or font size.
  • Users can also add classes permanently by editing HTML code.

Sources Tab

  • The sources tab contains all files written for a webpage.
  • Users can see which file is responsible for specific elements or styles by clicking on them in the elements tab.

Network Tab

  • The network tab shows all network requests coming from a webpage.

Console Tab

  • The console tab allows users to write JavaScript code directly into developer tools.

[#](t=717s

Turn any video into a summary like this

YouTube links, meetings, lectures. With transcripts, search, and chat.

Video description

► Source Code & Notes: https://archive.codewithharry.com/videos/web-development-in-hindi-16 ►This video is a part of this Complete Web Development in Hindi Course Playlist: https://www.youtube.com/playlist?list=PLu0W_9lII9agiCUZYRsvtGTXdxkzPyItg ►Click here to subscribe - https://www.youtube.com/channel/UCeVMnSShP_Iviwkknt83cww ►Checkout my English channel here: https://www.youtube.com/ProgrammingWithHarry Best Hindi Videos For Learning Programming: ►Learn Python In One Video - https://www.youtube.com/watch?v=ihk_Xglr164 ►Python Complete Course In Hindi - https://www.youtube.com/playlist?list=PLu0W_9lII9agICnT8t4iYVSZ3eykIAOME ►C Language Complete Course In Hindi - https://www.youtube.com/playlist?list=PLu0W_9lII9aiXlHcLx-mDH1Qul38wD3aR&disable_polymer=true ►JavaScript Complete Course In Hindi - https://www.youtube.com/playlist?list=PLu0W_9lII9ajyk081To1Cbt2eI5913SsL ►Learn JavaScript in One Video - https://www.youtube.com/watch?v=onbBV0uFVpo ►Learn PHP In One Video - https://www.youtube.com/watch?v=xW7ro3lwaCI ►Django Complete Course In Hindi - https://www.youtube.com/playlist?list=PLu0W_9lII9ah7DDtYtflgwMwpT3xmjXY9 ►Machine Learning Using Python - https://www.youtube.com/playlist?list=PLu0W_9lII9ai6fAMHp-acBmJONT7Y4BSG ►Creating & Hosting A Website (Tech Blog) Using Python - https://www.youtube.com/playlist?list=PLu0W_9lII9agAiWp6Y41ueUKx1VcTRxmf ►Advanced Python Tutorials - https://www.youtube.com/playlist?list=PLu0W_9lII9aiJWQ7VhY712fuimEpQZYp4 ►Object Oriented Programming In Python - https://www.youtube.com/playlist?list=PLu0W_9lII9ahfRrhFcoB-4lpp9YaBmdCP ►Python Data Science and Big Data Tutorials - https://www.youtube.com/playlist?list=PLu0W_9lII9agK8pojo23OHiNz3Jm6VQCH Follow Me On Social Media ►Website (created using Flask) - http://www.codewithharry.com ►Facebook - https://www.facebook.com/CodeWithHarry ►Instagram - https://www.instagram.com/codewithharry/ ►Personal Facebook A/c - https://www.facebook.com/geekyharis Twitter - https://twitter.com/Haris_Is_Here