<?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: mosesmbadi</title>
    <description>The latest articles on DEV Community by mosesmbadi (@mosesmbadi).</description>
    <link>https://dev.to/mosesmbadi</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%2F408322%2F99879672-51f7-49db-8077-90910c7a5c79.png</url>
      <title>DEV Community: mosesmbadi</title>
      <link>https://dev.to/mosesmbadi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mosesmbadi"/>
    <language>en</language>
    <item>
      <title>State in Web Dev Explained to a 10Y/O</title>
      <dc:creator>mosesmbadi</dc:creator>
      <pubDate>Sat, 09 Jan 2021 16:31:07 +0000</pubDate>
      <link>https://dev.to/mosesmbadi/state-in-web-dev-explained-to-a-10y-o-1a85</link>
      <guid>https://dev.to/mosesmbadi/state-in-web-dev-explained-to-a-10y-o-1a85</guid>
      <description>&lt;p&gt;Let's go straight to the point.You are building a website (assuming the 10y/o has already learnt the basics of web development),so you have the header,a few this and that for the landing page,and a footer at the bottom.&lt;/p&gt;

&lt;p&gt;Now just above the footer you have a form,with maybe the Name field and the Message field.Now state,simply put is what your user will be looking at before and after a certain activity.For example,when a user scrolls and reaches the form,it's just an empty form with the fields,now that is the 'initial state'...then the user enters some values and clicks the submit button,then you have a red alert that the says the name is invalid,now that's another state.After correcting,the user clicks the submit button and a 'success' message pops up,that's another state.&lt;/p&gt;

&lt;p&gt;When developing this,you'll need,well 3 code blocks for the three states,this is why you see the getInitialstate ,setState,this.state getState in that repo you cloned.&lt;/p&gt;

&lt;p&gt;I understand that there might be a more broader and technical way to explain this,but after hours of googling to try and understand state in web dev,this is how I wish someone would have explained it to me.&lt;/p&gt;

</description>
      <category>webdev</category>
    </item>
    <item>
      <title>Why using a website builder is 'shooting yourself in the foot'</title>
      <dc:creator>mosesmbadi</dc:creator>
      <pubDate>Sun, 27 Sep 2020 14:03:26 +0000</pubDate>
      <link>https://dev.to/mosesmbadi/why-using-a-website-builder-is-shooting-yourself-in-the-foot-240f</link>
      <guid>https://dev.to/mosesmbadi/why-using-a-website-builder-is-shooting-yourself-in-the-foot-240f</guid>
      <description>&lt;p&gt;I started learning web development late last year.Becoming a self-taught developer is quite easy contrary to popular opinion,(if you know where to start😉,and what to understand ).In my case I started with reading alot of 'how to get started in web dev' articles from this I slowly noticed a trend,then I made my own syllabus and got started.So,6 months after that  started spreading the word among my friends that I develop websites.That's how I got my first 4 gigs.&lt;br&gt;
I built the first 3 website with html and CSS,they were simple blog websites,and JavaScript was a huge pain in the ass to understand 🤦.The forth one I just downloaded a template and customized it.So,my fifth website as a freelancer ,I was dead broke and a client approached me with a small offer.I told myself I will just take the money and build the website on wordpress and it will take me less than an hour (and lesser cups of coffee😂) .Long story short,a week later the website got hacked by some Turkey guy,after restoring,I again ran into another bug,it took ages to load.After that it went down,took me hours googling to find out the issue.All this while the websites I developed from scratch using html,css and js and in some case Django had no issue and were loading at light speed.&lt;br&gt;
Another bad experience with website builders is when I tried wix.You see,for less than Ksh 4,000 ($40) I can host my website with Truehost compared to Wix which will charge you Ksh 2,400 ($24) a month!Woaa!Maybe that's pocket change in your country,but in kenya that's alot of money.&lt;br&gt;
Flexibility is very important when building a website.You need to have total control over your website.It's a huge bummar when you get complaints from website visitors that your website has a bug yet you don't know where to start to fix it.In addition,you competency will be doubted when you tell your client or manager that you can't reduce the image size because the website builder has a min of 500*500pxs.&lt;br&gt;
I learned my lesson.&lt;/p&gt;

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