<?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: Peta Stewart</title>
    <description>The latest articles on DEV Community by Peta Stewart (@peta_s).</description>
    <link>https://dev.to/peta_s</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%2F1370170%2Fe91520de-e076-4423-96ae-1c0daff1eebc.png</url>
      <title>DEV Community: Peta Stewart</title>
      <link>https://dev.to/peta_s</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/peta_s"/>
    <language>en</language>
    <item>
      <title>AI Tutors for Beginner Web Developers</title>
      <dc:creator>Peta Stewart</dc:creator>
      <pubDate>Tue, 26 Mar 2024 23:06:44 +0000</pubDate>
      <link>https://dev.to/peta_s/ai-tutors-for-beginner-web-developers-2mk5</link>
      <guid>https://dev.to/peta_s/ai-tutors-for-beginner-web-developers-2mk5</guid>
      <description>&lt;p&gt;In our new age of AI it, new tools are becoming available every day.  So let us make the most of them!&lt;/p&gt;

&lt;h2&gt;
  
  
  Table Of Contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Embracing AI for Learning&lt;/li&gt;
&lt;li&gt;Troubleshooting with AI&lt;/li&gt;
&lt;li&gt;Cons of AI Tutors&lt;/li&gt;
&lt;li&gt;Conclusion&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Embracing AI for Learning &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;In our new age of AI it, new tools are becoming available every day.  And for beginners following a “Web Dev Pathway” &lt;a href="https://youtu.be/PEBeBgc585w"&gt;“Web Dev Pathway”&lt;/a&gt;, these tools are perfect for free lessons.&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/bbREzyy1q-Y"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;By using &lt;a href="https://youtu.be/7_rUfpxQaXk"&gt;given challenge topics&lt;/a&gt; as AI chat prompts, you can fast track your learning progress. This will save you many hours sifting through irrelevant links and sites.  If anything is unclear to you, simply ask the AI to explain it and your questions will be answered.  &lt;/p&gt;

&lt;h3&gt;
  
  
  Troubleshooting with AI &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;In addition to learning new topics, AI can also help you to find solutions for any problems you come across in your coding.  Ai will quickly provide you with a checklist of possible causes and how to address them.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cons of AI Tutors &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Where data is limited on a topic, AI is liable to make some mistakes.  However, resources for HTML, CSS and Javascript are abundant, making the perfect choice when learning the fundamentals of web development.&lt;/p&gt;

&lt;h3&gt;
  
  
  Conclusion &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;AI is outperforming all beginners’ courses for teaching to code.  Not only are they free but they also respond to your queries immediately.  So get ahead and start learning with your AI tutor today.&lt;/p&gt;

&lt;p&gt;Happy Coding : )&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>programming</category>
      <category>ai</category>
    </item>
    <item>
      <title>HTML Shortcuts in VS Code</title>
      <dc:creator>Peta Stewart</dc:creator>
      <pubDate>Thu, 21 Mar 2024 11:28:48 +0000</pubDate>
      <link>https://dev.to/peta_s/html-shortcuts-in-vs-code-35nf</link>
      <guid>https://dev.to/peta_s/html-shortcuts-in-vs-code-35nf</guid>
      <description>&lt;h2&gt;
  
  
  Speed Coding
&lt;/h2&gt;

&lt;p&gt;Becoming an efficient developer sometimes requires us to spend a little time to learn a few shortcuts.  And here Emmet is helping us.  Emmet is a plug-in which ships with VS Code and provides shorthand notations for HTML when writing code in .html files. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Shortcut Features Include:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTML Page Template&lt;/li&gt;
&lt;li&gt;Elements&lt;/li&gt;
&lt;li&gt;Sibling Elements&lt;/li&gt;
&lt;li&gt;Child Elements&lt;/li&gt;
&lt;li&gt;Grouping&lt;/li&gt;
&lt;li&gt;Climb Up&lt;/li&gt;
&lt;li&gt;Multiple Elements&lt;/li&gt;
&lt;li&gt;Class &amp;amp; ID's&lt;/li&gt;
&lt;li&gt;Adding Text&lt;/li&gt;
&lt;li&gt;Custom Attributes&lt;/li&gt;
&lt;li&gt;Numbering&lt;/li&gt;
&lt;li&gt;Tag Attributes&lt;/li&gt;
&lt;li&gt;Place Holder Text&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/SLkihdVYlXw"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; To accept the emmet shortcut, press "Tab" or "Enter.  And to skip all the suggestions, press "Esc" or adding a space will remove the list.&lt;/p&gt;

&lt;h3&gt;
  
  
  HTML Page Template &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;To add the new page boilerplate code, insert:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;!
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And then enter to get:&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 lang="en"&amp;gt;
&amp;lt;head&amp;gt;
    &amp;lt;meta charset="UTF-8"&amp;gt;
    &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;
    &amp;lt;title&amp;gt;Document&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

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

&lt;/div&gt;



&lt;h3&gt;
  
  
  Elements &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Type any element tag name&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;h1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To get the closing and opening tags&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&amp;gt;&amp;lt;/h1&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Sibling Elements &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Use +&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;header+footer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To add element on the same level&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;header&amp;gt;&amp;lt;/header&amp;gt;
&amp;lt;footer&amp;gt;&amp;lt;/footer&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Child Elements &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Use &amp;gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    header&amp;gt;nav
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To add a nested element&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;header&amp;gt;
        &amp;lt;nav&amp;gt;&amp;lt;/nav&amp;gt;
    &amp;lt;/header&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Grouping &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Use ()&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    header+(main&amp;gt;section)+footer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To group elements&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;header&amp;gt;&amp;lt;/header&amp;gt;
    &amp;lt;main&amp;gt;
        &amp;lt;section&amp;gt;&amp;lt;/section&amp;gt;
    &amp;lt;/main&amp;gt;
    &amp;lt;footer&amp;gt;&amp;lt;/footer&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Climb Up &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Use ^ to escape a level of nesting&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    header+main&amp;gt;section^footer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To escape a level of nesting&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;header&amp;gt;&amp;lt;/header&amp;gt;
    &amp;lt;main&amp;gt;
        &amp;lt;section&amp;gt;&amp;lt;/section&amp;gt;
    &amp;lt;/main&amp;gt;
    &amp;lt;footer&amp;gt;&amp;lt;/footer&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Multiple Elements &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Use *&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    ul&amp;gt;li*4
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To multiply the number of elements&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;ul&amp;gt;
        &amp;lt;li&amp;gt;&amp;lt;/li&amp;gt;
        &amp;lt;li&amp;gt;&amp;lt;/li&amp;gt;
        &amp;lt;li&amp;gt;&amp;lt;/li&amp;gt;
        &amp;lt;li&amp;gt;&amp;lt;/li&amp;gt;
    &amp;lt;/ul&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Class &amp;amp; ID's &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Use .&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    nav.my-nav
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To add a class&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;nav class="my-nav"&amp;gt;&amp;lt;/nav&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And #&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;nav#my-id
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To add an ID&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;nav id="my-id"&amp;gt;&amp;lt;/nav&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;p&gt;Use {}&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;button{Click Me}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To add text between the tags&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;button&amp;gt;Click Me&amp;lt;/button&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Custom Attributes &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Use []&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;button[data-id=btn-id]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To add a custom attribute inside the 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;button data-id="btn-id"&amp;gt;&amp;lt;/button&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Numbering &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Use $&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ul&amp;gt;li*3#my-item${I'm number $}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To add numbering for the element&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;ul&amp;gt;
    &amp;lt;li id="my-item1"&amp;gt;I'm number 1&amp;lt;/li&amp;gt;
    &amp;lt;li id="my-item2"&amp;gt;I'm number 2&amp;lt;/li&amp;gt;
    &amp;lt;li id="my-item3"&amp;gt;I'm number 3&amp;lt;/li&amp;gt;
&amp;lt;/ul&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Tag Attributes &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Use :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;script:src
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To add 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;script src=""&amp;gt;&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Place Holder Text &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Use :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;lorem6*3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To add chunks of dummy text&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Lorem ipsum dolor sit amet consectetur.
Expedita quasi aspernatur velit commodi repellendus?
Voluptas voluptatibus numquam et nam ratione.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;See the video for more explanation and check out the &lt;a href="https://docs.emmet.io/cheat-sheet/"&gt;"Emmet Cheat Sheet"&lt;/a&gt; for more examples.&lt;/p&gt;

&lt;p&gt;And make sure you start using shortcuts to accelerate your coding! &lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
