<?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 The Coders Blog</title><link>https://thecodersblog.com/categories/web-development/</link><description>Recent content in Web Development on The Coders Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 20 May 2026 04:03:38 +0000</lastBuildDate><atom:link href="https://thecodersblog.com/categories/web-development/index.xml" rel="self" type="application/rss+xml"/><item><title>Adapting LLMs for Polymer-Composite AM: A Hybrid RAG &amp; Fine-Tuning Blueprint</title><link>https://thecodersblog.com/adapting-llms-for-polymer-composite-am-a-hybrid-rag-fine-tuning-blueprint/</link><pubDate>Thu, 14 May 2026 11:59:34 +0000</pubDate><guid>https://thecodersblog.com/adapting-llms-for-polymer-composite-am-a-hybrid-rag-fine-tuning-blueprint/</guid><description>&lt;h2 id="the-llm-wild-west-polymer-composites-demand-more-than-generic-chatter"&gt;The LLM Wild West: Polymer Composites Demand More Than Generic Chatter&lt;/h2&gt;
&lt;p&gt;Let&amp;rsquo;s be blunt: out-of-the-box Large Language Models are practically useless for anything requiring deep, specialized technical knowledge. You throw a question about specific polymer-composite additive manufacturing (AM) processes at LLaMA-3-8B, and you&amp;rsquo;re likely to get vague hand-waving or outright fabrication. It just doesn&amp;rsquo;t &lt;em&gt;know&lt;/em&gt; the nuances of material degradation in UV exposure for a specific photopolymer, or the critical melt-flow index variations that doom a PEEK part in aerospace. This isn&amp;rsquo;t a criticism of the LLMs themselves; it&amp;rsquo;s a fundamental mismatch of training data. They&amp;rsquo;re trained on the internet&amp;rsquo;s vast, shallow pool, not on the meticulously curated, highly specific data required for cutting-edge engineering.&lt;/p&gt;</description></item><item><title>Best way to check if a string contains a specific word or substring in JavaScript</title><link>https://thecodersblog.com/if-a-string-contains-a-specific-word/</link><pubDate>Sat, 22 Oct 2022 09:22:49 +0000</pubDate><guid>https://thecodersblog.com/if-a-string-contains-a-specific-word/</guid><description>&lt;p&gt;In this article, we will discuss the best way to check if a string contains a specific word or substring in JavaScript. We will also discuss the different ways to check if a string contains a specific word or substring in JavaScript.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;You can save a picture for quick reference&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="includes"&gt;Includes&lt;/h2&gt;
&lt;p&gt;In JavaScript, we can use the &lt;code&gt;includes()&lt;/code&gt; method to check if a string contains a specific word or substring. The &lt;code&gt;includes()&lt;/code&gt; method returns &lt;code&gt;true&lt;/code&gt; if the string contains the specified substring, otherwise it returns &lt;code&gt;false&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Best way to get the full URL or query string of current page in JavaScript.</title><link>https://thecodersblog.com/query-string-in-current-page-in-js/</link><pubDate>Sat, 22 Oct 2022 09:20:58 +0000</pubDate><guid>https://thecodersblog.com/query-string-in-current-page-in-js/</guid><description>&lt;p&gt;In this article, we will discuss the best way to get the full URL or query string of current page in JavaScript. We will also discuss the different ways to get the full URL or query string of current page in JavaScript.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;You can save a picture for quick reference&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="windowlocationhref"&gt;window.location.href&lt;/h2&gt;
&lt;p&gt;We can use the &lt;code&gt;window.location.href&lt;/code&gt; property to get the full URL or query string of current page in JavaScript. The &lt;code&gt;window.location.href&lt;/code&gt; property returns the href (URL) of the current page.&lt;/p&gt;</description></item><item><title>Best way to redirect to another webpage in JavaScript.</title><link>https://thecodersblog.com/redirect-webpage-javascript/</link><pubDate>Thu, 15 Sep 2022 10:38:47 +0000</pubDate><guid>https://thecodersblog.com/redirect-webpage-javascript/</guid><description>&lt;p&gt;If you want to redirect to another webpage in JavaScript, you can use the following methods:&lt;/p&gt;
&lt;h2 id="method-1-redirect-to-another-webpage-using-windowlocation"&gt;Method 1: Redirect to Another Webpage Using window.location&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-javascript" data-lang="javascript"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;window.&lt;span style="color:#a6e22e"&gt;location&lt;/span&gt; &lt;span style="color:#f92672"&gt;=&lt;/span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;https://www.example.com&amp;#34;&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="method-2-redirect-to-another-webpage-using-windowlocationhref"&gt;Method 2: Redirect to Another Webpage Using window.location.href&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-javascript" data-lang="javascript"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;window.&lt;span style="color:#a6e22e"&gt;location&lt;/span&gt;.&lt;span style="color:#a6e22e"&gt;href&lt;/span&gt; &lt;span style="color:#f92672"&gt;=&lt;/span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;https://www.example.com&amp;#34;&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="method-3-redirect-to-another-webpage-using-windowlocationreplace"&gt;Method 3: Redirect to Another Webpage Using window.location.replace&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-javascript" data-lang="javascript"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;window.&lt;span style="color:#a6e22e"&gt;location&lt;/span&gt;.&lt;span style="color:#a6e22e"&gt;replace&lt;/span&gt;(&lt;span style="color:#e6db74"&gt;&amp;#34;https://www.example.com&amp;#34;&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="method-4-redirect-to-another-webpage-using-windowlocationassign"&gt;Method 4: Redirect to Another Webpage Using window.location.assign&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-javascript" data-lang="javascript"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;window.&lt;span style="color:#a6e22e"&gt;location&lt;/span&gt;.&lt;span style="color:#a6e22e"&gt;assign&lt;/span&gt;(&lt;span style="color:#e6db74"&gt;&amp;#34;https://www.example.com&amp;#34;&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="method-5-redirect-to-another-webpage-using-windowlocationreplace"&gt;Method 5: Redirect to Another Webpage Using window.location.replace&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-javascript" data-lang="javascript"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;window.&lt;span style="color:#a6e22e"&gt;location&lt;/span&gt;.&lt;span style="color:#a6e22e"&gt;replace&lt;/span&gt;(&lt;span style="color:#e6db74"&gt;&amp;#34;https://www.example.com&amp;#34;&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Does hosting affect SEO?</title><link>https://thecodersblog.com/hosting-affect-seo/</link><pubDate>Thu, 15 Sep 2022 10:25:47 +0000</pubDate><guid>https://thecodersblog.com/hosting-affect-seo/</guid><description>&lt;p&gt;If you are running an online business, your website should be one of your primary concerns. Everything should run smoothly. While there are &lt;em&gt;multiple factors that determine the popularity and productivity of your website&lt;/em&gt;, everything becomes completely trivial if no one can find your website. You guessed it, one of the most crucial things to take care of is to raise SEO on the highest possible level. Search engine optimization is a broad subject, and there are multiple angles you can use to approach it. Nevertheless, today&amp;rsquo;s topic will concentrate on one crucial question - does hosting affect SEO?&lt;/p&gt;</description></item><item><title>Understanding logo files format</title><link>https://thecodersblog.com/logo-file-format/</link><pubDate>Thu, 15 Sep 2022 10:22:40 +0000</pubDate><guid>https://thecodersblog.com/logo-file-format/</guid><description>&lt;p&gt;If you work with logo and looking for logo for you company the you must store the logo format
in vector files. Vector base file system can scale you log as per you need and pixel base logo
will lose scaling property.&lt;/p&gt;
&lt;blockquote&gt;
 &lt;h6&gt; Image Resolution&lt;/h6&gt;
 High Resolution: Image with 300 DPI is consider as high res picture. Used for magazine and high quality prints.
&lt;p&gt;LOW Resolution: Image with 7g DPI is consider as low res. Used for online and screen used not for print.&lt;/p&gt;</description></item><item><title>Best way to get the current date and time in JavaScript</title><link>https://thecodersblog.com/handle-dates-in-js/</link><pubDate>Thu, 15 Sep 2022 10:22:14 +0000</pubDate><guid>https://thecodersblog.com/handle-dates-in-js/</guid><description>&lt;p&gt;If you are working with date and times then here are the best way to get dates and time with JS.&lt;/p&gt;
&lt;p&gt;&lt;small class="text-muted"&gt;You can save a picture for quick reference&lt;/small&gt;&lt;/p&gt;
&lt;p&gt;
1. You can use the &lt;code&gt;toDateString();&lt;/code&gt; method to get the current date with the day,
month and year as the string. Alternatively, you can also get the &lt;code&gt;getDate()&lt;/code&gt;, &lt;code&gt;getMonth()&lt;/code&gt; and &lt;code&gt;getYear()&lt;/code&gt; to get the current date, month and year separately.
&lt;/p&gt;
&lt;p&gt;
2. You can use the &lt;code&gt;toTimeString()&lt;/code&gt; method to get the current time of the
day as a string. Alternatively, you can use the &lt;code&gt;getHours( )&lt;/code&gt;, &lt;code&gt;getMinutes( )&lt;/code&gt; and &lt;code&gt;getSeconds()&lt;/code&gt; method to get the current hour, minute and second
of the day separately. &lt;/p&gt;</description></item><item><title>Best way to check if an element is hidden or visible in JavaScript</title><link>https://thecodersblog.com/check-if-element-is-hidden-in-js/</link><pubDate>Thu, 15 Sep 2022 10:22:00 +0000</pubDate><guid>https://thecodersblog.com/check-if-element-is-hidden-in-js/</guid><description>&lt;p&gt;If you are having hard time to figure out if element in hidden in Dom then here are the best way to check if an element is hidden or visible in JavaScript.&lt;/p&gt;
&lt;p&gt;&lt;small class="text-muted"&gt;You can save a picture for quick reference&lt;/small&gt;&lt;/p&gt;
&lt;p&gt;
1. 1 You can use the :visible selector in jQuery to check if an element is
hidden or visible. This selector considers every element which does
not affect the layout of the webpage to be hidden. It also take into
account the visibility of ancestor element before determining if the
current element is visible.
&lt;/p&gt;</description></item><item><title>What is web workers &amp; it's implements in JavaScript?</title><link>https://thecodersblog.com/web-worker-and-implementation/</link><pubDate>Thu, 15 Sep 2022 10:20:10 +0000</pubDate><guid>https://thecodersblog.com/web-worker-and-implementation/</guid><description>&lt;h2 id="what-is-web-workers"&gt;What is web workers?&lt;/h2&gt;
&lt;p&gt;Web workers are a simple means for web content to run scripts in background threads. The worker thread can perform tasks without interfering with the user interface. You can continue to do whatever you want: clicking, selecting things, etc. while your worker runs in the background.&lt;/p&gt;
&lt;h2 id="why-web-workers"&gt;Why web workers?&lt;/h2&gt;
&lt;p&gt;Web workers are useful for performing computationally intensive tasks in a background thread. This frees the main browser thread to update the user interface without causing the page to become unresponsive. This is especially important on mobile devices, where a slow or unresponsive script can make the page seem as if it has stopped responding altogether.&lt;/p&gt;</description></item><item><title>What skills makes a good front-end developer 2022?</title><link>https://thecodersblog.com/javascript-in-2022/</link><pubDate>Wed, 14 Sep 2022 19:27:17 +0000</pubDate><guid>https://thecodersblog.com/javascript-in-2022/</guid><description>&lt;p&gt;A good front end developer should focus on fundamentals of functional and object oriented programming because they are not going away. JavaScript framework and library rise and fall in very short amount of time. Lets not care, if it is flash, meteor, backbone, ember, angular, vue, react. They will end.&lt;/p&gt;
&lt;h3&gt;Foundational Knowledge&lt;/h3&gt;
&lt;p&gt;So lets start's with core and foundation you should have before you dive straight to a framework or library like angular, react or vue . Knowing following technology will help
you build foundation for you.&lt;/p&gt;</description></item><item><title>Things to do before changing a WordPress theme</title><link>https://thecodersblog.com/before_changing_wordpress_theme/</link><pubDate>Tue, 14 Dec 2021 00:00:00 +0000</pubDate><guid>https://thecodersblog.com/before_changing_wordpress_theme/</guid><description>&lt;p&gt;There are a plethora of reasons why changing a WordPress theme might make it into one’s plans. From critical functionalities to third-party asset compatibilities, and even plain aesthetics, a wealth of &lt;a href="https://thecodersblog.com/best-wp-plugins-in-2020/"&gt;WP plugins&lt;/a&gt; offer much-needed solutions.&lt;/p&gt;
&lt;p&gt;However, &lt;strong&gt;changing a theme entails much more work than most other website modifications&lt;/strong&gt;. Replacing a plugin or discarding a widget is simple enough, but themes are a website’s proverbial foundations. So, changing them requires preparation and careful execution – as we’ll cover in this article.&lt;/p&gt;</description></item><item><title>Smart ways to increase your conversion rates</title><link>https://thecodersblog.com/smart-ways-to-increase-your-conversion-rates/</link><pubDate>Fri, 13 Aug 2021 00:00:00 +0000</pubDate><guid>https://thecodersblog.com/smart-ways-to-increase-your-conversion-rates/</guid><description>&lt;p&gt;One of the ways to achieve high sales volume is to constantly work on ways to increase your conversion rates. The more customers decide to purchase, the better. However, understanding how conversion works is not always the easiest thing to do. The customers&amp;rsquo; minds change constantly, and companies have to keep up with their clients&amp;rsquo; new requirements and needs. To help you in this process, here are the best approaches that will help you with your conversion numbers!&lt;/p&gt;</description></item></channel></rss>