- This topic has 4 replies, 2 voices, and was last updated 7 months, 2 weeks ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login here
Code with hassan › Forums › The Beginning of the End
Today’s topic is The Beginning of the End. We are going to discuss the foundation of web development by understanding how the internet works and how websites function. This topic marks the start of your journey in web development, where we move from not knowing much to becoming confident in building websites.
We’ll start with explaining the flow of data on the internet, including the role of devices, servers, and browsers. We’ll then explore how websites are structured and made interactive, focusing on the basics of HTML, CSS, and JavaScript.
When you type a website URL like http://www.google.com into your browser, here’s what happens step-by-step:
1.DNS Lookup: The browser sends a request to a Domain Name System (DNS) server to convert the human-friendly URL into an IP address, which identifies the server hosting the website (e.g., Google’s server).
2.Sending the Request: Once the IP address is retrieved, the browser sends an HTTP or HTTPS request to the server asking for the website’s content. If it’s HTTPS, the data is encrypted for security.
3.Server Response: The server receives the request, processes it, and responds by sending back the required resources like HTML (structure), CSS (styling), and JavaScript (interactivity) files.
4.Rendering the Webpage: The browser receives the response and starts rendering the webpage. It processes the HTML to display text, CSS to apply visual styles, and JavaScript for interactive elements. Images, videos, and other media are also fetched and displayed.
5.Displaying the Website: Finally, once all the content is loaded, the webpage is fully displayed on your screen, ready for interaction.
`
You must be logged in to reply to this topic. Login here