Introduction to HTML, the DOM, and CSS
You won't be able to find elements if you don't know CSS, and you won't understand CSS if you don't understand the DOM and HTML. So, we need to start with the basics.
I bet you've heard that you can build a site with HTML, CSS, and JavaScript. You might be using different server-side technologies. Your frontend might be implemented using cool technologies such as React or Angular. But in the end, the result will be a page based on HTML, CSS, and JavaScript.
HTML is the page's content. If you go to any website, open the DevTools, and click on the Elements tab, you will see the content of the page. You will see the page's title. If it's a news site, you will see all the articles there. If you visit a blog post, you will see the text of that post.
Without CSS, an HTML page would look like text written in Notepad. CSS not only brings color and fonts, but it's also the scaffolding that gives structure...