<?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: James</title>
    <description>The latest articles on DEV Community by James (@jchetters).</description>
    <link>https://dev.to/jchetters</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F179591%2Fd2847019-c601-4a9d-8011-fd752f22d662.jpg</url>
      <title>DEV Community: James</title>
      <link>https://dev.to/jchetters</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jchetters"/>
    <language>en</language>
    <item>
      <title>Is there an accessible way to have buttons that are kinda links in a select list?</title>
      <dc:creator>James</dc:creator>
      <pubDate>Wed, 05 Feb 2020 19:01:21 +0000</pubDate>
      <link>https://dev.to/jchetters/is-there-an-accessible-way-to-have-buttons-that-are-kinda-links-in-a-select-list-3ihi</link>
      <guid>https://dev.to/jchetters/is-there-an-accessible-way-to-have-buttons-that-are-kinda-links-in-a-select-list-3ihi</guid>
      <description>&lt;p&gt;I need to have a select list (or something that looks just like it) where users can choose their language. When they make the selection the site is translated. This code shows the idea: &lt;/p&gt;

&lt;p&gt;&lt;a href="https://codepen.io/_j_i_m_fb_/pen/gOpOYGV"&gt;https://codepen.io/_j_i_m_fb_/pen/gOpOYGV&lt;/a&gt;&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;select&amp;gt;
  &amp;lt;option&amp;gt;English&amp;lt;/option&amp;gt;
  &amp;lt;option&amp;gt;French&amp;lt;/option&amp;gt;
&amp;lt;/select&amp;gt;

const SELECT = document.querySelector('select');

const changeLanguage = language =&amp;gt; {
  console.log('Language is now ', language)
}

SELECT.addEventListener('change', (e) =&amp;gt; changeLanguage(e.target.value));
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Can something like this be made accessable? I feel that really the languages text should be buttons or links, but I don't think those are valid in a select list. I could style a &lt;code&gt;ul&lt;/code&gt; with CSS but then you'd lose the native controls on mobile, so for at least some users it would be worse UX.&lt;/p&gt;

&lt;p&gt;Also as a side note, why is there no "accessibility" tag? &lt;/p&gt;

</description>
      <category>html</category>
      <category>ux</category>
    </item>
    <item>
      <title>What was your "aha moment" for OOP?</title>
      <dc:creator>James</dc:creator>
      <pubDate>Sun, 01 Dec 2019 14:00:43 +0000</pubDate>
      <link>https://dev.to/jchetters/what-was-your-aha-moment-for-oop-45k6</link>
      <guid>https://dev.to/jchetters/what-was-your-aha-moment-for-oop-45k6</guid>
      <description>&lt;p&gt;I remember when I was new to React and I tried Redux. I didn't get it at first as it was overkill for the simple apps I was building. When my React skills improved there came a point I was managing complex enough state that I saw how Redux was useful and I had my "aha moment".&lt;/p&gt;

&lt;p&gt;Im traditionally a JavaScript developer but Im learning Object Oriented Programming and PHP. I get the general idea but I've yet to have the "aha moment" where I see what problem I would choose to solve with it if I had other options. &lt;/p&gt;

&lt;p&gt;When was your "aha moment"? I think it would help me to understand why you would put up with the verbosity.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Is Object Oriented programming less popular in JavaScript than other languages?</title>
      <dc:creator>James</dc:creator>
      <pubDate>Sat, 30 Nov 2019 12:34:29 +0000</pubDate>
      <link>https://dev.to/jchetters/is-object-oriented-programming-less-popular-in-javascript-than-other-languages-5dil</link>
      <guid>https://dev.to/jchetters/is-object-oriented-programming-less-popular-in-javascript-than-other-languages-5dil</guid>
      <description>&lt;p&gt;I'm learning Object Oriented programming with PHP for work. My background is frontend / JavaScript development and I've not really come across OO before. It seems that OO is less popular in JavaScript than other languages but maybe I've just been in the React bubble.&lt;/p&gt;

&lt;p&gt;Do you agree that OO is less popular in JS? If so then why is that? &lt;/p&gt;

</description>
    </item>
    <item>
      <title>Good projects / challenges to get better at Docker?</title>
      <dc:creator>James</dc:creator>
      <pubDate>Wed, 12 Jun 2019 15:46:55 +0000</pubDate>
      <link>https://dev.to/jchetters/good-projects-challenges-to-get-better-at-docker-2ha3</link>
      <guid>https://dev.to/jchetters/good-projects-challenges-to-get-better-at-docker-2ha3</guid>
      <description>&lt;p&gt;I'm a frontend dev. I love UX, CSS, JavaScript / React, GraphQL, Node but I've never enjoyed devops and infrastructure. &lt;/p&gt;

&lt;p&gt;I know the very basics of Docker but I hate using it. Our pipeline at work is quite complicated so when something breaks Ive never any idea how to fix it. &lt;/p&gt;

&lt;p&gt;What are some good projects or challenges to get more comfortable with Docker? I found Wes Bos's course great for learning JavaScript as it was lots of little tasks that got incrementally harder. Im finding it hard to motivate myself as any cool side project ideas that I have don't need Docker.&lt;/p&gt;

</description>
      <category>docker</category>
    </item>
  </channel>
</rss>
