<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Web Development on Coderrob</title><link>https://coderrob.com/tags/web-development/</link><description>Recent content in Web Development on Coderrob</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 08 Nov 2021 16:36:15 -0600</lastBuildDate><atom:link href="https://coderrob.com/tags/web-development/index.xml" rel="self" type="application/rss+xml"/><item><title>Netlify Single Page App 404 Redirect</title><link>https://coderrob.com/posts/netlify-single-page-app-404-redirect/</link><pubDate>Mon, 08 Nov 2021 16:36:15 -0600</pubDate><guid>https://coderrob.com/posts/netlify-single-page-app-404-redirect/</guid><description>&lt;h2 id="tldr"&gt;tl;dr&lt;/h2&gt;
&lt;p&gt;Add a &lt;code&gt;netlify.toml&lt;/code&gt; file to the root of your project if one doesn&amp;rsquo;t exist.&lt;/p&gt;
&lt;p&gt;Add the following setting to redirect all routes to your single-page-application.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-toml" data-lang="toml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;[[redirects]]
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;from = &lt;span style="color:#87ceeb"&gt;&amp;#34;/*&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;to = &lt;span style="color:#87ceeb"&gt;&amp;#34;/index.html&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;status = &lt;span style="color:#f60"&gt;200&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The &lt;code&gt;netlify.toml&lt;/code&gt; file should now look something like this:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://coderrob.com/img/netlify-toml.png" alt="Netlify toml"&gt;&lt;/p&gt;
&lt;h2 id="background"&gt;Background&lt;/h2&gt;
&lt;p&gt;I started using &lt;a href="https://www.netlify.com/"&gt;Netlify&lt;/a&gt; for a number of side projects and a recent start-up.&lt;/p&gt;
&lt;p&gt;As many do, I started using a single-page-applications (SPA) framework to build up the front-end.&lt;/p&gt;</description></item><item><title>New Course: Event Handling in jQuery</title><link>https://coderrob.com/posts/event-handling-in-jquery/</link><pubDate>Thu, 29 Apr 2021 14:46:08 -0500</pubDate><guid>https://coderrob.com/posts/event-handling-in-jquery/</guid><description>&lt;h2 id="event-handling-in-jquery"&gt;Event Handling in jQuery&lt;/h2&gt;
&lt;p&gt;My newest course, &amp;ldquo;Event Handling in jQuery&amp;rdquo; went live at Pluralsight!&lt;/p&gt;
&lt;p&gt;&lt;a href="https://app.pluralsight.com/library/courses/jquery-building-dynamic-websites/table-of-contents"&gt;View My Course - Event Handling in jQuery&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/Coderrob/event-handling-in-jquery"&gt;GitHub Files - Event Handling in jQuery&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="course-description"&gt;Course Description&lt;/h3&gt;
&lt;p&gt;Open your web browser and immediately you’ve triggered an event.&lt;/p&gt;
&lt;p&gt;With every opening of a page, click of a button, or movement of the mouse, you’ve probably triggered dozens of events.&lt;/p&gt;
&lt;p&gt;Ever get prompted that you’ll be logged out of a site due to inactivity? You can even trigger an event by doing nothing for just long enough.&lt;/p&gt;</description></item></channel></rss>