<?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: Jamal Khan</title>
    <description>The latest articles on DEV Community by Jamal Khan (@jamal_khan_2eaf1a620026dc).</description>
    <link>https://dev.to/jamal_khan_2eaf1a620026dc</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%2F1899812%2F7df69777-b387-4614-be86-fdf0bbb781ee.jpg</url>
      <title>DEV Community: Jamal Khan</title>
      <link>https://dev.to/jamal_khan_2eaf1a620026dc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jamal_khan_2eaf1a620026dc"/>
    <language>en</language>
    <item>
      <title>Finding a way to successfully run HTML and CSS on WordPress</title>
      <dc:creator>Jamal Khan</dc:creator>
      <pubDate>Thu, 08 Aug 2024 06:13:42 +0000</pubDate>
      <link>https://dev.to/jamal_khan_2eaf1a620026dc/finding-a-way-to-successfully-run-html-and-css-on-wordpress-gcg</link>
      <guid>https://dev.to/jamal_khan_2eaf1a620026dc/finding-a-way-to-successfully-run-html-and-css-on-wordpress-gcg</guid>
      <description>&lt;p&gt;I am running a fireplace website, &lt;a href="https://fireplaceadviser.com" rel="noopener noreferrer"&gt;fireplaceadviser.com&lt;/a&gt;, that focuses on informational content about electric, gas, and wood fireplaces. I have a plan to develop a tool page on my website that finds the ideal size for a fireplace. I have the code below, but when I implement it on my WordPress website, it gives me an error. Can anyone help me with this?&lt;/p&gt;

&lt;p&gt;`&amp;lt;!DOCTYPE html&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/p&gt;
&lt;br&gt;
    &lt;br&gt;
    &lt;br&gt;
    Fireplace Size Calculator&lt;br&gt;
    &lt;br&gt;
    &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
    &lt;br&gt;
        &lt;h1&gt;Fireplace Size Calculator&lt;/h1&gt;
&lt;br&gt;
        &lt;br&gt;
            &lt;br&gt;
                Room Length (feet):&lt;br&gt;
                &lt;br&gt;
            &lt;br&gt;
            &lt;br&gt;
                Room Width (feet):&lt;br&gt;
                &lt;br&gt;
            &lt;br&gt;
            &lt;br&gt;
                Room Height (feet):&lt;br&gt;
                &lt;br&gt;
            &lt;br&gt;
            Calculate Fireplace Size&lt;br&gt;
        &lt;br&gt;
        &lt;br&gt;
    
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;footer&amp;gt;
    &amp;lt;p&amp;gt;Created by &amp;lt;a href="https://fireplaceadviser.com" target="_blank"&amp;gt;fireplaceadviser.com&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;/footer&amp;gt;

&amp;lt;script&amp;gt;
    function calculateFireplaceSize() {
        const length = document.getElementById('roomLength').value;
        const width = document.getElementById('roomWidth').value;
        const height = document.getElementById('roomHeight').value;

        if (length &amp;amp;&amp;amp; width &amp;amp;&amp;amp; height) {
            const roomVolume = length * width * height;
            const recommendedFireplaceSize = roomVolume * 0.034; // Example calculation
            document.getElementById('result').innerText = 
                `Recommended Fireplace Size: ${recommendedFireplaceSize.toFixed(2)} cubic feet per hour`;
        } else {
            document.getElementById('result').innerText = 'Please fill in all fields.';
        }
    }
&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;br&gt;
`&lt;/p&gt;

&lt;p&gt;I tried the code below on my site using the HTML embed feature in WordPress, but it didn't work. I want to know a method to implement this code on my site successfully.&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
