<?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>Forem: NikitaL2022</title>
    <description>The latest articles on Forem by NikitaL2022 (@nikital2022).</description>
    <link>https://forem.com/nikital2022</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%2F795146%2F97ce8e31-2b68-4096-9c52-05706b4eedd0.png</url>
      <title>Forem: NikitaL2022</title>
      <link>https://forem.com/nikital2022</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/nikital2022"/>
    <language>en</language>
    <item>
      <title>Working with Vercel</title>
      <dc:creator>NikitaL2022</dc:creator>
      <pubDate>Mon, 14 Mar 2022 04:03:48 +0000</pubDate>
      <link>https://forem.com/nikital2022/working-with-vercel-3180</link>
      <guid>https://forem.com/nikital2022/working-with-vercel-3180</guid>
      <description>&lt;p&gt;Vercel is a platform for frontend frameworks and static sites and it is used to integrate content, commerce, and database. It takes care of difficult things such as deploying, scaling, and serving personalized content.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting started with ist-vercel-demo
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;First, you will need to connect your Github account to your Vercel account because this allows Vercel to access your repositories from Github and import them. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Then, I had to do &lt;code&gt;git clone&lt;/code&gt; this &lt;a href="https://github.com/btopro/ist-vercel-demo"&gt;repo&lt;/a&gt; and add a &lt;code&gt;.env&lt;/code&gt; file.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;After, I ran &lt;code&gt;npm install&lt;/code&gt; and &lt;code&gt;vercel dev&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_u8SX0TF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0vdlgqplh1m9gukoi1it.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_u8SX0TF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0vdlgqplh1m9gukoi1it.png" alt="Image description" width="831" height="483"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One thing I was having trouble with was in the Project Settings of the certain project, the output directory was incorrect. Vercel couldn't find the output directory. I was able to figure out that is uses dist, so I changed it to that.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--E0PiklK9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rkkus3qg5r6skk52c2z0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--E0PiklK9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rkkus3qg5r6skk52c2z0.png" alt="Image description" width="747" height="540"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--43OLr1RK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ks35p0gdpxr6ryj6g2fp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--43OLr1RK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ks35p0gdpxr6ryj6g2fp.png" alt="Image description" width="880" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Check &lt;a href="http://localhost:3001/"&gt;here&lt;/a&gt; for my project.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I was having some trouble deploying the 11ty site, so I was unable to show an final product. Once I fix it, I will show my work.&lt;/p&gt;

&lt;h2&gt;
  
  
  Developer Experience
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;With what worked, I can see the Vercel is much easier and simpler to use compared to Github. &lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>Getting Started with Docker</title>
      <dc:creator>NikitaL2022</dc:creator>
      <pubDate>Tue, 01 Mar 2022 02:57:52 +0000</pubDate>
      <link>https://forem.com/nikital2022/getting-started-with-docker-47ke</link>
      <guid>https://forem.com/nikital2022/getting-started-with-docker-47ke</guid>
      <description>&lt;h2&gt;
  
  
  Why is Docker so Powerful?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Docker is essential for developers in building, deploying, running, updating, and stopping containers. A container is an executable package of software. Docker makes it easier and safer to create containers than without it.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to Start
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;First, you will need to create an account &lt;a href="https://www.docker.com/"&gt;Here&lt;/a&gt;. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Then you go to the terminal, click &lt;code&gt;New Instance&lt;/code&gt; and run &lt;code&gt;git clone https://github.com/heyMP/news-api-workshop &amp;amp;&amp;amp; cd news-api-workshop&lt;/code&gt; in the terminal.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Then, you run &lt;code&gt;cp dot.env.example dot.env&lt;/code&gt; in order to get a new copy of environment settings. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--HmitVxFn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sje4pdmgmn9wifmbt6sy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--HmitVxFn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sje4pdmgmn9wifmbt6sy.png" alt="Image description" width="880" height="234"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;This creates a file &lt;code&gt;dot.env&lt;/code&gt;. Then you click &lt;code&gt;Editor&lt;/code&gt; and find the &lt;code&gt;dot.env&lt;/code&gt; file. You will need to get an API key and public url.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Go to &lt;a href="//newsapi.org"&gt;API KEY&lt;/a&gt;, create an account, and it will  generate your personal key. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2FPG91_A--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/onznraykeiq6xty1l1pb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2FPG91_A--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/onznraykeiq6xty1l1pb.png" alt="Image description" width="880" height="528"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You take your personal API key and replace it in the &lt;code&gt;dot.env&lt;/code&gt; and SAVE.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--skghMDPa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pudxqw90ljgniowcs0ml.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--skghMDPa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pudxqw90ljgniowcs0ml.png" alt="Image description" width="492" height="58"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Now you click &lt;code&gt;PORT&lt;/code&gt; and enter &lt;code&gt;4000&lt;/code&gt; and click ok.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--jeMEgKKh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xgfmsaotphnffznpz0nf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--jeMEgKKh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xgfmsaotphnffznpz0nf.png" alt="Image description" width="601" height="329"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It should show page isn't working.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--lstNHk-1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cvmgtn5z4x4elavibq71.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--lstNHk-1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cvmgtn5z4x4elavibq71.png" alt="Image description" width="510" height="505"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;You can take the url and and put it here &lt;code&gt;NEWS_ENDPOINT=&lt;/code&gt; in &lt;code&gt;dot.env&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Finally, you can run &lt;code&gt;docker-compose up&lt;/code&gt;. Ports 80 and 4000 pop up and you can click &lt;code&gt;4000&lt;/code&gt; to see the application.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8VE6CcHJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ds5p8z8hatpbwolrq9ca.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8VE6CcHJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ds5p8z8hatpbwolrq9ca.png" alt="Image description" width="779" height="637"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/heyMP/ist402-docker/tree/master/labs/7-news-api-microservice"&gt;Here&lt;/a&gt; is the link I followed.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>docker</category>
      <category>github</category>
    </item>
    <item>
      <title>Getting Started with 11ty</title>
      <dc:creator>NikitaL2022</dc:creator>
      <pubDate>Tue, 01 Mar 2022 01:44:34 +0000</pubDate>
      <link>https://forem.com/nikital2022/getting-started-with-11ty-29g3</link>
      <guid>https://forem.com/nikital2022/getting-started-with-11ty-29g3</guid>
      <description>&lt;p&gt;This is my first time using 11ty, so I had some trouble creating a blog at first, so I followed this &lt;a href="https://w3collective.com/create-static-website-eleventy/"&gt;LINK&lt;/a&gt; to start.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Besides step 1 using VSC, I created all these files and folders within the project through Notepad&lt;/strong&gt;&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
You start of by creating a directory in the terminal
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;mkdir myblog
cd myblog
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;(myblog is what I called my project).&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
Next is creating a &lt;code&gt;package.json&lt;/code&gt; file
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm init -y
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then you install it&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install --save-dev @11ty/eleventy
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;ul&gt;
&lt;li&gt;
Creating a folder called &lt;code&gt;_includes&lt;/code&gt; and a file within called &lt;code&gt;layout.njk&lt;/code&gt;. &lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  First Blog
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Now you have to create a folder where all your &lt;code&gt;.md&lt;/code&gt; files will be held. I created a folder called &lt;code&gt;blog&lt;/code&gt; and the first markdown file &lt;code&gt;firstblog.md&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Now you can compile the project with&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npx @11ty/eleventy --serve
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--kKtvFWYx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e80luxmyv1v0z880v95v.png" alt="Image description" width="413" height="325"&gt;
&lt;/h2&gt;

&lt;p&gt;Your terminal should have compiled an &lt;code&gt;index.html&lt;/code&gt; into a &lt;code&gt;_site&lt;/code&gt; folder.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final Project
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rvZ0c-Aa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uygis0tl9i5uwvsuj5cn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rvZ0c-Aa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uygis0tl9i5uwvsuj5cn.png" alt="Image description" width="427" height="431"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Plug-in
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The plug-in is used to make the date more presentable and easier to read. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;To do this, create a file &lt;code&gt;.eleventy.js&lt;/code&gt;. Then you put &lt;code&gt;npm install --save-dev eleventy-plugin-date&lt;/code&gt; and do &lt;code&gt;npx @11ty/eleventy --serve&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You'll see a http link containing &lt;code&gt;localhost&lt;/code&gt;. Do &lt;code&gt;ctrl + click&lt;/code&gt; to open your page!&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://github.com/NikitaL2022/mybog"&gt;Here&lt;/a&gt; is a link to my Github repo and &lt;a href="https://github.com/elmsln/edtechjoker/tree/master/sp-22/week-6-7"&gt;Here&lt;/a&gt; for the 11ty lab.&lt;/p&gt;

</description>
      <category>html</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Wikipedia API's and 'wikipedia-query' through fetch()</title>
      <dc:creator>NikitaL2022</dc:creator>
      <pubDate>Mon, 31 Jan 2022 04:52:43 +0000</pubDate>
      <link>https://forem.com/nikital2022/wikipedia-apis-and-wikipedia-query-through-fetch-5h5d</link>
      <guid>https://forem.com/nikital2022/wikipedia-apis-and-wikipedia-query-through-fetch-5h5d</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;fetch()&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The tag &lt;code&gt;fetch()&lt;/code&gt; will execute the API based on this link &lt;br&gt;
&lt;code&gt;(this.locationEndpoint + userIPData.ip)&lt;/code&gt;. If the call is works, then it will return the data object as a json and it will have long, lat, city, and state properties which we assign to corresponding properties in our class &lt;code&gt;LocationFromIP&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;When we render html, these properties will be used as values for input box, google maps link, and Wikipedia search parameters. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZsWWgiME--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ydtey7ap57glailzz44l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZsWWgiME--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ydtey7ap57glailzz44l.png" alt="Image description" width="586" height="362"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;API&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;This API &lt;a href="https://freegeoip.app/json/"&gt;https://freegeoip.app/json/&lt;/a&gt; requires concatenating the link with IP address and fetching the returning data object. &lt;a href="https://en.wikipedia.org/w/api.php"&gt;Here&lt;/a&gt; is where you can learn more about Wikipedia API. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--khzy1pgR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z4ul3tq4o35pj99usv3f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--khzy1pgR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z4ul3tq4o35pj99usv3f.png" alt="Image description" width="880" height="502"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For my project, the API doesn't work and returns nothing, so I had to hardcode the properties to show how the website would look if the API would work. This link &lt;a href="https://freegeoip.app/"&gt;https://freegeoip.app/&lt;/a&gt; says you need to obtain API key, which needs to be added to the end of the API call. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--7NSCW2UA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lylskmvgdf7bz85rgq2q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7NSCW2UA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lylskmvgdf7bz85rgq2q.png" alt="Image description" width="625" height="137"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Wikipedia-query&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Wikipedia-query is very simple. All that's needed to do is pass values for the search parameters. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--nRdMLE59--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zgffq35mh7jq09yiuauq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--nRdMLE59--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zgffq35mh7jq09yiuauq.png" alt="Image description" width="559" height="56"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Interestingly, passing State College as a parameter doesn't generate any return for just city, but adding the state helps.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Z2s_-ez3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/76d9ymf6sv7huvvmlhq5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Z2s_-ez3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/76d9ymf6sv7huvvmlhq5.png" alt="Image description" width="880" height="418"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;My Work&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/NikitaL2022/ip-project"&gt;Here&lt;/a&gt; is where you can see my work and look more into the code. &lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>webdev</category>
      <category>fetch</category>
      <category>wikipediaquery</category>
      <category>api</category>
    </item>
    <item>
      <title>Introduction to Web Components</title>
      <dc:creator>NikitaL2022</dc:creator>
      <pubDate>Mon, 17 Jan 2022 04:26:12 +0000</pubDate>
      <link>https://forem.com/nikital2022/introduction-to-web-components-319b</link>
      <guid>https://forem.com/nikital2022/introduction-to-web-components-319b</guid>
      <description>&lt;h2&gt;
  
  
  Software to Install
&lt;/h2&gt;

&lt;p&gt;Nodejs&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://nodejs.org/en/"&gt;Nodejs&lt;/a&gt; is an open-source, cross-platform runtime environment that executes JavaScript code. It is recommended to install the recommended, not the latest version.
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--zyEW4EpH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8w1chvboubbj706wbvf5.png" alt="Image description" width="880" height="525"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;NPM&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;When installing Nodejs, npm is also installed along with it. To check the versions of Node and npm, you can type &lt;code&gt;node -v&lt;/code&gt; and &lt;code&gt;npm -v&lt;/code&gt;into the terminal. 
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--VMBK1KaM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/29j5mi946wiw7lpzugnv.png" alt="Image description" width="181" height="86"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Git&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://git-scm.com/download/win"&gt;Git&lt;/a&gt; is a version control system that lets you manage and keep track of source code history.
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--c9v-HIS2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lioxtnaqw228ao767m9q.png" alt="Image description" width="880" height="402"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Yarn&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://classic.yarnpkg.com/lang/en/docs/install/#windows-stable"&gt;Yarn&lt;/a&gt; is a package manager  for Nodejs that manages project dependencies. Type &lt;code&gt;npm install --global yarn&lt;/code&gt; and &lt;code&gt;yarn --version&lt;/code&gt; into the terminal.
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--UKxAdFjh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2n97525489g7hn4tarq4.png" alt="Image description" width="330" height="25"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1N9pbm7x--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tsb87taqufozd348bbf2.png" alt="Image description" width="238" height="33"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Visual Studio Code&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://code.visualstudio.com/download"&gt;VSC&lt;/a&gt; is a helpful coding environment to edit your project.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to Start
&lt;/h2&gt;

&lt;p&gt;Open-wc&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;In the terminal or Git Bash, type in &lt;code&gt;npm init @open-wc&lt;/code&gt;. This command is used to create new projects. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cJRSe_MZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ayk5rx8jri4cbepom8yc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cJRSe_MZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ayk5rx8jri4cbepom8yc.png" alt="Image description" width="565" height="293"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.youtube.com/watch?v=r_mio0e6v1g"&gt;(Intro)&lt;/a&gt; is a great walkthrough video that helped through each step of @open-wc.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Once you get here, click &lt;code&gt;enter&lt;/code&gt; on scaffold a new project and web component. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You will then click &lt;code&gt;tab&lt;/code&gt; for the 3 options including linting, testing, and demoing. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It will then ask if you want typescript, click the up and down arrow to &lt;code&gt;no&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Next is the tag name of your web component. Type in &lt;code&gt;hello-world&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Next, it is going to ask if you want to write this file structure to disk. Click &lt;code&gt;yes&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You want to install with dependencies. Use up and down arrows to get to &lt;code&gt;yes with yarn&lt;/code&gt; if the Yarn installation worked or &lt;code&gt;yes with npm&lt;/code&gt; if it did not.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Finally, it will say you are set up. All you need to do is run &lt;code&gt;cd hello-world&lt;/code&gt; and &lt;code&gt;npm run start&lt;/code&gt;.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1VAmG7q8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oo5cmdrp6enysegp2ym3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1VAmG7q8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oo5cmdrp6enysegp2ym3.png" alt="Image description" width="518" height="165"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;And here is your final product. Congratulations on your first web component!&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--S-F_qJM0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fhu1j4b0j6d8e40crwif.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--S-F_qJM0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fhu1j4b0j6d8e40crwif.png" alt="Image description" width="466" height="292"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>webcomponents</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
