<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Stutisk]]></title><description><![CDATA[Stutisk]]></description><link>https://stutisk.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Mon, 31 Aug 2026 11:36:38 GMT</lastBuildDate><atom:link href="https://stutisk.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Bts Of Web]]></title><description><![CDATA[As a web designer, it's important to know how the web works and the processes involved in hosting, serving and rendering the websites. By understanding the terminology and underlying technology, you'll create more efficient sites and have a concrete ...]]></description><link>https://stutisk.hashnode.dev/bts-of-web</link><guid isPermaLink="true">https://stutisk.hashnode.dev/bts-of-web</guid><dc:creator><![CDATA[stuti sk]]></dc:creator><pubDate>Thu, 21 Jul 2022 18:11:07 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1658421714611/565oESR6H.JPG" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>As a web designer, it's important to know how the web works and the processes involved in hosting, serving and rendering the websites. By understanding the terminology and underlying technology, you'll create more efficient sites and have a concrete understanding of why do you do the things that you do.</p>
<p>Let's take a moment to examine how the web works as an overall process. If you could compare learning web design to building a house consider this as a foundation.
But before starting i want to clear the confusion between <strong>Internet</strong> and <strong>Web</strong> <em>( most people assume they're same but they're not)</em></p>
<p>The <strong>Internet</strong> is a term which is used to refer to a massive netwoks of millions of computers all over the world that are used to share and transmit information.
This is done through various protocols and languages and include things like :
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1658477933614/oUMle6PpN.jpg" alt="w2.1.jpg" />
<strong>The World Wide Web </strong>is usually shortened to just the web is a way of transmitting data over the internet using the http protocol amd html.
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1658477952654/whU5gikb3.jpg" alt="w3.1.jpg" />
<strong>Now let's see how the BTS OF WEB:</strong>
We often see the <strong>internet</strong>, pictured as  a cloud (that's just a symbol for it). But off course it's not a cloud or a company or a computer <em>it's literally millions of millions computers over the world interconnected by cables and satellites</em>, so if you ask how big is the internet well it's as big as the whole world.
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1658478697257/wnBg8ghDC.jpg" alt="what-is-internet-in-hindi.jpg" />
Now some of the computer on the internet are called <strong>servers</strong>. Nobody is sitting at a server. <em>It is just a computer that's connected to the internet and people can access it's file from anywhere around the world. </em>It is not a computer in fact there is millions and millions of servers. There tons of buildings filled with thousands of servers. Therefore you can say there are plenty of plenty servers all around the world.
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1658481552276/KQPMFUOEv.JPG" alt="W7.JPG" />
Now <em>there is also alots of computers on the internet where people are sitting there using the internet we call them <strong>client computers</strong></em>. <em>The clients request information from the Internet</em>. Now the internet has different services like email and web. To access the web you use web browser app on your computer, just like there are different brands of toothpaste, we have various brands of browser such as:
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1658481529303/U6zT8fBrP.JPG" alt="w4.JPG" />
It doesn't matter which one to use because they all takes you to the same place which means there's only one internet and only one web. So basically all of them works in the same way.</p>
<p>For example:
Let's say you want to go to Instagram. You entered the address on the address bar, click enter and you are taken to Instagram homepage. But here what happens is you didn't go anywhere you are sitting in the place. What really happens is that your browser sent   a message out to the internet saying "this person wants to see Instagram". The internet gets that message and finds Instagram server and tells it to send this client computer your homepage and then Instagram responds back a file which is basically a web page. Then the web browser reads and renders into a thing which you see on your screen which looks like this:
<img src="https://res.cloudinary.com/dvbw8xujd/image/upload/v1658487347/mns2ykrt6hmm6jnoohb4.png" alt="Instagram-desktop-home-1.png" />
If you want to make websites you first needs to understand what exactly the server sent to the web browser to show that web page.
The web page shows a user friendly interacting websites but if you look behind the scenes you can see what the browser actually sent is  a file that contains a bunch of computer codes. It is the job of the web browser to take this computer code and render it into whatever you see on the screen that is a user friendly websites not codes.
Again the file which was responded back to your computer and rendered by web browser is what we call a <em>web page</em>. </p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1658486443151/uqR10sG0V.JPG" alt="newxg.JPG" />
I hope this short note might be helpful to anyone who come across this blog.
thank you for reading! </p>
]]></content:encoded></item><item><title><![CDATA[How Css Works Behind The Scene]]></title><description><![CDATA[What happens to the CSS code when we load up a webpage in the browser?
When a webpage gets loaded in the browser, it parses the html code. It means taking the HTML code and then extracting valuable information from it. After it parses the HTML docume...]]></description><link>https://stutisk.hashnode.dev/how-css-works-behind-the-scene</link><guid isPermaLink="true">https://stutisk.hashnode.dev/how-css-works-behind-the-scene</guid><dc:creator><![CDATA[stuti sk]]></dc:creator><pubDate>Thu, 21 Jul 2022 11:27:44 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1658402506675/6Jpp8IhrI.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h1 id="heading-what-happens-to-the-css-code-when-we-load-up-a-webpage-in-the-browser">What happens to the CSS code when we load up a webpage in the browser?</h1>
<p>When a webpage gets loaded in the browser, it parses the html code. It means taking the HTML code and then extracting valuable information from it. After it parses the HTML document, all it stores the code in a DOM (Document Object Model). While parsing the code, it loads the CSS from the header links.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1658395904263/PFkYaYIO2.png" alt="parsing.png" /></p>
<p>Once CSS is loaded it starts parsing in two steps:</p>
<ul>
<li>Resolving the CSS declaration conflicts also known as Cascading.</li>
<li>Processing final CSS values.</li>
</ul>
<p>Let’s learn more about them!!</p>
<ol>
<li><p><strong>Cascading</strong></p>
<p> CSS comes from these different sources:</p>
<ul>
<li>Author CSS: The developer writes it.</li>
<li>User CSS: Configurable by the user in the browser.</li>
<li>Browser CSS: Some styles are predefined in the browser.</li>
</ul>
<p>So when one or more styles are applied to the same element, CSS performs a set of rules called 
<strong>Cascading</strong> which evaluates the strength and the style  rule, which has the more weight wins!</p>
<p><strong><em>But how does the cascade actually resolve these conflicts?</em></strong>
For that we have three factors:</p>
<ol>
<li><strong>Importance: </strong></li>
<li><strong>Specificity</strong></li>
<li><strong>Source Order</strong></li>
</ol>
</li>
</ol>
<p>  Cascade marks the importance of CSS styles based on the source they are coming from in the following 
  order:</p>
<ul>
<li>User declarations marked with <em>!important</em> keyword.<ul>
<li>Author declarations marked with <em>!important</em> keyword.</li>
</ul>
</li>
<li>Author declarations.</li>
<li>User declarations.</li>
<li><p>Browser declarations.</p>
<p>So if you have two rules on the same element and one has an <em>!important</em> keyword on it then this one 
will win.</p>
</li>
</ul>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1658398980652/bovXlsBDD.JPG" alt="importance.JPG" /></p>
<p> But if both of them have <em>!important</em> keyword </p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1658399683637/NGKYx3XOt.JPG" alt="sp1.JPG" /></p>
<p> then <strong>specificity</strong> determins the winner here, </p>
<p> for example: here the selector with id will win as it has a higher specificity.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1658400594320/23ZTTX8wd.JPG" alt="sp2.JPG" /></p>
<p> If both of these styles have the same specificity then the order will determine the winner. The last 
 declaration will be applied . </p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1658400943695/6KAJ3emeJ5.JPG" alt="o2.JPG" /></p>
<p> and with this step we are done with cascading.</p>
<p>2.<strong>Processing final CSS values</strong></p>
<p>Here we provide the processed values to all the styles. Finally CSS gets parsed and we get CSS object model which combined with Dom object model and forms a render tree. It is formed with a combination of HTML, DOM, and CSS-OM. 
After the render tree has been formed, the website uses something known as the Visual Formatting model which helps lay the elements on the page to determine the final layout of the page.</p>
<p>Finally, we have our rendered website.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1658402193517/S3YYwiHM7.png" alt="rendered-website.png" /></p>
]]></content:encoded></item></channel></rss>