<?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: Matthew Marquise</title>
    <description>The latest articles on DEV Community by Matthew Marquise (@mattmarquise).</description>
    <link>https://dev.to/mattmarquise</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%2F343373%2Faae24b35-904b-4a1a-82de-24e745e924df.jpg</url>
      <title>DEV Community: Matthew Marquise</title>
      <link>https://dev.to/mattmarquise</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mattmarquise"/>
    <language>en</language>
    <item>
      <title>Hello! It's been a while...</title>
      <dc:creator>Matthew Marquise</dc:creator>
      <pubDate>Mon, 22 Nov 2021 15:44:49 +0000</pubDate>
      <link>https://dev.to/mattmarquise/hello-its-been-a-while-21bo</link>
      <guid>https://dev.to/mattmarquise/hello-its-been-a-while-21bo</guid>
      <description>&lt;p&gt;Lately I've been transitioning from a front-end developer to a UX designer, and I haven't posted much on Dev.to since my popular "Implement Dark Mode on Your Website" article went viral, which now has received roughly 13,500 views. I greatly appreciate all the support from the Dev.to community, and though I have no plans to leave this platform, I just won't be writing as frequently on here, however, I do have another super neat programming tutorial in the works for here. In the mean time, if you want to read more of my design/development content then I'd suggest checking me out on &lt;a href="https://matthewmarquise.medium.com"&gt;Medium&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Today I just published my second major case study about my journey in designing and developing an entirely new website for a real estate and vacation rental agency in Maine. &lt;a href="https://matthewmarquise.medium.com/working-with-island-property-to-bring-a-fresh-modern-look-to-their-website-and-brand-36e2b2874a3e?sk=da61b65800a3701494fa57bce7e7741a"&gt;Read it here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;My previous case study was about designing a concept app that enables users to effortlessly pre-order food from food trucks so they didn't have to wait in line and could be guaranteed food. &lt;a href="https://matthewmarquise.medium.com/street-side-an-app-to-change-how-everyone-eats-at-food-trucks-44f09091b091?sk=ab59dd6993f2a2643b84e5b0df8648c4"&gt;Read it here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Again, thank you all for your overwhelming support and stay tuned for the next programming tutorial!&lt;/p&gt;

</description>
      <category>ux</category>
      <category>design</category>
      <category>webdev</category>
      <category>a11y</category>
    </item>
    <item>
      <title>Daily UI :: 001 - Sign Up Page</title>
      <dc:creator>Matthew Marquise</dc:creator>
      <pubDate>Wed, 07 Apr 2021 12:34:48 +0000</pubDate>
      <link>https://dev.to/mattmarquise/daily-ui-001-sign-up-page-53fh</link>
      <guid>https://dev.to/mattmarquise/daily-ui-001-sign-up-page-53fh</guid>
      <description>&lt;p&gt;I completed the first of Daily UI's 100 day design challenge. Here's what I did, how I did it, my thoughts from the first day, and I already strongly recommend doing it!&lt;/p&gt;

&lt;h1&gt;
  
  
  The challenge:
&lt;/h1&gt;

&lt;p&gt;Design A Sign Up Page.&lt;/p&gt;

&lt;p&gt;I began by doing a little research on the internet to gain inspiration. After a few minutes of doing so, I had a couple ideas. For this first day I decided to do two different 'takes' on a sign up page. The first being a modern, minimalistic sign up page for a mobile app. The second also being a modern and minimalistic sign up form but for a website. &lt;/p&gt;

&lt;h2&gt;
  
  
  Take 1:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ik0ElH4o--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pn9o4thp8uiydds1c37b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ik0ElH4o--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pn9o4thp8uiydds1c37b.png" alt="Daily UI :: 001 Take 1"&gt;&lt;/a&gt;&lt;a href="https://www.behance.net/gallery/116951867/Daily-UI-001-Sign-Up-Page-Take-1"&gt;Daily UI ::001 - Sign Up Page; Take 1 - Bēhance&lt;/a&gt;&lt;br&gt;
&lt;a href="https://dribbble.com/shots/15431498-Daily-UI-001-Sign-Up-Page-Take-1"&gt;Daily UI ::001 - Sign Up Page; Take 1 - Dribble&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For this first take I wanted to give designing a sign up form for a mobile app a shot. I'm pretty satisfied with it currently, though there is room for improvement so I'll definitely return to this first take and update it a bit later on. &lt;/p&gt;

&lt;p&gt;The first of the two pages, the "Intro Screen" is the welcome/introduction to the app. The page is very basic in the sense that besides the welcome text, it only features a "Create Account" button. &lt;/p&gt;

&lt;p&gt;Moving to the "Sign Up Form" page, the page viewed after pushing the Create Account button, it features the actual form where users can choose to create an account with the app, or create one using their Apple or Google account. Once they've filled out their information using any of the sign up options, pushing the sign up button will transport the user straight into the app.&lt;/p&gt;

&lt;h2&gt;
  
  
  Take 2:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--R_FiMzGT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rc79ztap1cfsucbrrp4m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--R_FiMzGT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rc79ztap1cfsucbrrp4m.png" alt="Daily UI :: 001 Take 2"&gt;&lt;/a&gt;&lt;a href="https://www.behance.net/gallery/116957689/Daily-UI-001-Sign-Up-Page-Take-2"&gt;Daily UI ::001 - Sign Up Page; Take 1 - Bēhance&lt;/a&gt;&lt;br&gt;
&lt;a href="https://dribbble.com/shots/15431516-Daily-UI-001-Sign-Up-Page-Take-2"&gt;Daily UI ::001 - Sign Up Page; Take 1 - Dribble&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For the second take I decided to go with a sign up page for a desktop website. I began with a simple split screen design I've seen countless times on various, popular websites. This sign up form doesn't feature a sign up with apple or google button because I thought it would be more fitting just to have the user create an account directly. It's followed by two check boxes for auto sign up to newsletter, and a select box for accepting terms and conditions. &lt;/p&gt;

&lt;p&gt;As for the color and concept of developers who love salads, it's very random and wasn't my original intention but I thought why not add a bit of humor to liven up the project!&lt;/p&gt;

&lt;p&gt;As always, thanks for reading, and consider following me on Dribbble and or Bēhance to stay up to date on each project I complete!&lt;/p&gt;

&lt;h2&gt;
  
  
  The Next Project: Credit Card Checkout Page.
&lt;/h2&gt;

</description>
      <category>ux</category>
      <category>ui</category>
      <category>design</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Follow me on my journey as I complete 100 UI/UX design challenges in 100 days!</title>
      <dc:creator>Matthew Marquise</dc:creator>
      <pubDate>Wed, 07 Apr 2021 00:01:45 +0000</pubDate>
      <link>https://dev.to/mattmarquise/follow-me-on-my-journey-as-i-complete-100-ui-ux-design-challenges-in-100-days-jgb</link>
      <guid>https://dev.to/mattmarquise/follow-me-on-my-journey-as-i-complete-100-ui-ux-design-challenges-in-100-days-jgb</guid>
      <description>&lt;p&gt;Today I started the very first day of Daily UI's 100 day UI &amp;amp; UX design challenge! Every day, except on weekends, for the next 100 days I'll be completing each daily project. Depending on the complexity of each project I will likely try and do multiple different takes on each days challenge. Follow me on DEV, Medium, Bēhance, Dribbble, and check out my personal website for updates as I achieve each day's challenges!&lt;/p&gt;

</description>
      <category>ux</category>
      <category>design</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Create a Modern Circular Cursor for Your Website.</title>
      <dc:creator>Matthew Marquise</dc:creator>
      <pubDate>Tue, 02 Mar 2021 01:37:04 +0000</pubDate>
      <link>https://dev.to/mattmarquise/how-to-create-a-custom-circular-cursor-for-your-website-4i7p</link>
      <guid>https://dev.to/mattmarquise/how-to-create-a-custom-circular-cursor-for-your-website-4i7p</guid>
      <description>&lt;p&gt;Have you ever seen those modern websites with custom cursors? Most are circular and really add a unique touch to the sites. &lt;/p&gt;

&lt;h2&gt;
  
  
  Here are a couple examples of sites that use a circular cursor:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.playground.it"&gt;Playground&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://mtg-interieur.fr/#"&gt;MTG Interior&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://mallardandclaret.com"&gt;Mallard and Claret&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each of those sites have there own unique version of a circular cursor, and there are countless other websites out there with similar, circular cursors. &lt;/p&gt;

&lt;p&gt;When I first began to see this trend, I certainly wanted to give it a shot but wasn't sure how hard or easy it would be. Believe it or not, it's very simple. So this tutorial I not only want to show you how to make a few types of circular cursors, I also want to explain how it works. Let's begin.&lt;/p&gt;

&lt;h2&gt;
  
  
  Table of Contents:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Basic Circular Cursor&lt;/li&gt;
&lt;li&gt;Circular, Inverted Cursor&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Basic Circular Cursor:
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Step 1:
&lt;/h2&gt;

&lt;p&gt;Start by creating a basic html webpage to test with. &lt;br&gt;
Create an index.html file a fill it with the below code.&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;!-- index.html --&amp;gt;

&amp;lt;head&amp;gt;
  &amp;lt;title&amp;gt;Circular Cursor Tutorial&amp;lt;/title&amp;gt;

  &amp;lt;meta charset="UTF-8"&amp;gt;
  &amp;lt;meta name="viewport" content="width=device-width, user-scalable=no"&amp;gt;

  &amp;lt;link rel="stylesheet" href="main.css"&amp;gt;

  &amp;lt;script src="main.js"&amp;gt;&amp;lt;/script&amp;gt;
  &amp;lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&amp;gt;&amp;lt;/script&amp;gt;

&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
  &amp;lt;h1&amp;gt;
    Hello!
  &amp;lt;/h1&amp;gt;
  &amp;lt;p&amp;gt;This is a simple, circular cursor that is easy to implement and will truly make your website stand out.&amp;lt;/p&amp;gt;
&amp;lt;/body&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the head section you'll notice I've included basic meta tags, as well as an included script for jQuery UI that's being sourced from &lt;a href="https://ajax.googleapis.com"&gt;Google Hosted Libraries&lt;/a&gt;. I also linked a CSS and JS file we'll create next.&lt;br&gt;
&lt;br&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Step 2:
&lt;/h2&gt;

&lt;p&gt;Now that we have a general base to build on, let's begin adding the code to make it function properly.&lt;/p&gt;

&lt;p&gt;Create a CSS file titled main.css and for the entire html file set the property of the cursor to &lt;code&gt;none&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/* main.css */

html {
  cursor: none;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You should now see that your cursor vanishes. Now that we've hidden the default cursor, we need to begin adding our custom cursor.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#circularcursor {
  background-color: transparent;
  border:1px solid black;    
  height:20px;
  width:20px;
  border-radius:50%;
  -moz-border-radius:50%;
  -webkit-border-radius:50%;
  position: absolute;
  z-index: 1;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This CSS creates the circle we want. You should notice that your new circular cursor is stuck in the top left corner of the webpage. In order to attach it to the now invisible default cursor we need a little javascript.&lt;/p&gt;

&lt;p&gt;Once you've added the CSS, create a javascript file titled main.js. Add the following code:&lt;br&gt;
&lt;/p&gt;

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

document.body.onmousemove = function(e) {
  document.documentElement.style.setProperty (
    '--x', (
      e.clientX+window.scrollX
    )
    + 'px'
  );
  document.documentElement.style.setProperty (
    '--y', (
      e.clientY+window.scrollY
    ) 
    + 'px'
  );
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In simple terms, this javascript function is just mapping the mouse. If you leave this javascript out, the webpage will have no way of mapping the cursor therefore your cursor will stay in the corner. &lt;/p&gt;

&lt;p&gt;You should now have this:&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/mattmarquise/embed/GRNdNqb?height=600&amp;amp;default-tab=full,result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Now that you understand the basics of how to create a custom cursor, let's create a more complex one.&lt;/p&gt;

&lt;p&gt;&lt;a&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Circular, Inverted Cursor:
&lt;/h1&gt;

&lt;p&gt;Creating a circular, inverted cursor is also very easy.&lt;br&gt;
&lt;br&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Step 1:
&lt;/h2&gt;

&lt;p&gt;Start with a basic html file:&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;head&amp;gt;
  &amp;lt;title&amp;gt;Inverted Circular Cursor&amp;lt;/title&amp;gt;

&amp;lt;/head&amp;gt;
&amp;lt;body align="center"&amp;gt;
  &amp;lt;div id="invertedcursor"&amp;gt;&amp;lt;/div&amp;gt;

  &amp;lt;h1&amp;gt;This Cursor is Inverted!&amp;lt;/h1&amp;gt;

  &amp;lt;p&amp;gt;
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis volutpat elementum risus vitae volutpat. Donec luctus tellus ut ligula tempus semper. Pellentesque ac semper mauris, quis varius purus. Quisque sit amet imperdiet lorem, eget vulputate ante. Suspendisse potenti. Fusce a magna ultrices, aliquet ligula a, pellentesque est. Phasellus non luctus magna.
  &amp;lt;/p&amp;gt; 
&amp;lt;/body&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;h2&gt;
  
  
  Step 2:
&lt;/h2&gt;

&lt;p&gt;Create a CSS file titled main.css. Add a body selector and make sure to set the cursor to &lt;code&gt;none&lt;/code&gt;. Follow it with an id titled &lt;code&gt;invertedcursor&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/* main.css */

body {
  height: 100%;
  min-height: 100%;
  cursor: none;
  color: #000;
  background-color: #fff;
}

#invertedcursor {
  position: absolute;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  top: var(--y, 0);
  left: var(--x, 0);
  transform: translate(-50%, -50%);
  z-index: 2;
  mix-blend-mode: difference;
  transition: transform .2s;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The CSS code within, simply determines what the background and text colors also mixing the coloration with the mix-blend-mode. For more info about mix-blend-mode visit: &lt;a href="https://www.w3schools.com/cssref/pr_mix-blend-mode.asp"&gt;W3Schools.com - CSS mix-blend-mode Property&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3:
&lt;/h2&gt;

&lt;p&gt;Lastly, let's add the necessary JS in a file titled main.js.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// main.js
document.body.onmousemove = function(e) {
  document.documentElement.style.setProperty (
    '--x', (
      e.clientX+window.scrollX
    )
    + 'px'
  );
  document.documentElement.style.setProperty (
    '--y', (
      e.clientY+window.scrollY
    ) 
    + 'px'
  );
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This JS code simply maps where the cursor is based on a X and Y axis.&lt;/p&gt;

&lt;p&gt;You should now have this:&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/mattmarquise/embed/yLVjmOW?height=600&amp;amp;default-tab=full,result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h4&gt;
  
  
  So those are two great examples of custom circular cursors you can easily implement in your website! Feel free to ask any questions or suggest better ways to achieve this in the comments!
&lt;/h4&gt;

&lt;p&gt;Thanks for reading!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Implement Dark Mode On Your Website.</title>
      <dc:creator>Matthew Marquise</dc:creator>
      <pubDate>Thu, 25 Feb 2021 19:59:36 +0000</pubDate>
      <link>https://dev.to/mattmarquise/implement-dark-mode-on-your-website-5c5a</link>
      <guid>https://dev.to/mattmarquise/implement-dark-mode-on-your-website-5c5a</guid>
      <description>&lt;p&gt;Dark Mode is an extremely popular feature to implement into your website using basic HTML, CSS and JS. So why don't you have it on yours yet? In three easy steps you can enhance your site to incorporate dark mode! Let's get started.&lt;br&gt;
&lt;br&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Table Of Contents
&lt;/h2&gt;

&lt;p&gt;Step 1&lt;br&gt;
Step 1&lt;br&gt;
Step 3&lt;br&gt;
Demo On CodePen&lt;br&gt;
&lt;br&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Step 1: &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;If you don't already have a website, simply create an HTML file.&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;!-- index.html --&amp;gt;

&amp;lt;!DOCTYPE html&amp;gt;
  &amp;lt;head&amp;gt;
    &amp;lt;title&amp;gt;Dark Mode Feature&amp;lt;/title&amp;gt;
    &amp;lt;meta charset="UTF-8"&amp;gt;
    &amp;lt;meta http-equiv="Content-type" content="text/html; charset=UTF-8"&amp;gt;
    &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&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;p&gt;Once you have that lets implement the HTML and CSS&lt;br&gt;
&lt;br&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Step 2: &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;In the basic HTML form lets now input everything we will need. Start by connecting your JS and CSS file. add&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;!-- index.html --&amp;gt;

&amp;lt;!DOCTYPE html&amp;gt;
  &amp;lt;head&amp;gt;
    &amp;lt;title&amp;gt;Dark Mode Feature&amp;lt;/title&amp;gt;
    &amp;lt;meta charset="UTF-8"&amp;gt;
    &amp;lt;meta http-equiv="Content-type" content="text/html; charset=UTF-8"&amp;gt;
    &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;

    &amp;lt;!-- ADD CSS FILE --&amp;gt;
    &amp;lt;link rel="stylesheet" href="main.css"&amp;gt;

    &amp;lt;!-- ADD JS FILE --&amp;gt;
    &amp;lt;script src="main.js"&amp;gt;&amp;lt;/script&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;p&gt;Now we need to create those two files. Feel free to change the name of your css and&lt;/p&gt;

&lt;p&gt;In the CSS file we'll add these lines of code.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/* main.css */
body {
  background-color: white;
  color: black;
}

.dark-mode {
  background-color: black;
  color: white;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Within the body we have specified that we want our default background to be white with black text. Then in the dark-mode class we've specified that we want want to change the background to black with white text.&lt;/p&gt;

&lt;p&gt;Now we need to create the main.js file, the brain of our dark mode feature.&lt;br&gt;
&lt;/p&gt;

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

function darkmode() {
  const wasDarkmode = localStorage.getItem('darkmode') === 'true';
  localStorage.setItem('darkmode', !wasDarkmode);
  const element = document.body;
  element.classList.toggle('dark-mode', !wasDarkmode);
}

function onload() {
  document.body.classList.toggle('dark-mode', localStorage.getItem('darkmode') === 'true');
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once you've successfully created both the main.css and main.js files there's one last thing.&lt;br&gt;
&lt;br&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Step 3: &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Though you may think you're done, you aren't. Ask yourself this very question. What if my website has multiple pages? how will each page stay in dark mode without returning to the default white background? The answer is far simpler than you think. In the initial body tag on each page add:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;onload="onload()"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it. Hope this was helpful! Thanks for reading!&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Demo On CodePen &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://codepen.io/mattmarquise/details/MWbrNWe"&gt;https://codepen.io/mattmarquise/details/MWbrNWe&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Steps To Creating Modern &amp; Minimalist UI/UXs</title>
      <dc:creator>Matthew Marquise</dc:creator>
      <pubDate>Thu, 14 Jan 2021 13:34:36 +0000</pubDate>
      <link>https://dev.to/mattmarquise/steps-to-creating-modern-minimalist-ui-uxs-46kp</link>
      <guid>https://dev.to/mattmarquise/steps-to-creating-modern-minimalist-ui-uxs-46kp</guid>
      <description>&lt;p&gt;I'm no minimalist in real life myself, not sure if I ever could be, but I'm in love with modern and minimalist UI/UXs. No one wants the headache of having to figure out how to navigate the site, or when pop-ups continue to pop up and I can't even get to the part of figuring out how to navigate the complex site. &lt;/p&gt;

&lt;p&gt;When building a site, it's important that rather than focusing first on what components you'll incorporate, try putting all your focus towards creating a wireframe. Nothing complex. If you're not all that familiar with wireframes, grab a sheet of paper and scribble down boxes to represent each page and lines going from buttons/links to pages. It can literally be that simple. &lt;/p&gt;

&lt;p&gt;If you already have a website that's currently not the best, who says you can't revamp and make visitors happy. It might be worth a shot.&lt;/p&gt;

&lt;p&gt;This is yet another shorter post, and most of my posts will likely be shorter, but I personally don't like long posts because I typically don't read them all the way through. Though everyone's different.&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;br&gt;
~ Matthew Marquise&lt;/p&gt;

</description>
      <category>ux</category>
      <category>webdev</category>
    </item>
    <item>
      <title>My Experiences With Various Languages and Frameworks</title>
      <dc:creator>Matthew Marquise</dc:creator>
      <pubDate>Sat, 09 Jan 2021 13:37:49 +0000</pubDate>
      <link>https://dev.to/mattmarquise/my-experiences-with-various-languages-and-frameworks-m59</link>
      <guid>https://dev.to/mattmarquise/my-experiences-with-various-languages-and-frameworks-m59</guid>
      <description>&lt;p&gt;I've tried learning many coding languages and even though I understood the concepts and always tinkered with each one, many were just not for me. Ruby, C, C++, and Python were just some of the languages I've taken classes on that I had fun learning and making small projects with, but I didn't feel the same sense of passion when it came to those, more back-end languages. I also explored with Php, a popular back-end language and while I didn't like Php, I fell in love with it's framework Laravel. I'm currently learning react, a more front-end focused framework in my opinion, and I'm really enjoying it.&lt;/p&gt;

&lt;p&gt;I'm curious to know whether other front-end devs have decided they want to pursue front-end, because they don't enjoy back-end languages as much. Or maybe because you just simply enjoy designing visual components and would rather that than code algorithms. &lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;br&gt;
~ Matthew Marquise&lt;/p&gt;

</description>
      <category>frontend</category>
      <category>webdev</category>
    </item>
    <item>
      <title>My Journey To Becoming A Developer.</title>
      <dc:creator>Matthew Marquise</dc:creator>
      <pubDate>Sat, 09 Jan 2021 12:32:12 +0000</pubDate>
      <link>https://dev.to/mattmarquise/my-journey-to-becoming-a-developer-2m96</link>
      <guid>https://dev.to/mattmarquise/my-journey-to-becoming-a-developer-2m96</guid>
      <description>&lt;p&gt;Once upon a time I was introduced to HTML, CSS, and JS. Fast forward years later... I've taken numerous classes and have expanded my knowledge to the point where I not only feel confident in my ability to create modern, stunning, and even minimalistic, yet fully functional UIs that users fall in love with. Two of my relatives originally encouraged me to give HTML and CSS a shot. If I'm being completely honest, I wasn't super thrilled of the thought of code. I had always thought coding was very complex and there weren't many people who did it, therefore there were little or no communities of coders to get help from or to help out or just to simply connect with. I was very wrong. Not only are there a ton of coders/programmers, there's so many communities and platforms for us to connect on!&lt;/p&gt;

&lt;p&gt;I've always been a creator, and coding has allowed me to express that in ways I've never been able to before. Some paint portraits, compose music, cook dishes, and I code. I love the process of going from a blank webpage to a full functioning one. It's my canvas.&lt;/p&gt;

&lt;p&gt;Would love to connect with more developers on DEV as well as on GitHub and Linkedin! &lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;br&gt;
~ Matthew Marquise&lt;/p&gt;

&lt;p&gt;More posts to come soon!&lt;/p&gt;

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