<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: PrincessAisha</title>
    <description>The latest articles on DEV Community by PrincessAisha (@princessaisha).</description>
    <link>https://dev.to/princessaisha</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1477730%2Ff009746b-5231-40f1-8ed3-543f0aeb7ee4.jpeg</url>
      <title>DEV Community: PrincessAisha</title>
      <link>https://dev.to/princessaisha</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/princessaisha"/>
    <language>en</language>
    <item>
      <title>From Passion to Profession: Why I chose Front-End Development and How HNG Will Get Me There</title>
      <dc:creator>PrincessAisha</dc:creator>
      <pubDate>Fri, 07 Feb 2025 00:11:29 +0000</pubDate>
      <link>https://dev.to/princessaisha/from-passion-to-profession-why-i-chose-front-end-development-and-how-hng-will-get-me-there-noa</link>
      <guid>https://dev.to/princessaisha/from-passion-to-profession-why-i-chose-front-end-development-and-how-hng-will-get-me-there-noa</guid>
      <description>&lt;p&gt;The world is rapidly evolving, with technology at the forefront of this transformation. My fascination with how websites and digital interfaces work inspired me to dive into front-end development. I am passionate about creating engaging, visually appealing, and interactive user experiences that leave lasting impressions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Motivation for Becoming a Front-End Developer&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;My journey into front-end development began with curiosity about how websites function and what makes them visually appealing and interactive. I was drawn to the creative process of turning ideas into user-friendly digital experiences.&lt;/p&gt;

&lt;p&gt;Additionally, the flexibility that front-end development offers is a significant motivator. The ability to work remotely, collaborate with global teams, and maintain a balanced work-life schedule makes it an attractive career path for me. In today’s digital age, businesses worldwide seek developers to build engaging online platforms, creating endless opportunities to contribute from anywhere in the world.&lt;/p&gt;

&lt;p&gt;Front-end development perfectly blends creativity, logic, and flexibility, which aligns with my personal and professional aspirations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How HNG Will Help Me Grow in the Field&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;HNG provides an incredible opportunity for growth through its collaborative and task-driven learning environment. I am excited to gain hands-on experience while working on real-world projects under the mentorship of experts. Additionally, HNG’s strong emphasis on modern frameworks, such as React.js, will help me master building dynamic and efficient user interfaces.&lt;br&gt;
For a responsive and interactive UI, you can HIRE REACT.JS DEVELOPERS - https:// hng.tech/hire/reactjs-developers&lt;/p&gt;

</description>
      <category>frontend</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>NETVOLUTION- FROM ARPANET TO CYBERSPACE</title>
      <dc:creator>PrincessAisha</dc:creator>
      <pubDate>Sat, 11 May 2024 15:15:43 +0000</pubDate>
      <link>https://dev.to/princessaisha/netvolution-from-arpanet-to-cyberspace-44j4</link>
      <guid>https://dev.to/princessaisha/netvolution-from-arpanet-to-cyberspace-44j4</guid>
      <description>&lt;p&gt;The Internet has revolutionized the way we interact, communicate, access information, go about our daily activities and so on.&lt;br&gt;
I’ll be delving into the history of the Internet, exploring its fundamental components.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Birth of the Internet:ARPANET&lt;/strong&gt;&lt;br&gt;
The Internet root can be traced back to the late 1960’s when a US government agency (ARPA- Advanced Research Projects Agency) founded a computer network called ARPAnet.&lt;br&gt;
In 1969, the first computers communicated over ARPANET. The initial network only had four nodes but more were added to allow research universities to share data and other resources; After ARPANET, other networks were developed. &lt;br&gt;
The World Wide Web was launched in 1991, and it allows users from any connected computer to locate resources and web pages using Uniform Resource Locators (URL’s)- The URL serves as the address that tells the computer where to find resources on the internet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;DNS:The Internet’s Phonebook&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9doe7celma5gsdq1d2dz.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9doe7celma5gsdq1d2dz.jpeg" alt="How DNS works" width="600" height="371"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One crucial component of the internet is the Domain Name System (DNS), which acts as the internet's phonebook, translating human-readable domain names (like google.com) into IP addresses (such as 172.217.6.46) that computers use to communicate with each other. DNS ensures that when you type a web address into your browser, your computer can locate the correct web server on the internet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Network Packets: The Building Blocks of Communication&lt;/strong&gt;&lt;br&gt;
At the heart of internet communication are network packets, small units of data that are grouped together and transferred over a computer network. When you send a request to access a website or download a file, your computer breaks down the data into packets, which are then sent across the internet to their destination. Once there, the packets are reassembled to reconstruct the original data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;FTP&lt;/strong&gt;&lt;br&gt;
File Transfer Protocol (FTP) is used for transferring files between computers on a network. It enables users to upload, download and manage files on remote servers with ease.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HTTP &amp;amp; HTTPS Requests&lt;/strong&gt;&lt;br&gt;
Hypertext Transfer Protocol (HTTP) is the foundation of the World Wide Web. When you visit a website, your browser sends an HTTP request to the web server, which responds with the requested web page. It defines how messages are formatted and transmitted, enabling seamless retrieval of webpages and resources. However, HTTP traffic is not secure, making it susceptible to interception and manipulation by malicious actors.&lt;/p&gt;

&lt;p&gt;To address this security concern, Hypertext Transfer Protocol Secure (HTTPS) was developed. HTTPS encrypts data transmitted between the client and the server, ensuring that sensitive information such as passwords and credit card numbers remains confidential. This encryption is achieved through the use of Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols, protecting sensitive information from tampering and eavesdropping.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Future of the Internet&lt;/strong&gt; &lt;br&gt;
As we venture further into the digital age, the internet continues to evolve at an unprecedented pace. Technologies such as artificial intelligence, blockchain, and the Internet of Things hold the promise of reshaping cyberspace and enhancing online security and privacy.&lt;/p&gt;

&lt;p&gt;In conclusion, the internet's history is a testament to human innovation and collaboration. From its early days as a small network of computers to the global phenomenon it is today, the internet has revolutionized the way we live, work, and interact. Understanding key technologies like DNS, Network Packets, FTP, HTTP, and HTTPS requests provides insight into the inner workings of the internet and its continued evolution.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>frontend</category>
      <category>internet</category>
    </item>
    <item>
      <title>HOW CSS WORKS BEHIND THE SCENE</title>
      <dc:creator>PrincessAisha</dc:creator>
      <pubDate>Sat, 11 May 2024 14:57:00 +0000</pubDate>
      <link>https://dev.to/princessaisha/how-css-works-behind-the-scene-497p</link>
      <guid>https://dev.to/princessaisha/how-css-works-behind-the-scene-497p</guid>
      <description>&lt;p&gt;&lt;strong&gt;CSS&lt;/strong&gt; means Cascading Style Sheets. It is a language used to style your HTML (Hyper Text Markup Language) page. CSS is the backbone of web designs, allowing developers to control the visual presentation of their websites.&lt;br&gt;
There are three types of CSS. They are:&lt;br&gt;
Inline CSS&lt;br&gt;
Internal CSS&lt;br&gt;
External CSS&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Inline CSS:&lt;/strong&gt; &lt;br&gt;
This is the CSS or style applied to a unique element in your HTML document.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Internal CSS:&lt;/strong&gt;&lt;br&gt;
 This defines a style for a single HTML page. It is usually defined in an HTML page's &lt;code&gt;head&lt;/code&gt;section within a &lt;code&gt;style&lt;/code&gt; element.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- External CSS:&lt;/strong&gt;&lt;br&gt;
 This styles multiple HTML pages with a single style sheet linked to your HTML page with a &lt;code&gt;link&lt;/code&gt;tag. The CSS rules are contained in a separate CSS file and must be linked to the HTML document to see the desired results.&lt;/p&gt;

&lt;p&gt;When we have multiple styles being applied to the same element which is causing a conflict, that’s where what we know as cascading comes in.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CSS CASCADE:&lt;/strong&gt; The term cascade in CSS refers to the process of resolving conflicts when multiple CSS rules are applied to the same HTML element. When multiple styles conflict, the cascade determines which style takes precedence.&lt;br&gt;
Your browser will always pick the last CSS rule declared.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SELECTORS:&lt;/strong&gt; They select HTML elements based on the tag names, classes, ID’s, attributes and relationships with other elements. Here are some common types of selectors;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Element selector:&lt;br&gt;
Targets HTML element based on their tag names, for example: p, span, div, h1 etc.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Class Selector:&lt;br&gt;
Targets elements with a specific class attribute. To select element with a specific class attribute, you put a period (.), followed by the class name given to the element.&lt;br&gt;
The class selector has a higher importance than the element name selector.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;ID Selector:&lt;br&gt;
Targets a single element with a specific ID attribute. &lt;br&gt;
It is unique within a page. It is more important than any other selector and it overrides any other CSS rule you apply to the specific element if you have applied a CSS rule to the ID attribute.&lt;br&gt;
To select an element with a specific id, you write a hash (#) character, followed by the id of the element.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Universal Selector:&lt;br&gt;
This selector selects all HTML elements to apply CSS rules.&lt;br&gt;
Example,&lt;br&gt;
*{&lt;br&gt;
background-color:grey;&lt;br&gt;
font-size:16px;&lt;br&gt;
color:green;&lt;br&gt;
}&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;SPECIFICITY&lt;/strong&gt;: It determines which CSS rule is applied to an element when multiple rules have conflicting selectors, it also determines which element is most specific using a scoring program. This is because you can have the same element with the same properties but different values. The one with the higher specificity wins.&lt;br&gt;
When comparing specificity, the selector with the highest specificity wins regardless of the order in which the rules are defined in the stylesheet. Incase specificity is equal, the last rule defines that precedence due to the cascade.&lt;/p&gt;

&lt;p&gt;By understanding the concept of cascade, selector and specificity, web developers can create more efficient and maintainable CSS stylesheets, ensuring consistent and visually appealing designs across different web pages and devices.&lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
      <category>webdev</category>
      <category>learning</category>
    </item>
    <item>
      <title>UNVEILING THE WEB MAGIC OF DOM (Document Object Model)</title>
      <dc:creator>PrincessAisha</dc:creator>
      <pubDate>Thu, 09 May 2024 16:09:31 +0000</pubDate>
      <link>https://dev.to/princessaisha/unveiling-the-web-magic-of-dom-document-object-model-1e0j</link>
      <guid>https://dev.to/princessaisha/unveiling-the-web-magic-of-dom-document-object-model-1e0j</guid>
      <description>&lt;p&gt;Imagine you're in charge of organizing a library. Your task is to categorize and arrange all the books, ensuring that they are easily accessible to readers. Each book has its unique title, author, and content, and you need to create a system that allows visitors to navigate through the library efficiently.&lt;/p&gt;

&lt;p&gt;The library can be likened to a web page, and the Document Object Model (DOM) acts as the organizational structure that you implement to manage and present the library's content.&lt;br&gt;
Library is the Web Page: Just as a web page contains various elements like text, images, forms, etc., the library houses books, shelves, tables, and other resources.&lt;br&gt;
Books are the Elements: Each book in the library represents an element in the DOM. Each book has attributes (title, author, genre) similar to how HTML elements have attributes (id, class, etc.).&lt;/p&gt;

&lt;p&gt;Catalog System serves as DOM Methods: Your cataloging system in the library, such as sorting books alphabetically or categorizing them by genre, corresponds to the methods provided by the DOM to manipulate elements.&lt;/p&gt;

&lt;p&gt;By likening the DOM to organizing a library, it becomes easier to grasp its role in managing the structure, content, and interactivity of web pages. Just as a well-organized library enhances the visitor's experience, a well-structured DOM enhances the user experience on the web by enabling dynamic and interactive content.&lt;/p&gt;

&lt;p&gt;Now that you have a glimpse of what DOM looks like, lets&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is DOM?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgtsamszwkvcqrls8va5i.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgtsamszwkvcqrls8va5i.jpeg" alt="DOM AS AN INTERFACE" width="720" height="242"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The Document Object Model (DOM) is an interface between all JavaScript code and the browser, specifically between HTML documents rendered in and by the browser. Through DOM, we can make JavaScript interact with the browser by creating, modifying, and deleting elements, setting styles, classes, and attributes, and listening and responding to events. This is because a DOM tree, a tree-like structure comprising nodes, is generated from an HTML document.&lt;/p&gt;

&lt;p&gt;So basically, DOM is an API that represents and interacts with HTML and XML.&lt;br&gt;
The DOM is a W3C(World Wide Web Consortium) standard and it defines a standard for accessing documents.&lt;br&gt;
The W3C Dom standard is divided into three different parts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Core DOM: standard model for all document types&lt;/li&gt;
&lt;li&gt;XML DOM: standard model for XML documents&lt;/li&gt;
&lt;li&gt;HTML DOM: standard model for HTML documents&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;How Does the DOM Work?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you were listening to music on an app and you wanted to pause or skip a song, you'd have to do that through the app.&lt;br&gt;
This process is similar to how the Document Object Model or DOM works. Here, the music app represents the DOM because it serves as a medium to make changes to the music.&lt;/p&gt;

&lt;p&gt;When a web page loads in a browser, the DOM creates a tree-like representation of that page.&lt;br&gt;
The document object is the main entry point to the DOM. It houses other objects, which in turn contain their own objects, forming a hierarchy.&lt;br&gt;
Nodes in the DOM tree correspond to elements in the HTML document (e.g., paragraphs, headings, images).&lt;br&gt;
You can access and manipulate these nodes using JavaScript or other scripting languages.&lt;/p&gt;

&lt;p&gt;The DOM represents a document with a logical tree. Each branch of the tree ends in a node, and each node contains objects. DOM methods allow programmatic access to the tree. With them, you can change the document's structure, style, or content.&lt;/p&gt;

&lt;p&gt;DOM is basically the representation of HTML document but in a tree-like structure composed of objects. &lt;br&gt;
JavaScript interprets DOM easily, using it as a bridge to access and manipulate the elements. DOM JavaScript allow access to each of the objects (h1, p, etc.) by using different functions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here’s how it generally works:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Parsing HTML: When a web page is loaded, the browser parses the HTML document and constructs a DOM tree based on the HTML structure. This DOM tree represents the hierarchical structure of the document, with each HTML element represented as a node in the tree.&lt;/li&gt;
&lt;li&gt;DOM API Access: JavaScript code running in the browser can access and manipulate this DOM tree using the DOM API. The DOM API provides a set of methods and properties that allow developers to interact with the DOM elements.&lt;/li&gt;
&lt;li&gt;Element Selection: Developers can select specific elements in the DOM using methods like getElementById, getElementsByClassName, querySelector, querySelectorAll, etc. These methods return references to DOM elements that can be manipulated further.&lt;/li&gt;
&lt;li&gt;Manipulation: Once a DOM element is selected, developers can modify its attributes, content, styles, and structure using the DOM API. For example, you can change the text content of an element, add or remove classes, update styles, append or remove child elements, etc.&lt;/li&gt;
&lt;li&gt;Event Handling: The DOM API also allows developers to handle user interactions and events such as clicks, keypresses, form submissions, etc. Event listeners can be attached to DOM elements to trigger specific actions or functions when events occur.
Rendering Updates: As developers make changes to the DOM structure or content using the DOM API, the browser automatically updates the rendered web page to reflect these changes. This dynamic updating process ensures that the web page remains interactive and responsive to user actions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;STRUCTURE OF DOM&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6u7raw96f26jk8vqu70h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6u7raw96f26jk8vqu70h.png" alt="DOM TREE" width="738" height="415"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;DOM can be thought of as a Tree or Forest (more than one tree). The term structure model is sometimes used to describe the tree-like representation of a document.&lt;br&gt;&lt;br&gt;
Each branch of the tree ends in a node, and each node contains objects  Event listeners can be added to nodes and triggered on an occurrence of a given event. One important property of DOM structure models is structural isomorphism: if any two DOM implementations are used to create a representation of the same document, they will create the same structure model, with precisely the same objects and relationships.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The DOM tree starts with the document node, representing the entire HTML document.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Other nodes include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Element nodes: Represents HTML elements &lt;/li&gt;
&lt;li&gt;Text nodes: Contains the actual text within an element&lt;/li&gt;
&lt;li&gt;Attribute nodes: Represents attributes of an element&lt;/li&gt;
&lt;li&gt;Comment nodes: It holds comment within the HTML
Nodes are organized in hierarchical structure, reflecting the parent-child relationships between elements.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;PROPERTIES OF DOM&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The innerHTML property: You use this property to access the text content of an element.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The addEventListener() property: This property attaches an event listener to your element.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The replaceChild() property: This property replaces one child element with another new or existing child element.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The childNodes: The first child of the &lt;/p&gt;
&lt;p&gt; element&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The parentNodes: The parent of the element &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The nodeValue: The value of the node&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;CONCLUSION&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;The Document Object Model is a powerful tool that forms the foundation of modern web development. By providing a structured representation of web documents and a rich set of APIs for manipulation, the DOM empowers developers to create engaging and dynamic web experiences. Understanding the inner workings, structure, and properties of the DOM is essential for any web developer looking to build modern, interactive web applications. So, embrace the DOM, and unlock the endless possibilities it offers in the world of web development.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>api</category>
      <category>frontend</category>
    </item>
  </channel>
</rss>
