<?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: Toshita Singh 💜</title>
    <description>The latest articles on DEV Community by Toshita Singh 💜 (@toshitasingh).</description>
    <link>https://dev.to/toshitasingh</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%2F313053%2Fa1977462-3a4b-49eb-a408-e2a606c319dc.jpg</url>
      <title>DEV Community: Toshita Singh 💜</title>
      <link>https://dev.to/toshitasingh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/toshitasingh"/>
    <language>en</language>
    <item>
      <title>Better way to make equal sized columns using flexbox?</title>
      <dc:creator>Toshita Singh 💜</dc:creator>
      <pubDate>Sat, 07 May 2022 12:27:58 +0000</pubDate>
      <link>https://dev.to/toshitasingh/equal-sized-columns-using-flexbox-1bep</link>
      <guid>https://dev.to/toshitasingh/equal-sized-columns-using-flexbox-1bep</guid>
      <description>&lt;p&gt;Is there a better way than the following to make equal sized columns no matter the content size using flexbox?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ul {
  display: flex;
}

li {
  flex-basis: 30%;
  flex-grow: 1;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--DfbQQbJw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zmbo0i9fipxl7qdj6lb7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DfbQQbJw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zmbo0i9fipxl7qdj6lb7.png" alt="Image description" width="800" height="692"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Challenge link (Layout two): &lt;a href="https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox_skills"&gt;https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox_skills&lt;/a&gt;&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>help</category>
      <category>webdev</category>
      <category>css</category>
    </item>
    <item>
      <title>A Beginner's guide to HTML5 Semantics</title>
      <dc:creator>Toshita Singh 💜</dc:creator>
      <pubDate>Fri, 15 Apr 2022 09:52:45 +0000</pubDate>
      <link>https://dev.to/toshitasingh/a-beginners-guide-to-html5-semantics-1c2p</link>
      <guid>https://dev.to/toshitasingh/a-beginners-guide-to-html5-semantics-1c2p</guid>
      <description>&lt;ul&gt;
&lt;li&gt;Table of Contents

&lt;ul&gt;
&lt;li&gt;
What is semantic?

&lt;ul&gt;
&lt;li&gt;
Why to use them? &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

Types of semantic elements in HTML5

&lt;ul&gt;
&lt;li&gt;Website Layout semantic elements&lt;/li&gt;
&lt;li&gt;Other semantic elements&lt;/li&gt;
&lt;li&gt;Text semantics&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

Further Reading

&lt;ul&gt;
&lt;li&gt;Cheatsheet&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;/li&gt;

&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is semantic? &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;You might have heard the word &lt;em&gt;semantic&lt;/em&gt; in the general English language. If you search on Google “semantic meaning” it gives the result as “relating to meaning in language or logic”.&lt;/p&gt;

&lt;p&gt;So what does this word has to do with HTML?&lt;/p&gt;

&lt;p&gt;Semantic HTML is the use of those HTML5 tags that convey its purpose or the context. For example, a &lt;code&gt;&amp;lt;nav&amp;gt;&lt;/code&gt; element indicates that this is a navigation bar even if it is made up of unordered lists items inside.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why to use them? &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;When we talk about non-semantic elements like &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt;, its meaning isn’t quite clear to the browser or even the screen readers. Yes, as a developer we can give it a class or an id to specify what this element is going to contain, but it still doesn’t help the screen readers, or search engines, or the browsers. Hence it is important to make use of semantic elements in order to improve a site’s accessibility across browsers, search engines and screen readers (and it will still help the developers/designers to structure their website and make code more readable)&lt;/p&gt;

&lt;p&gt;Here’s an interesting thing about screen readers:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;if you’ve properly tagged your site navigation with &lt;code&gt;&amp;lt;nav&amp;gt;&lt;/code&gt; and sidebars with &lt;code&gt;&amp;lt;aside&amp;gt;&lt;/code&gt;, an assistive device will understand that these elements don’t belong to the main flow of the HTML document, enabling the device’s user to skip straight to the &lt;code&gt;&amp;lt;article&amp;gt;&lt;/code&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://webflow.com/blog/html5-semantic-elements-and-webflow-the-essential-guide" rel="noopener noreferrer"&gt;https://webflow.com/blog/html5-semantic-elements-and-webflow-the-essential-guide&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Because large sites want maximum visibility and usability, and public sites are often required by law to be compliant with accessibility standards. It’s the same law that says a public place must be accessible to people using wheelchairs and a public site must be accessible to anyone, on any device.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Now that you have understand the importance of using semantic elements, let us see the tags now. Trust me, they are not much and you will remember most of it after doing few projects.&lt;/p&gt;




&lt;h2&gt;
  
  
  Types of semantic elements in HTML5 &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Website Layout semantic elements &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Semantics are also block level elements so they will render as intended. although there are some inline semantic elements that exist, most of the time for a website structure you will be using the block level elements.&lt;/p&gt;

&lt;p&gt;Given below are the elements in order of their appearance on a typical website layout.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;header -&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;As the name says, &lt;code&gt;&amp;lt;header&amp;gt;&lt;/code&gt; defines a header for your website and might include navigation, brand logo, or some form of CTA like register or Buy now. Some websites may even have a search option inside the header. &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;nav -&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;nav&amp;gt;&lt;/code&gt; tag contains links or navigation to all other major webpages in a website. It is usually included inside the header section i.e tag.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;main -&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;main&amp;gt;&lt;/code&gt; tag includes the main block on your website. One important thing is to able to understand what content should go inside the &lt;code&gt;&amp;lt;article&amp;gt;&lt;/code&gt; vs. what should go in the &lt;code&gt;&amp;lt;section&amp;gt;&lt;/code&gt; and accordingly add those specific tags.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;section -&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;section&amp;gt;&lt;/code&gt; tag defines a ‘section’ in a webpage i.e. it contains content and other elements that represents a particular theme or purpose e.g. jobs, or table of contents of a chapter, list of related articles, advertisements, etc. Some do suggests that &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt; can be used instead of a section.  &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;article -&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;article&amp;gt;&lt;/code&gt; defines the article of a webpage. It usually contains the main idea or the most essential information that the title of the webpage refers to and for what the users have come for.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;aside -&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;aside&amp;gt;&lt;/code&gt; as the name say, consist of those content that can be put on the side in a webpage although still relevant to the main topic. Depending upon the site, it could include list of related articles, or a vertical navigation on the side that have links to different webpages or topics in a website.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;footer -&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;footer&amp;gt;&lt;/code&gt; tag defines the footer/foot of a website and it usually contains copyright, privacy, terms and conditions, contact information, author, etc. of a website.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Below is one of examples of a website layout using the semantic elements.&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%2Fraw.githubusercontent.com%2FToshitaSingh%2FFiles%2Fmaster%2Fdark-html5semantics.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%2Fraw.githubusercontent.com%2FToshitaSingh%2FFiles%2Fmaster%2Fdark-html5semantics.png" alt="semantic layout"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Other semantic elements &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;time -&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;time&amp;gt;&lt;/code&gt; tag defines date and time. The time and date written using this tag is machine readable and is typically used by browsers in settings such as adding reminders or schedules in calendars. &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;address -&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;address&amp;gt;&lt;/code&gt; is usually placed inside the footer section and it contains the contact information for the owner of the website. It can also contain social media links.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;figure -&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;figure&amp;gt;&lt;/code&gt; tag defines a container that hosts diagrams, photos, code snippets, etc.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;figcaption -&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;figcaption&amp;gt;&lt;/code&gt; defines a caption for the figure and is placed inside the &lt;code&gt;&amp;lt;figure&amp;gt;&lt;/code&gt; tag.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Text semantics &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;strong -&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;strong&amp;gt;&lt;/code&gt; tag is used when you want to define a text that has a strong importance in context. The text is displayed with bold styling.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;emphasis -&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;em&amp;gt;&lt;/code&gt; tag is typically used when you want to stress or put emphasis on a text. The text is displayed with italic styling.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;small -&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;small&amp;gt;&lt;/code&gt; tag is used to make the font size one size smaller than it’s current size or surrounding text. But it won’t work on browser’s minimum font size. Usually CSS is used to change font sizes of elements.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;var -&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;var&amp;gt;&lt;/code&gt; tag is used to define a variable in a mathematical expression or in programming and is displayed in italics. &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;ins -&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;ins&amp;gt;&lt;/code&gt; tag is used to specify that a particular text has been ‘inserted’ inside a document. An inserted text is displayed with underline.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;del -&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;Similar to the &lt;code&gt;&amp;lt;ins&amp;gt;&lt;/code&gt; tag, a &lt;code&gt;&amp;lt;del&amp;gt;&lt;/code&gt; tag represents text that has been deleted from a document and is displayed with a strikethrough.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;Now that you have understand a bit about HTML5 semantic elements, start applying them in your projects. Also check out the below references and cheatsheets for assistance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Further Reading &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element" rel="noopener noreferrer"&gt;HTML elements reference - HTML: HyperText Markup Language | MDN&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://webflow.com/blog/html5-semantic-elements-and-webflow-the-essential-guide" rel="noopener noreferrer"&gt;HTML5 semantic elements and Webflow: the essential guide | Webflow Blog&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Cheatsheet &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="http://html5doctor.com/downloads/h5d-sectioning-flowchart.pdf" rel="noopener noreferrer"&gt;HTML sectioning flowchart&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://learn-the-web.algonquindesign.ca/topics/html-semantics-cheat-sheet/" rel="noopener noreferrer"&gt;HTML semantics cheat sheet · Web Dev Topics · Learn the Web&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let me know below what other important semantic tags I have missed. Also, do connect with me on &lt;a href="https://twitter.com/toshita_18" rel="noopener noreferrer"&gt;Twitter&lt;/a&gt; 😊&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>webdev</category>
      <category>html</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>Beginning your Web Development Journey? Useful roadmaps that I've come across!</title>
      <dc:creator>Toshita Singh 💜</dc:creator>
      <pubDate>Wed, 06 May 2020 19:55:46 +0000</pubDate>
      <link>https://dev.to/toshitasingh/beginning-your-web-development-journey-useful-roadmaps-that-i-ve-come-across-5707</link>
      <guid>https://dev.to/toshitasingh/beginning-your-web-development-journey-useful-roadmaps-that-i-ve-come-across-5707</guid>
      <description>&lt;p&gt;Hey there! If you are in the situation where you have no idea how to get started on your development journey or which path you should follow for the same, then this post might be helpful for you (especially if you are a newbie).&lt;/p&gt;

&lt;p&gt;Below are some articles/guides that gives you a clear idea about what to do, either when you are just starting out or when you have no idea what to &lt;br&gt;
do next after learning a particular thing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; &lt;em&gt;You can choose any other paths that you like as long as it proves useful to you. I just happened to like these more&lt;/em&gt; :)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;A month by month guide&lt;/strong&gt;&lt;br&gt;
This &lt;a href="https://zerotomastery.io/blog/learn-to-code-in-2020-get-hired-and-have-fun-along-the-way/"&gt;article&lt;/a&gt; covers all the basic and important skills you need to learn &lt;br&gt;
before applying for the position of a junior developer.&lt;br&gt;
It also contain resources(mostly free) to get you started right away!&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Get an idea visually&lt;/strong&gt;&lt;br&gt;
This &lt;a href="https://github.com/kamranahmedse/developer-roadmap"&gt;Github repository&lt;/a&gt; gives a solid visual guide covering almost everything that you should learn and in what order (Just scroll down to the &lt;em&gt;README.md&lt;/em&gt; section). You can also check out the upcoming roadmaps on their &lt;a href="https://roadmap.sh/roadmaps"&gt;site&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Guide to the front end&lt;/strong&gt;&lt;br&gt;
This &lt;a href="https://www.freecodecamp.org/news/a-practical-guide-to-learning-front-end-development-for-beginners-da6516505e41/"&gt;guide&lt;/a&gt; mainly focuses on the front end development and provides resources for the same.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That was all for now. P.S. If you've got other useful guides or roadmaps, please do share them with me :)&lt;/p&gt;

&lt;p&gt;Thank you And Happy Coding😄!!&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>webdev</category>
      <category>codenewbie</category>
    </item>
  </channel>
</rss>
