<?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: Brian Bartholomew</title>
    <description>The latest articles on DEV Community by Brian Bartholomew (@bcbrian).</description>
    <link>https://dev.to/bcbrian</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%2F248514%2F122ec7ad-4dff-4176-b056-b36d62a620ae.png</url>
      <title>DEV Community: Brian Bartholomew</title>
      <link>https://dev.to/bcbrian</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bcbrian"/>
    <language>en</language>
    <item>
      <title>Your First 3 HTML Elements</title>
      <dc:creator>Brian Bartholomew</dc:creator>
      <pubDate>Wed, 10 Feb 2021 15:45:39 +0000</pubDate>
      <link>https://dev.to/bcbrian/your-first-3-html-elements-27m6</link>
      <guid>https://dev.to/bcbrian/your-first-3-html-elements-27m6</guid>
      <description>&lt;h2&gt;
  
  
  TLDR
&lt;/h2&gt;

&lt;p&gt;When starting to learn web development, I would focus more on javascript and CSS. To help with that, learn these three HTML Elements:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;button&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;input&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You should and will learn others. But this is a great place to start.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If you are a developer, as a challenge, try to build an accessible login screen with just &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt;s.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://app.codesagas.com/code-sagas-intro-course"&gt;FREE Course&lt;/a&gt;&lt;br&gt;
&lt;a href="https://twitch.tv/codesagas"&gt;Twitch stream&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Bit by Bit
&lt;/h2&gt;

&lt;p&gt;I am a self-taught software engineer, and I have helped hundreds of aspiring developers. The biggest challenge I have seen is that people try to soak in too much content too quickly. More often than not, the knowledge is lost, and time is wasted.&lt;/p&gt;

&lt;p&gt;The funny thing is most people retain things that are not pertinent or retain them incorrectly. This is a typical problem in many boot camps. They turn on that hose and say good luck. Don't get me wrong, this works for some people but not everyone. To help with this I suggest learning three HTML elements: &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;button&amp;gt;&lt;/code&gt;,  and &lt;code&gt;&amp;lt;input&amp;gt;&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why These Three?
&lt;/h2&gt;

&lt;p&gt;Knowing these three will help you understand the structure and provide an introduction to user experience (UX) and accessibility. This will force you to learn more CSS and HTML attributes to write good UX and more accessible code. &lt;/p&gt;

&lt;p&gt;To be clear, you should learn other HTML elements. This is for beginners, so they don't get overwhelmed and allows course curriculums to get to JavaScript quicker.&lt;/p&gt;

&lt;h2&gt;
  
  
  I Already Know These
&lt;/h2&gt;

&lt;p&gt;If you feel you are beyond this in your journey, try to make a login screen with just &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt;s. This means making an input that has focus ability and editability with a &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt;. You learn some cool CSS and JS. Feel free to share your solutions in the comments. I don't intend this to be practical for production but educational. I hope that you will learn things you may have missed in your saga.&lt;/p&gt;

&lt;h2&gt;
  
  
  Learn With Us
&lt;/h2&gt;

&lt;p&gt;Check out our &lt;a href="https://app.codesagas.com/code-sagas-intro-course"&gt;FREE course&lt;/a&gt; if you want to build a tabletop RPG dice roller app with these elements. The app is not the most fantastic thing ever, but it is pretty cool for your first app.&lt;/p&gt;

&lt;p&gt;Come check out our &lt;a href="https://twitch.tv/codesagas"&gt;Twitch stream&lt;/a&gt; most weekdays at 11 am MST.&lt;/p&gt;

&lt;p&gt;&lt;span&gt;Photo by &lt;a href="https://unsplash.com/@michael92?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Michael Jeffrey&lt;/a&gt; on &lt;a href="https://unsplash.com/s/photos/fire-hose?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Unsplash&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>3 Tools to Build and Deploy a Web App for FREE</title>
      <dc:creator>Brian Bartholomew</dc:creator>
      <pubDate>Mon, 08 Feb 2021 15:33:47 +0000</pubDate>
      <link>https://dev.to/bcbrian/3-tools-to-build-and-deploy-a-web-app-for-free-2jlk</link>
      <guid>https://dev.to/bcbrian/3-tools-to-build-and-deploy-a-web-app-for-free-2jlk</guid>
      <description>&lt;p&gt;&lt;span&gt;Photo by &lt;a href="https://unsplash.com/@hnhmarketing?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Hunter Haley&lt;/a&gt; on &lt;a href="https://unsplash.com/s/photos/tools?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Unsplash&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  TLDR
&lt;/h2&gt;

&lt;p&gt;If you are new to programing you don't need to download anything just need a chrome browser...&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Make an account on Github. Free code storage.&lt;/li&gt;
&lt;li&gt;Log into Codesandbox with the same GitHub account. Free online code editor.&lt;/li&gt;
&lt;li&gt;Use the new GitHub account to log in to Netlify. Free web app hosting.&lt;/li&gt;
&lt;li&gt;Take our &lt;a href="https://app.codesagas.com/code-sagas-intro-course"&gt;FREE course&lt;/a&gt; to use these tools and build Dice Roller 9000.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Links: &lt;a href="https://github.com"&gt;Github&lt;/a&gt;, &lt;a href="https://codesandbox.io"&gt;Codesandbox&lt;/a&gt;, &lt;a href="https://netlify.com"&gt;Netlify&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Details
&lt;/h2&gt;

&lt;p&gt;Github is facebook for developers, but instead of sharing stories and pics, we store our code there. Codessandbox is an online code editor. Netlify can pull our code from Github and publish it on the internet so anyone can see it. It takes less than seven minutes to set this all up and deploy a simple web page. &lt;/p&gt;

&lt;p&gt;Check out our &lt;a href="https://app.codesagas.com/code-sagas-intro-course"&gt;FREE course&lt;/a&gt; if you want to try these tools and build a tabletop RPG dice roller app! The app is not the most fantastic thing ever, but it is pretty cool for your first app.&lt;/p&gt;

&lt;p&gt;Come check out our &lt;a href="https://twitch.tv/codesagas"&gt;Twitch stream&lt;/a&gt; most weekdays 11 am MST.&lt;/p&gt;

</description>
      <category>codenewbie</category>
    </item>
    <item>
      <title>Making a Timer in JavaScript</title>
      <dc:creator>Brian Bartholomew</dc:creator>
      <pubDate>Wed, 18 Nov 2020 16:05:52 +0000</pubDate>
      <link>https://dev.to/bcbrian/making-a-timer-in-javascript-cik</link>
      <guid>https://dev.to/bcbrian/making-a-timer-in-javascript-cik</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://codesandbox.io/s/timer-example-c8gc8"&gt;Codesanbox link with notes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="//twitch.tv/codesagas"&gt;Twitch stream, twitch.tv/codesagas&lt;/a&gt; during your lunch break, 11 AM MST&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/channel/UCeY6Ssc5qnHtZJlS-QoAEEQ"&gt;Youtube&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="//twitter.com/codesagas"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  This is Easy Right
&lt;/h2&gt;

&lt;p&gt;As a coding educator, I have seen many developers make a timer in js like this&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;setInterval&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;function&lt;/span&gt;&lt;span class="p"&gt;(){&lt;/span&gt;
  &lt;span class="c1"&gt;// Do my task every second...&lt;/span&gt;
&lt;span class="p"&gt;},&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will work in most cases but there are some cases that it fails. The main case is giving the user time to do a task. Like a timed test or take a turn in a game.&lt;/p&gt;

&lt;p&gt;The issue is that they may get extra time because the action itself takes time to compute. Also, knowing when to stop is tricky.&lt;/p&gt;

&lt;p&gt;The solution requires a tad bit more work but is simple enough.&lt;/p&gt;

&lt;h2&gt;
  
  
  Solution
&lt;/h2&gt;

&lt;p&gt;Just do the interval more regularly. It is easy as a human to get stuck in thinking in seconds because we commonly do that in real life. Computers can handle much smaller time frames. We might have to do a bit more but it gives a better experience.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;setInterval&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;function&lt;/span&gt;&lt;span class="p"&gt;(){&lt;/span&gt;
  &lt;span class="c1"&gt;// Do my task every 50 milliseconds...&lt;/span&gt;
&lt;span class="p"&gt;},&lt;/span&gt; &lt;span class="mi"&gt;50&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Come Watch
&lt;/h2&gt;

&lt;p&gt;This post was explored in more depth during our &lt;a href="//twitch.tv/codesagas"&gt;Twitch stream, twitch.tv/codesagas&lt;/a&gt; during your lunch break, 11 AM MST. Come hang out and learn something new with us. We go over most things web development and try to keep it simple. Replays are posted on &lt;a href="https://www.youtube.com/channel/UCeY6Ssc5qnHtZJlS-QoAEEQ"&gt;Youtube&lt;/a&gt; in their entirety. And don't forget to follow us on &lt;a href="//twitter.com/codesagas"&gt;Twitter&lt;/a&gt; for more tips, tricks, and updates.&lt;/p&gt;

&lt;p&gt;&lt;span&gt;Cover Photo by &lt;a href="https://unsplash.com/@veri_ivanova?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Veri Ivanova&lt;/a&gt; on &lt;a href="https://unsplash.com/s/photos/timer?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Unsplash&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>tutorial</category>
      <category>react</category>
    </item>
  </channel>
</rss>
