<?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: Scott Kristopff</title>
    <description>The latest articles on DEV Community by Scott Kristopff (@scottkristopff).</description>
    <link>https://dev.to/scottkristopff</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%2F402993%2F8540aa32-b828-40f9-b178-98973cccdeca.png</url>
      <title>DEV Community: Scott Kristopff</title>
      <link>https://dev.to/scottkristopff</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/scottkristopff"/>
    <language>en</language>
    <item>
      <title>100 Days Of Code | Day 2</title>
      <dc:creator>Scott Kristopff</dc:creator>
      <pubDate>Sat, 26 Sep 2020 01:31:38 +0000</pubDate>
      <link>https://dev.to/scottkristopff/100-days-of-code-day-2-pn3</link>
      <guid>https://dev.to/scottkristopff/100-days-of-code-day-2-pn3</guid>
      <description>&lt;p&gt;Hello Everyone,&lt;/p&gt;

&lt;p&gt;On day two of my coding journey, I decided to finish a Rock Paper Scissors project on Code Academy. &lt;/p&gt;

&lt;p&gt;To make things interesting I didn't use any tips and I wrote down each challenge I faced during the project's duration.&lt;/p&gt;

&lt;p&gt;Challenges&lt;/p&gt;

&lt;p&gt;Challenge (1)&lt;/p&gt;

&lt;p&gt;Didn't know how to start the project. Didn't know what route to&lt;/p&gt;

&lt;p&gt;take that makes the user choose three options.&lt;/p&gt;

&lt;p&gt;Challenge (2)&lt;/p&gt;

&lt;p&gt;The route I took: I created a function with three parameters (Rock, Paper, Scissors);&lt;/p&gt;

&lt;p&gt;Solution: Created an arrow function with one parameter called UserInput.&lt;/p&gt;

&lt;p&gt;Challenge (3)&lt;/p&gt;

&lt;p&gt;The else statement was returning as undefined when called.&lt;/p&gt;

&lt;p&gt;Solution: add a return statement and remove the console.log &lt;/p&gt;

&lt;p&gt;Reminder: Always use return because console.log has no return value.&lt;/p&gt;

&lt;p&gt;Challenge(4)&lt;/p&gt;

&lt;p&gt;The instructions on question 8 had me confused in terms of the else statement. I didn't know what to write after the return in the else statement block.&lt;/p&gt;

&lt;p&gt;Solution: return 'You Won' (Because if the computer didn't choose paper then that means you might have).&lt;/p&gt;

&lt;p&gt;Challenge(5)&lt;/p&gt;

&lt;p&gt;The logic for determining the winner is returning as undefined when the function is invoked.&lt;/p&gt;

&lt;p&gt;Solution: Test each of the statements separately and see if it works or returns undefined.&lt;/p&gt;

&lt;p&gt;Challenge(6)&lt;/p&gt;

&lt;p&gt;The play game function is always showing tie game regardless of the user and player choices&lt;/p&gt;

&lt;p&gt;Solution: console.log the determined winner function but put the variables that hold the user choice and ComputerChoice as parameters.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>100daysofcode</category>
      <category>beginners</category>
      <category>productivity</category>
    </item>
    <item>
      <title>100 Days Of Code | Day 1</title>
      <dc:creator>Scott Kristopff</dc:creator>
      <pubDate>Mon, 21 Sep 2020 00:01:35 +0000</pubDate>
      <link>https://dev.to/scottkristopff/100-days-of-code-day-1-1log</link>
      <guid>https://dev.to/scottkristopff/100-days-of-code-day-1-1log</guid>
      <description>&lt;p&gt;Hello Everyone,&lt;/p&gt;

&lt;p&gt;I arise from my quarantine cave, after finally beating the old &amp;amp; ugly monster of procrastination, with my mechanical keyboard. Today is the day I start making an impact in the programming community.&lt;/p&gt;

&lt;p&gt;Before we get this show on the road, I must come clean, the people deserve it. I've been coding consistently for about 6 months...&lt;/p&gt;

&lt;p&gt;So even though I'm technically not a beginner I po·sess a beginner mentality, so hopefully, some of you don't throw me to the wolves. (joking about the wolves part)...&lt;/p&gt;

&lt;p&gt;On my first day of the 100DOC challenge, I decided to start on improving my JavaScript fundamentals. I reviewed some core concepts and wrote down what concepts I forgot, and are difficult for me.&lt;/p&gt;

&lt;p&gt;JavaScripts Fundamentals Practice&lt;/p&gt;

&lt;p&gt;Current Weaknesses&lt;br&gt;
Methods - Math.floor, Math.Random, indexOf(), &lt;br&gt;
Functions - Helper Functions, Function Expressions,  Helper Functions, Default parameters&lt;/p&gt;

</description>
      <category>100daysofcode</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
