<?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: Kellog Gullati</title>
    <description>The latest articles on DEV Community by Kellog Gullati (@gullatimama).</description>
    <link>https://dev.to/gullatimama</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%2F1225242%2F56b50502-ed04-46d3-a041-c644daabe840.png</url>
      <title>DEV Community: Kellog Gullati</title>
      <link>https://dev.to/gullatimama</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gullatimama"/>
    <language>en</language>
    <item>
      <title>Connecting HTML to database through javascript</title>
      <dc:creator>Kellog Gullati</dc:creator>
      <pubDate>Mon, 04 Dec 2023 01:28:20 +0000</pubDate>
      <link>https://dev.to/gullatimama/connecting-html-to-database-through-javascript-4m5b</link>
      <guid>https://dev.to/gullatimama/connecting-html-to-database-through-javascript-4m5b</guid>
      <description>&lt;p&gt;I want to connect to a PostgreSQL databse through javascript and then call it from HTML.&lt;br&gt;
I am able to connect the database to a standalone javascript function, but it's not working when called from HTML. Has anybody done this? If you have a sample code, please share if you can.&lt;/p&gt;

&lt;p&gt;The error I'm receiving:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Uncaught Error: Module name "path" has not been loaded yet for context: _. Use require([])
https://requirejs.org/docs/errors.html#notloaded
    at makeError (require.js:168:17)
    at Object.localRequire [as require] (require.js:1436:44)
    at requirejs (require.js:1797:24)
    at myFunction (index.js:2:16)
    at HTMLButtonElement.onclick (index.html:11:40)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I've already downloaded Require.js and installed path.&lt;/p&gt;

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