<?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: Hannah Williams</title>
    <description>The latest articles on DEV Community by Hannah Williams (@lianah).</description>
    <link>https://dev.to/lianah</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%2F936183%2F8ce86f59-12f5-4c84-ad5a-1d3c4f9f7043.jpg</url>
      <title>DEV Community: Hannah Williams</title>
      <link>https://dev.to/lianah</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lianah"/>
    <language>en</language>
    <item>
      <title>Best Practices for Code Documentation: Enhancing Clarity and Collaboration</title>
      <dc:creator>Hannah Williams</dc:creator>
      <pubDate>Mon, 11 Sep 2023 09:13:29 +0000</pubDate>
      <link>https://dev.to/lianah/best-practices-for-code-documentation-enhancing-clarity-and-collaboration-2n01</link>
      <guid>https://dev.to/lianah/best-practices-for-code-documentation-enhancing-clarity-and-collaboration-2n01</guid>
      <description>&lt;p&gt;&lt;em&gt;Introduction&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Code documentation serves as a vital bridge between developers and their work, offering insights into the logic, purpose, and functionality of a software project. It not only aids the original programmers in understanding and maintaining their codebase but also enables seamless collaboration among team members. This article delves into the significance of documenting code and presents a comprehensive guide to writing clear and effective documentation that fosters improved understanding and collaboration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Importance of Code Documentation&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Knowledge Transfer:&lt;/strong&gt; Code documentation is essential for transferring knowledge between developers. New team members can quickly grasp the project's architecture, design choices, and overall flow by referring to well-documented code. It helps prevent a knowledge gap that might otherwise arise due to personnel changes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Maintenance and Debugging:&lt;/strong&gt; Code evolves over time, and maintenance is a significant part of a developer's work. Documentation provides context for each function, class, or module, making it easier to identify and rectify bugs or implement updates without disrupting the existing functionality.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scalability:&lt;/strong&gt; As projects grow in complexity, maintaining a shared understanding of the codebase becomes increasingly challenging. Clear documentation streamlines the process of scaling a project, enabling developers to build upon existing components without confusion.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Collaboration:&lt;/strong&gt; In a collaborative environment, multiple developers contribute to the same codebase. Documentation facilitates seamless collaboration by reducing misunderstandings and ensuring that everyone is on the same page regarding the code's purpose and behavior.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Tips for Writing Clear and Effective Documentation&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Use Descriptive Comments:&lt;/strong&gt; Comments should provide an overview of what the code does, not how it does it. Focus on the why and what, explaining the purpose and intended behavior of a piece of code. Avoid redundant comments that simply restate the code itself.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Consistent Formatting:&lt;/strong&gt; Maintain a consistent formatting style throughout your documentation. Use a clear and easy-to-read font, appropriate indentation, and standard naming conventions for variables, functions, and classes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Divide and Conquer:&lt;/strong&gt; Break down your code into logical sections and comment on each section's purpose. This helps readers navigate through the codebase and understand its structure more easily.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Explain Edge Cases:&lt;/strong&gt; Clearly define how your code handles edge cases, unusual scenarios, and potential errors. This preemptive explanation can save time and prevent confusion when such situations arise in the future.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Provide Examples:&lt;/strong&gt; Use examples to illustrate how to use different parts of your code. Real-world examples demonstrate the intended usage and can significantly enhance understanding.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Update Documentation Regularly:&lt;/strong&gt; As the code evolves, keep the documentation up to date. Outdated documentation can lead to confusion and mistakes. Make updating documentation a part of the development process.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Document APIs:&lt;/strong&gt; For libraries and APIs, clear documentation is paramount. Describe each function's purpose, parameters, return values, and any exceptions it may raise. Well-documented APIs are user-friendly and encourage wider adoption.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Include Diagrams and Flowcharts:&lt;/strong&gt; Visual aids like diagrams, flowcharts, and UML diagrams can be incredibly helpful in explaining complex algorithms, system architectures, and data flows.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Version Control Integration:&lt;/strong&gt; Document changes in code using version control system integration. Link documentation updates to specific code changes, making it easier to track the evolution of code and its accompanying explanations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Seek Peer Review:&lt;/strong&gt; Just as code benefits from peer review, so does documentation. Have fellow developers review your documentation for clarity, completeness, and accuracy.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;Conclusion&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Effective code documentation is a foundational aspect of software development that pays dividends in the long run. It enhances communication among developers, eases maintenance and debugging, supports scalability, and fosters collaboration. By following best practices such as using descriptive comments, maintaining consistent formatting, and providing relevant examples, developers can ensure that their codebase remains comprehensible and accessible to both current and future team members. As the landscape of technology continues to evolve, the role of code documentation remains an enduring pillar of successful software engineering.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
    <item>
      <title>CSS from a beginners perspective</title>
      <dc:creator>Hannah Williams</dc:creator>
      <pubDate>Fri, 11 Nov 2022 19:06:48 +0000</pubDate>
      <link>https://dev.to/lianah/css-from-a-beginners-perspective-36n9</link>
      <guid>https://dev.to/lianah/css-from-a-beginners-perspective-36n9</guid>
      <description>&lt;h2&gt;
  
  
  What is CSS?
&lt;/h2&gt;

&lt;p&gt;CSS stands for Cascading Style Sheet, emphasizing the word "style."&lt;br&gt;
While HTML (Hyper Text Markup Language) is a markup language used to build/create websites, CSS is used to describe the visual presentation of the HTML pages, and it is used to "style" the website. It makes your web page look attractive and catchy. In addition, it can boost the user experience on your web page. &lt;/p&gt;

&lt;p&gt;&lt;em&gt;NB; You must know HTML to enable you to use CSS.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  So, why use CSS?
&lt;/h2&gt;

&lt;p&gt;CSS is used to define/detail the styles for your web pages, such as the design, layout, and display variations for different devices and screen sizes.&lt;br&gt;
&lt;strong&gt;Example&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;body {
  background-color: lightblue;
}

h1 {
  color: white;
  text-align: center;
}

p {
  font-family: verdana;
  font-size: 20px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Web developers found it challenging when font and color attribute tags were added to the HTML 3.2 specification. Creating large websites where fonts and color information were added to each page became time-consuming and costly.&lt;br&gt;
CSS was created by the World Wide Web Consortium (W3C) to solve this problem.&lt;br&gt;
CSS eliminated the style formatting from the HTML page!&lt;/p&gt;
&lt;h2&gt;
  
  
  Three ways to use CSS
&lt;/h2&gt;

&lt;p&gt;These are the three types of CSS, and they are listed below:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Inline CSS&lt;/li&gt;
&lt;li&gt;Internal or Embedded CSS&lt;/li&gt;
&lt;li&gt;External CSS&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Inline CSS:&lt;/strong&gt; Inline CSS is the inclusion of a CSS property in the body section attached to an element. The style attribute is used to specify this type of style within an HTML tag.&lt;br&gt;
&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
    &amp;lt;head&amp;gt;
        &amp;lt;title&amp;gt;Inline CSS&amp;lt;/title&amp;gt;
    &amp;lt;/head&amp;gt;

    &amp;lt;body&amp;gt;
        &amp;lt;p style = "color:purple; font-size:50px;
                font-style:italic; text-align:center;"&amp;gt;
            Lianah's Blog
        &amp;lt;/p&amp;gt;

    &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;     

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;The result:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media.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%2Fb43iglgpoihfravu7zf8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fb43iglgpoihfravu7zf8.png" alt="Inline CSS"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Internal or Embedded CSS:&lt;/strong&gt; This is used when you want to style a single HTML document uniquely. The CSS set is placed within the HTML in the head section. That is, the CSS is embedded within the HTML file. &lt;br&gt;
&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
    &amp;lt;head&amp;gt;
        &amp;lt;title&amp;gt;Internal CSS&amp;lt;/title&amp;gt;
        &amp;lt;style&amp;gt;
            .main {
                text-align:center; 
            }
            .LG {
                color:purple;
                font-size:50px;
                font-weight:bold;
            }
            .lianah {
                font-style:bold;
                font-size:20px;
            }
        &amp;lt;/style&amp;gt;
    &amp;lt;/head&amp;gt;
    &amp;lt;body&amp;gt;
        &amp;lt;div class = "main"&amp;gt;
            &amp;lt;div class ="LG"&amp;gt;Lianah's Blog&amp;lt;/div&amp;gt;

            &amp;lt;div class ="lianah"&amp;gt;
                A blog for everything tech
            &amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
    &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;The result:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media.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%2Ft00ufasou1r87fpc65vh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Ft00ufasou1r87fpc65vh.png" alt="Internal CSS"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;External CSS:&lt;/strong&gt; External CSS is a separate CSS file that only contains style properties via tag attributes (for example, class, id, heading,... etc.). In addition, an external style sheet defines the style for many HTML pages.&lt;br&gt;
To create the external style sheet, you can use any text editor. However, the file must be saved with a .CSS extension and must not contain any HTML code. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
Here is what the separate CSS file (styles.CSS) should contain:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;body 
{
    background-color:lavender;
}
.main {
    text-align:center;   
}
.LG {
    color:purple;
    font-size:50px;
    font-weight:bold;
}
#lianah {
    font-style:bold;
    font-size:20px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The HTML file that uses the created external style sheet is shown below.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
    &amp;lt;head&amp;gt;
      &amp;lt;title&amp;gt;External CSS&amp;lt;/title&amp;gt;
        &amp;lt;link rel="stylesheet" href="style.css"/&amp;gt;
    &amp;lt;/head&amp;gt;

    &amp;lt;body&amp;gt;
        &amp;lt;div class = "main"&amp;gt;
            &amp;lt;div class ="LG"&amp;gt;Lianah's Blog&amp;lt;/div&amp;gt;
            &amp;lt;div id ="lianah"&amp;gt;
                A blog for everything tech
            &amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
    &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;The result:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fi0fo4gxwrfptcnxatkpy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fi0fo4gxwrfptcnxatkpy.png" alt="External CSS"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;NB; you can try the codes and edit the color, text, size, and font however you like.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  CSS Colors, Fonts, and Sizes
&lt;/h2&gt;

&lt;p&gt;Here, I'll discuss the most used CSS properties: color, font-size, and font-family.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;The CSS color property&lt;/strong&gt; specifies the text color to be used.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;The CSS font-size property&lt;/strong&gt; specifies the text size to be used.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;The CSS font-family property&lt;/strong&gt; specifies the font to be used.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
Below is an example of how to use the CSS color, font-family, and font-size properties.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;style&amp;gt;
h1 {
  color: blue;
  font-family: verdana;
  font-size: 300%;

}
p  {
  color: red;
  font-family: courier;
  font-size: 160%;
}
&amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

&amp;lt;h1&amp;gt;Lianah's Blog&amp;lt;/h1&amp;gt;
&amp;lt;p&amp;gt;A blog for everything tech&amp;lt;/p&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;The result:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fzikgl2156cdei4emgcx5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fzikgl2156cdei4emgcx5.png" alt="Property"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I have listed the first three(3), which are the most commonly used properties. Now I will list the other basic properties you should know below.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;CSS Border:&lt;/strong&gt; The CSS border property can create a border around an HTML element.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fdynd5w0axby1lu2eed4z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fdynd5w0axby1lu2eed4z.png" alt="CSS border"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;CSS Padding:&lt;/strong&gt; This is used to create padding (space) between the text and the border.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.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%2F62dfk52jzax2efzmxcti.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2F62dfk52jzax2efzmxcti.png" alt="Padding"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;CSS Margin:&lt;/strong&gt; This property creates a margin (space) outside the border.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fuhhymcjxn3ylhdrhe2w9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fuhhymcjxn3ylhdrhe2w9.png" alt="Margin"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There are more CSS properties but these are the basic and the most commonly used. I hope this was helpful to you.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>css</category>
      <category>html</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Skills you need to become a Web developer</title>
      <dc:creator>Hannah Williams</dc:creator>
      <pubDate>Mon, 17 Oct 2022 08:26:07 +0000</pubDate>
      <link>https://dev.to/lianah/skills-you-need-to-become-a-web-developer-1ggo</link>
      <guid>https://dev.to/lianah/skills-you-need-to-become-a-web-developer-1ggo</guid>
      <description>&lt;p&gt;Many questions are asked when one wants to start a career in web development, and one of those questions is, "&lt;strong&gt;What are the key skills that I'll need for a web development qualification?&lt;/strong&gt;."&lt;/p&gt;

&lt;p&gt;Knowing what a web developer does in their day-to-day job is essential. So, before you can call yourself a web developer and start applying for jobs, here are the following skills you need to master:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Languages&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTML: A markup language used to create websites.&lt;/li&gt;
&lt;li&gt;CSS: Used to describe the visual presentation of the HTML pages. &lt;/li&gt;
&lt;li&gt;JavaScript: Used to make these pages interactive.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;NB; Learning how to use these three core languages is mandatory because it is impossible to have a career in web development without being fluent in them. Also, note that these are not the only programming languages.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Framework&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Bootstrap: Allows you to create a responsive and mobile-friendly website that works flawlessly on any device.&lt;/li&gt;
&lt;li&gt;React Js: Used to create an interactive user interface and web application efficiently.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;NB; Using any of this will be fine.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Design&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Figma: Used for interface design&lt;/li&gt;
&lt;li&gt;Adobe Xd: A website UI/UX design solution that is quick and powerful.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;NB; You can master any of these for your design, or Photoshop and canvas.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;By mastering these tools, you have everything you need to become a web developer.&lt;/p&gt;

&lt;p&gt;As an extra, you can throw in learning how to use &lt;strong&gt;Git&lt;/strong&gt; and &lt;strong&gt;Github&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Git: A version control system that allows you to keep track of changes made to your code.&lt;/li&gt;
&lt;li&gt;GitHub: Acts as a hosting service for your git repository, it enables collaborative and teamwork projects.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Let me throw in another most asked question, "&lt;strong&gt;Do I need a certification to be a web developer?&lt;/strong&gt;" &lt;br&gt;
This is one of the biggest concerns for people changing careers from other fields to tech. The good news is that no qualification, certificate, or degree is required. As long as you can showcase your work and prove that you have mastered the necessary skills, you can get jobs as web developer.&lt;/p&gt;

&lt;p&gt;I hope this article will help you in your journey to become a web developer.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>HTML Attributes</title>
      <dc:creator>Hannah Williams</dc:creator>
      <pubDate>Mon, 10 Oct 2022 11:07:52 +0000</pubDate>
      <link>https://dev.to/lianah/html-attributes-3b0m</link>
      <guid>https://dev.to/lianah/html-attributes-3b0m</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is an HTML attribute?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;An HTML attribute is a component of the markup language that is used to modify how an HTML element behaves or looks.&lt;br&gt;
For instance, attributes can alter the colour, HTML elements, size, or functionality.&lt;/p&gt;

&lt;p&gt;Attributes are used by including them in the first HTML tag:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;tag_name attribute_name="value"&amp;gt;Content&amp;lt;/tag_name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The name of the attribute is followed by an equals sign (=) and a value enclosed in quotes. Note that you can often declare a value using a value name and value. For example, you can use the style attribute to change the font-size value name to the value of 40px:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;tag_name style="font-size:40px"&amp;gt;This text content will be sized to 40 pixels by the web browser.&amp;lt;/tag_name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Attribute list&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Accept&lt;/strong&gt;;&lt;br&gt;
Types accepted by the server, typically a file type.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Action&lt;/strong&gt;;&lt;br&gt;
The form would be submitted by the URI of a program that processes it.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Align&lt;/strong&gt;;&lt;br&gt;
The horizontal alignment of the element is specified.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Alt&lt;/strong&gt;;&lt;br&gt;
Alternative text in case you can't display an image.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Cite&lt;/strong&gt;;&lt;br&gt;
It contains a URI pointing to the source or change of the quote.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Class&lt;/strong&gt;;&lt;br&gt;
is frequently used with CSS to style elements with similar properties.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Codebase&lt;/strong&gt;;&lt;br&gt;
This attribute specifies the absolute or relative URL of the directory containing the class files referenced by the code attribute.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Data&lt;/strong&gt;;&lt;br&gt;
Specifies the URL of the resource.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Datetime&lt;/strong&gt;;&lt;br&gt;
Indicates the element's associated date and time.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Form&lt;/strong&gt;;&lt;br&gt;
The form that owns the element is indicated.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Href&lt;/strong&gt;;&lt;br&gt;
a linked resource's URL.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Hreflang&lt;/strong&gt;;&lt;br&gt;
The language of the linked resource is specified.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ID&lt;/strong&gt;;&lt;br&gt;
is frequently used with CSS to style a specific element. This attribute's value must be unique.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Inputmode&lt;/strong&gt;;&lt;br&gt;
suggests the kind of data the user should submit when modifying elements or contents. The attribute can be applied to elements in an editing host or form controls (such as the value of text area elements) (e.g., using a content editable attribute).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Label&lt;/strong&gt;;&lt;br&gt;
Specifies the element's user-readable title.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;List&lt;/strong&gt;;&lt;br&gt;
Determines a set of pre-defined options to recommend to the user.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Name&lt;/strong&gt;;&lt;br&gt;
Name of the element. For example, the server uses them to identify the fields in the form submitted.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Style&lt;/strong&gt;;&lt;br&gt;
Defines CSS styles that will override previously defined styles.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Title&lt;/strong&gt;;&lt;br&gt;
When hovering over an element, the text will be displayed in a tooltip.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Type&lt;/strong&gt;;&lt;br&gt;
Defines the type of the element.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Value&lt;/strong&gt;;&lt;br&gt;
Defines a default value displayed in the element on page load.&lt;br&gt;
NB: these are but a few attributes.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;How To Use HTML Attributes&lt;/strong&gt;&lt;br&gt;
The colour, size, and other characteristics of HTML elements can be changed through HTML attributes. For instance, you can alter a text element's font colour or size using an attribute or an image element's width and height using an attribute.&lt;/p&gt;

&lt;p&gt;An example of how a HTML attribute is placed in an opening tag:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;element attribute="property:value;"&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Style&lt;/strong&gt; is a typical attribute that enables you to add style properties to an HTML element. At the same time, it's more typical to style an HTML document using a separate stylesheet.&lt;/p&gt;

&lt;p&gt;Using the style attributes we can change multiple properties of an h1 element with the style attributes&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;h1 style="font-size:40px;color:green;"&amp;gt;This text is 40 pixels and green.&amp;lt;/h1&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;NB: In HTML, most attributes have two sides, and they are the &lt;strong&gt;content attribute&lt;/strong&gt; and the &lt;strong&gt;Interface Definition Language (IDL) attribute&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The content attribute is the attribute as it appears in the content (the HTML code)&lt;br&gt;
Even when an integer should be the expected value, the content attribute always has a string value. For instance, you must use setAttribute("maxlength", "42") on an input element to set its max length to 42 using the content attribute.&lt;/p&gt;

&lt;p&gt;The IDL &lt;em&gt;(Interface Definition Language)&lt;/em&gt; attribute is also a JavaScript property. These attributes can be read or changed using JavaScript properties like element.foo. The IDL attribute will always use the underlying content property to return a value when you obtain it and will always be saved in the content attribute when you set it. In essence, the IDL properties represent the content attributes, in other words.&lt;/p&gt;

&lt;p&gt;Not all IDL attributes are strings; for example, input.maxlength is a number (a signed long). When you use an IDL attribute, you read or set values of the desired type, so input.maxlength will always return a number when you set input.maxlength, it wants a number. According to the standard JavaScript type conversion rules, passing another type is immediately converted to a number.&lt;/p&gt;

&lt;p&gt;IDL attributes can reflect on other types, such as unsigned long URLs, booleans, etc. Unfortunately, there are no hard-and-fast guidelines, and each IDL attribute's behaviour concerning its associated content attribute will vary. It will generally adhere to the specifications' guidelines, but occasionally it won't. The HTML specifications try to make this as developer-friendly as possible.&lt;/p&gt;

&lt;p&gt;Some content attributes (for example, required, read-only, and disabled) are referred to as boolean attributes. If there is a boolean attribute, its value is true; otherwise, it is false.&lt;/p&gt;

&lt;p&gt;HTML specifies the permitted values for boolean attributes: If the attribute exists, its value must be either the empty string (the attribute may have an unassigned value) or an ASCII case-insensitive match for the canonical name of the attribute, with no leading or trailing whitespace. Below are good ways to mark up a boolean attribute:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div itemscope&amp;gt;This is valid HTML but invalid XML.&amp;lt;/div&amp;gt;
&amp;lt;div itemscope="itemscope"&amp;gt;This is also valid HTML but invalid XML.&amp;lt;/div&amp;gt;
&amp;lt;div itemscope=""&amp;gt;This is valid HTML and also valid XML.&amp;lt;/div&amp;gt;
&amp;lt;div itemscope="itemscope"&amp;gt;
This is also valid HTML and XML, albeit a little verbose.
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The values "true" and "false" might not be allowed for boolean attributes. To represent a false value, the attribute must be removed entirely. This restriction clarifies a few common misconceptions: For example, with checked = "false," the element's checked attribute would be interpreted as true because the attribute is present.&lt;/p&gt;

&lt;p&gt;I hope this article has given you a better understanding of HTML attributes and how to use them.&lt;/p&gt;

</description>
      <category>html</category>
      <category>beginners</category>
      <category>writing</category>
      <category>css</category>
    </item>
  </channel>
</rss>
