<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JavaScript &#8211; Learn Beginner</title>
	<atom:link href="https://learnbeginner.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>https://learnbeginner.com</link>
	<description>Start Your Tech Journey With Us &#124; Smart Learning, Great Beginning</description>
	<lastBuildDate>Sun, 05 Feb 2023 21:25:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://learnbeginner.com/wp-content/uploads/2021/02/favicon.png</url>
	<title>JavaScript &#8211; Learn Beginner</title>
	<link>https://learnbeginner.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>4 Essential React Tips for Writing Better Code &#8211; Enhance Your Skills Today!</title>
		<link>https://learnbeginner.com/4-essential-react-tips-for-writing-better-code-enhance-your-skills-today/</link>
					<comments>https://learnbeginner.com/4-essential-react-tips-for-writing-better-code-enhance-your-skills-today/#respond</comments>
		
		<dc:creator><![CDATA[Learn Beginner]]></dc:creator>
		<pubDate>Sun, 05 Feb 2023 20:42:15 +0000</pubDate>
				<category><![CDATA[Beginners Guide]]></category>
		<category><![CDATA[Dev Tips]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[React]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Programmer]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<guid isPermaLink="false">https://learnbeginner.com/?p=3113</guid>

					<description><![CDATA[Whether you're a beginner just starting out or an experienced developer looking to improve your code, this blog is here to help you. In this post, we will explore some of the most effective React tips to instantly improve your code and bring your projects to the next level. So, let's get started!]]></description>
										<content:encoded><![CDATA[
<p>Welcome to the world of React, where creating beautiful and efficient applications has never been easier! With the right set of tips and tricks, you can take your React skills to the next level and create stunning apps that are both user-friendly and optimized for performance.</p>



<p>As you dive deeper into the world of React, it&#8217;s important to continually strive for excellence in your code. To assist you in this endeavor, I&#8217;d like to share four tips that have been invaluable in helping me write better React code. Whether you&#8217;re a seasoned developer or just starting out, I believe you&#8217;ll find something of value in these tips. So, let&#8217;s dive in and take your React skills to the next level!</p>



<h2 class="wp-block-heading">1. Return functions from handlers</h2>



<p>For those of you who have a background in functional programming, you&#8217;ll likely recognize the concept of &#8220;currying&#8221;. Essentially, it involves setting some parameters for a function ahead of time. By implementing this technique in React, you can streamline your code and make it more efficient. So, let&#8217;s delve into the world of currying and see how it can improve your React code.</p>



<p>We have an explicit problem with the boilerplate code below. That technique will help us!</p>



<pre class="wp-block-code"><code lang="jsx" class="language-jsx">export default function App() {
  const [user, setUser] = useState({
    firstName: "",
    lastName: "",
    address: ""
  });

  // First handler
  const handleFirstNameChange = (e) => {
    setUser((prev) => ({
      ...prev,
      firstName: e.target.value
    }));
  };

  // Second handler!
  const handleLastNameChange = (e) => {
    setUser((prev) => ({
      ...prev,
      lastName: e.target.value
    }));
  };

  // Third handler!!!
  const handleAddressChange = (e) => {
    setUser((prev) => ({
      ...prev,
      address: e.target.value
    }));
  };

  // What if we need one more input? Should we create another handler for it?

  return (
    &lt;>
      &lt;input value={user.fisrtName} onChange={handleFirstNameChange} />
      &lt;input value={user.lastName} onChange={handleLastNameChange} />
      &lt;input value={user.address} onChange={handleAddressChange} />
    &lt;/>
  );
}</code></pre>



<p class="has-text-color has-large-font-size" style="color:#111111"><strong>Solution</strong></p>



<pre class="wp-block-code"><code lang="jsx" class="language-jsx">export default function App() {
  const [user, setUser] = useState({
    firstName: "",
    lastName: "",
    address: ""
  });

  const handleInputChange = (field) => {
    return (e) => {
      setUser((prev) => ({
        ...prev,
        [field]: e.target.value
      }));
    };
  };

  return (
    &lt;>
      &lt;input value={user.firstName} onChange={handleInputChange("fistName")} />
      &lt;input value={user.lastName} onChange={handleInputChange("lastName")} />
      &lt;input value={user.address} onChange={handleInputChange("address")} />

      {JSON.stringify(user)}
    &lt;/>
  );
}</code></pre>



<p></p>



<h2 class="wp-block-heading">2. Separate responsibilities</h2>



<p>Making a “God” component is a common mistake that developers make. It’s called “God” because it contains many lines of code that are hard to understand and maintain. I strongly recommend dividing components into sets of independent sub-modules.</p>



<p>A typical structure for this would be:</p>



<ul class="wp-block-list">
<li><strong>UI module,&nbsp;</strong>responsible for visual representation only.</li>



<li><strong>Model module</strong>, containing only business logic. An example of this is a custom hook.</li>



<li><strong>Lib module</strong>, containing all required utilities for the component.</li>
</ul>



<p>Here’s a small demo example to help illustrate this concept.</p>



<pre class="wp-block-code"><code lang="jsx" class="language-jsx">export function ListComponent() {
  // Our local state
  const [list, setList] = useState([]);

  // Handler to load data from the server
  const fetchList = async () => {
    try {
      const resp = await fetch("https://www.example.com/list");
      const data = await resp.json();

      setList(data);
    } catch {
      showAlert({ text: "Something went wrong!" });
    }
  };

  // We want to fetch only on mount
  useEffect(() => {
    fetchList();
  }, []);

  // Handler responsible for deleting items
  const handleDeleteItem = (id) => {
    return () => {
      try {
        fetch(`https://www.example.com/list/${id}`, {
          method: "DELETE"
        });
        setList((prev) => prev.filter((x) => x.id !== id));
      } catch {
        showAlert({ text: "Something went wrong!" });
      }
    };
  };

  // Here we just render our data items
  return (
    &lt;div className="list-component">
      {list.map(({ id, name }) => (
        &lt;div key={id} className="list-component__item>">
          {/* We want to trim long name with ellipsis */}
          {name.slice(0, 30) + (name.length > 30 ? "..." : "")}

          &lt;div onClick={handleDeleteItem(id)} className="list-component__icon">
            &lt;DeleteIcon />
          &lt;/div>
        &lt;/div>
      ))}
    &lt;/div>
  );
}</code></pre>



<p></p>



<p>We should start by writing our utils that will be used in the model and UI modules.</p>



<pre class="wp-block-code"><code lang="jsx" class="language-jsx">export async function getList(onSuccess) {
  try {
    const resp = await fetch("https://www.example.com/list");
    const data = await resp.json();

    onSuccess(data)
  } catch {
    showAlert({ text: "Something went wrong!" });
  }
}

export async function deleteListItem(id, onSuccess) {
  try {
    fetch(`https://www.example.com/list/${id}`, {
      method: "DELETE"
    });
    onSuccess()
  } catch {
    showAlert({ text: "Something went wrong!" });
  }
}

export function trimName(name) {
  return name.slice(0, 30) + (name.lenght > 30 ? '...' : '')
}</code></pre>



<p></p>



<p>Now we need to implement our business logic. It simply will be a custom hook returning things we need.</p>



<pre class="wp-block-code"><code lang="jsx" class="language-jsx">export function useList() {
  const [list, setList] = useState([]);

  const handleDeleteItem = useCallback((id) => {
    return () => {
      deleteListItem(id, () => {
        setList((prev) => prev.filter((x) => x.id !== id));
      })
    };
  }, []);

  useEffect(() => {
    getList(setList);
  }, []);

  return useMemo(
    () => ({
      list,
      handleDeleteItem
    }),
    [list, handleDeleteItem]
  );
}</code></pre>



<p></p>



<p>The final step is to write our UI module and then combine it all together.</p>



<pre class="wp-block-code"><code lang="jsx" class="language-jsx">export function ListComponentItem({ name, onDelete }) {
  return (
    &lt;div className="list-component__item>">
      {trimName(name)}

      &lt;div onClick={onDelete} className="list-component__icon">
        &lt;DeleteIcon />
      &lt;/div>
    &lt;/div>
  );
}

export function ListComponent() {
  const { list, handleDeleteItem } = useList();

  return (
    &lt;div className="list-component">
      {list.map(({ id, name }) => (
        &lt;ListComponentItem
          key={id}
          name={name}
          onDelete={handleDeleteItem(id)}
        />
      ))}
    &lt;/div>
  );
}</code></pre>



<p></p>



<h2 class="wp-block-heading">3. Use objects map instead of conditions</h2>



<p>When it comes to displaying elements based on specific variables, you can use this powerful tip to simplify your code and make it more intuitive. This approach helps make your components more declarative and easier to understand, while also making it easier to extend their functionality in the future. So, whether you&#8217;re working on a complex project or just starting out, implementing this strategy can have a significant impact on the overall quality of your React code.</p>



<p class="has-text-color has-large-font-size" style="color:#111111"><strong>Problem</strong></p>



<p><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f49d.png" alt="💝" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Don&#8217;t forget to subscribe and stay up-to-date with the latest tips and tricks for Frontend development! With new information being shared regularly, you won&#8217;t want to miss out on the opportunity to continue improving your skills and producing high-quality React code.</p>



<pre class="wp-block-code"><code lang="jsx" class="language-jsx">function Roles({type}) {
  let Component = UsualAccount

  if (type === 'vip') {
    Component = VipAccount
  }

  if (type === 'admin') {
    Component = AdminAccount
  }

  if (type === 'superadmin') {
    Component = SuperAdminAccount
  }

  return (
    &lt;div className='roles'>
      &lt;Component />
      &lt;RolesStatistics />
    &lt;/div>
  )
}</code></pre>



<p></p>



<p class="has-text-color has-large-font-size" style="color:#111111"><strong>Solution</strong></p>



<pre class="wp-block-code"><code lang="jsx" class="language-jsx">const ROLES_MAP = {
  'vip': VipAccount,
  'usual': UsualAccount,
  'admin': AdminAccount,
  'superadmin': SuperAdminAccount,
}

function Roles({type}) {
  const Component = ROLES_MAP[type]

  return (
    &lt;div className='roles'>
      &lt;Component />
      &lt;RolesStatistics />
    &lt;/div>
  )
}</code></pre>



<p></p>



<h2 class="wp-block-heading">4. Put independent variables outside of React lifecycle</h2>



<p>One important concept to keep in mind is separating logic that doesn&#8217;t require the React component lifecycle methods from the component itself. This approach can greatly improve the clarity of your code by making dependencies more explicit. As a result, it becomes much easier to read and understand your components, leading to more efficient and effective development. So, make sure to keep this technique in mind as you continue to work with React and improve your code.</p>



<p class="has-text-color has-large-font-size" style="color:#111111"><strong>Problem</strong></p>



<pre class="wp-block-code"><code lang="jsx" class="language-jsx">function useItemsList() {
  const defaultItems = [10, 20, 30, 40, 50]
  const [items, setItems] = useState(defaultItems)

  const toggleArrayItem = (arr, val) => {
    return arr.includes(val) ? arr.filter(el => el !== val) : [...arr, val];
  }

  const handleToggleItem = (num) => {
    return () => {
      setItems(toggleArrayItem(items, num))
    }
  }

  return {
    items,
    handleToggleItem,
  }
}</code></pre>



<p></p>



<p class="has-text-color has-large-font-size" style="color:#111111"><strong>Solution</strong></p>



<pre class="wp-block-code"><code lang="jsx" class="language-jsx">const DEFAULT_ITEMS = [
  10, 20, 30, 40, 50
]

const toggleArrayItem = (arr, val) => {
  return arr.includes(val) ? arr.filter(el => el !== val) : [...arr, val];
}

function useItemsList() {
  const [items, setItems] = useState(DEFAULT_ITEMS)

  const handleToggleItem = (num) => {
    return () => {
      setItems(toggleArrayItem(items, num))
    }
  }

  return {
    items,
    handleToggleItem,
  }
}</code></pre>



<p></p>



<p>In conclusion, there are many ways to improve your React code and make it more efficient, effective, and user-friendly. Whether it&#8217;s through currying, separating logic from components, using variables to display elements or some other technique, it&#8217;s important to stay up-to-date with the latest tips and tricks in the world of Frontend development.</p>



<p>I hope, you found this article useful. If you have any questions or suggestions, please leave comments. Your feedback helps me to become better.</p>



<p class="has-text-align-left"><strong>Keep these tips in mind, and never stop striving for excellence in your code.</strong><br><strong>Don’t forget to subscribe<img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f49d.png" alt="💝" class="wp-smiley" style="height: 1em; max-height: 1em;" /></strong><br><strong>Happy coding</strong>!</p>


<script>(function() {
	window.mc4wp = window.mc4wp || {
		listeners: [],
		forms: {
			on: function(evt, cb) {
				window.mc4wp.listeners.push(
					{
						event   : evt,
						callback: cb
					}
				);
			}
		}
	}
})();
</script><!-- Mailchimp for WordPress v4.10.2 - https://wordpress.org/plugins/mailchimp-for-wp/ --><form id="mc4wp-form-1" class="mc4wp-form mc4wp-form-2830 mc4wp-form-theme mc4wp-form-theme-dark" method="post" data-id="2830" data-name="Main Newsletter" ><div class="mc4wp-form-fields"><p>
	<label> 
		<input type="email" name="EMAIL" placeholder="Your email address"  style="max-width: 100%;" required />
	</label>
	<input type="submit" value="Subscribe Now" style="width: 100%;" />
</p></div><label style="display: none !important;">Leave this field empty if you&#8217;re human: <input type="text" name="_mc4wp_honeypot" value="" tabindex="-1" autocomplete="off" /></label><input type="hidden" name="_mc4wp_timestamp" value="1742096850" /><input type="hidden" name="_mc4wp_form_id" value="2830" /><input type="hidden" name="_mc4wp_form_element_id" value="mc4wp-form-1" /><div class="mc4wp-response"></div></form><!-- / Mailchimp for WordPress Plugin -->]]></content:encoded>
					
					<wfw:commentRss>https://learnbeginner.com/4-essential-react-tips-for-writing-better-code-enhance-your-skills-today/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Create an Creative FAQ Section</title>
		<link>https://learnbeginner.com/how-to-create-an-creative-faq-section/</link>
					<comments>https://learnbeginner.com/how-to-create-an-creative-faq-section/#respond</comments>
		
		<dc:creator><![CDATA[Hiren Vaghasiya]]></dc:creator>
		<pubDate>Tue, 02 Jun 2020 20:09:09 +0000</pubDate>
				<category><![CDATA[Beginners Guide]]></category>
		<category><![CDATA[Dev Tips]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programmer]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://learnbeginner.com/?p=2727</guid>

					<description><![CDATA[A user-friendly FAQ page can improve your website's SEO while saving time and streamlining the customer experience. With Bootstrap's dynamic accordion, you can have a sleek, efficient, mobile responsive FAQ section in just a few steps.]]></description>
										<content:encoded><![CDATA[
<p>Sometimes, your audience wants quick answers to common questions. When they visit your website, you can give them a direct path to those answers by featuring an FAQ page.</p>



<p>Every website should have an FAQ, and there are three big reasons why:</p>



<p><strong>First, the concept of an&nbsp;FAQ is well-recognized across the web.</strong>&nbsp;The &#8220;Frequently Asked Questions&#8221;&nbsp;format originated in 1982&nbsp;and has matured from offline to online. People know what it is, and they seek it out when they need information in a simple, easy-to-digest format.&nbsp;But it&#8217;s also well-understood by Google and other search engines, allowing them to index your content more effectively. As a result, just&nbsp;<em>having</em>&nbsp;an FAQ page can be an&nbsp;instant rocket booster for your SEO.</p>



<p><strong>Second, an FAQ page can help improve your overall customer experience</strong>. The more helpful your FAQ content is, the&nbsp;fewer clicks a website visitor needs to convert. This also translates into greater productivity for you and your team by reducing the&nbsp;number of calls,&nbsp;chat sessions, or e-mails you receive with basic questions.&nbsp;</p>



<p><strong>Finally, having an FAQ gives your website visitors a rapid resource for information during an emergency</strong>. As we&#8217;ve seen with the COVID-19 pandemic, websites have become an essential tool for keeping audiences up to date on guidance, instructions, and other critical information. A good FAQ page can help support your strategy&nbsp;and should have an easy-to-use backend manager for making quick revisions about closures, hours of operation, online services, and more.</p>



<p>In this article, we&#8217;ll give you the code and guidance&nbsp;to add an efficient FAQ section on your website. We&#8217;ll be using an accordion, which allows you to feature lots of questions while &#8220;hiding&#8221; the content below each entry, making it less cumbersome. This lets your audience browse questions and view answers on the same page with a single click.</p>



<h2 class="wp-block-heading">Getting Started</h2>



<p>To build this FAQ section, we&#8217;re using Bootstrap and FontAwesome for the icons. Copy and paste the links below in the head section of your HTML file:</p>



<pre class="wp-block-code"><code lang="markup" class="language-markup line-numbers">&lt;!-- Bootstrap CSS -->
&lt;link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
&lt;!-- FontAwesome CSS -->
&lt;link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css">
&lt;!-- jQuery first, then Popper.js, then Bootstrap JS -->
&lt;script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous">&lt;/script>
&lt;script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous">&lt;/script>
&lt;script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous">&lt;/script></code></pre>



<h2 class="wp-block-heading">HTML</h2>



<p>The main structure below is made with Bootstrap&#8217;s accordion component. Bootstrap&#8217;s accordions are simple JavaScript enabled card components that enable showing and hiding elements with a click.</p>



<p>They restrict the&nbsp;card components to only open one at a time.&nbsp;That means when a user clicks on a question, the answer will be revealed but when they click on another question, all other answers will be collapsed. By using the accordion-style, your users can easily scan through many questions and find the information they&#8217;re looking since there will be much less clutter on the page.</p>



<p>The other benefit is the users won&#8217;t have to go to another page to see the answer. In the code below, we only included a paragraph as an answer but you&#8217;re free to replace and supplement the answer content with any content you&#8217;d like such as text, images, or even videos.</p>



<pre class="wp-block-code"><code lang="markup" class="language-markup line-numbers">&lt;div class="text-center">
    &lt;h2 class="mt-5 mb-5">FAQ&lt;/h2>
&lt;/div>
&lt;section class="container my-5" id="maincontent">
    &lt;section id="accordion">
        &lt;a class="py-3 d-block h-100 w-100 position-relative z-index-1 pr-1 text-secondary border-top" aria-controls="faq-17" aria-expanded="false" data-toggle="collapse" href="#faq-17" role="button">
            &lt;div class="position-relative">
                &lt;h2 class="h4 m-0 pr-3">
                    What if I want custom gear?
                &lt;/h2>
                &lt;div class="position-absolute top-0 right-0 h-100 d-flex align-items-center">
                    &lt;i class="fa fa-plus">&lt;/i>
                &lt;/div>
            &lt;/div>
        &lt;/a>
        &lt;div class="collapse" id="faq-17" style="">
            &lt;div class="card card-body border-0 p-0">
                &lt;p>Custom gear can be ordered through our contact form. Additional fees may apply.&lt;/p>

            &lt;/div>
        &lt;/div>

        &lt;a class="py-3 d-block h-100 w-100 position-relative z-index-1 pr-1 text-secondary  border-top" aria-controls="faq-20" aria-expanded="false" data-toggle="collapse" href="#faq-20" role="button">
            &lt;div class="position-relative">
                &lt;h2 class="h4 m-0 pr-3">
                    What is the best email to reach you at?
                &lt;/h2>
                &lt;div class="position-absolute top-0 right-0 h-100 d-flex align-items-center">
                    &lt;i class="fa fa-plus">&lt;/i>
                &lt;/div>
            &lt;/div>
        &lt;/a>
        &lt;div class="collapse" id="faq-20">
            &lt;div class="card card-body border-0 p-0">
                &lt;p>The best email for any inquiries is email@email.com!&lt;/p>
                &lt;p>
                &lt;/p>
            &lt;/div>
        &lt;/div>

        &lt;a class="py-3 d-block h-100 w-100 position-relative z-index-1 pr-1 text-secondary  border-top" aria-controls="faq-21" aria-expanded="false" data-toggle="collapse" href="#faq-21" role="button">
            &lt;div class="position-relative">
                &lt;h2 class="h4 m-0 pr-3">
                    Where can I read more about this company?
                &lt;/h2>
                &lt;div class="position-absolute top-0 right-0 h-100 d-flex align-items-center">
                    &lt;i class="fa fa-plus">&lt;/i>
                &lt;/div>
            &lt;/div>
        &lt;/a>
        &lt;div class="collapse" id="faq-21">
            &lt;div class="card card-body border-0 p-0">
                &lt;p>Lorem ipsum dolor sit!&lt;/p>
                &lt;p>
                &lt;/p>
            &lt;/div>
        &lt;/div>

        &lt;a class="py-3 d-block h-100 w-100 position-relative z-index-1 pr-1 text-secondary  border-top" aria-controls="faq-22" aria-expanded="false" data-toggle="collapse" href="#faq-22" role="button">
            &lt;div class="position-relative">
                &lt;h2 class="h4 m-0 pr-3">
                    What is the best time to call?
                &lt;/h2>
                &lt;div class="position-absolute top-0 right-0 h-100 d-flex align-items-center">
                    &lt;i class="fa fa-plus">&lt;/i>
                &lt;/div>
            &lt;/div>
        &lt;/a>
        &lt;div class="collapse" id="faq-22">
            &lt;div class="card card-body border-0 p-0">
                &lt;p>The best time to call is 24/7! We are always available to answer any questions.&lt;/p>
                &lt;p>
                &lt;/p>
            &lt;/div>
        &lt;/div>
    &lt;/section>
&lt;/section></code></pre>



<h2 class="wp-block-heading">CSS</h2>



<p>The CSS code adds colors, font type, and size. Copy and paste it in your stylesheet and change the styling to match your own website:</p>



<pre class="wp-block-code"><code lang="css" class="language-css line-numbers">.text-secondary {
    color: #3d5d6f;
}

.h4,
h4 {
    font-size: 1.2rem;
}

h2 {
    color: #333;
}

.fa,
.fas {
    font-family: 'FontAwesome';
    font-weight: 400;
    font-size: 1.2rem;
    font-style: normal;
}

.right-0 {
    right: 0;
}

.top-0 {
    top: 0;
}

.h-100 {
    height: 100%;
}

a.text-secondary:focus,
a.text-secondary:hover {
    text-decoration: none;
    color: #22343e;
}

#accordion .fa-plus {
    transition: -webkit-transform 0.25s ease-in-out;
    transition: transform 0.25s ease-in-out;
    transition: transform 0.25s ease-in-out, -webkit-transform 0.25s ease-in-out;
}

#accordion a[aria-expanded=true] .fa-plus {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}</code></pre>



<p>And here it is. Check out the JSFiddle below and click on the FAQ questions to reveal the answer:</p>



<script async="" src="//jsfiddle.net/learnbeginner/hax6sLg5/embed/result,html,css/dark/"></script>



<h5 class="wp-block-heading">Thank you for reading, and let’s connect!</h5>



<p>Thank you for reading my blog, feel free to subscribe to my email newsletter, and ask questions and give your valuable suggestions.</p>


<script>(function() {
	window.mc4wp = window.mc4wp || {
		listeners: [],
		forms: {
			on: function(evt, cb) {
				window.mc4wp.listeners.push(
					{
						event   : evt,
						callback: cb
					}
				);
			}
		}
	}
})();
</script><!-- Mailchimp for WordPress v4.10.2 - https://wordpress.org/plugins/mailchimp-for-wp/ --><form id="mc4wp-form-2" class="mc4wp-form mc4wp-form-2830 mc4wp-form-theme mc4wp-form-theme-dark" method="post" data-id="2830" data-name="Main Newsletter" ><div class="mc4wp-form-fields"><p>
	<label> 
		<input type="email" name="EMAIL" placeholder="Your email address"  style="max-width: 100%;" required />
	</label>
	<input type="submit" value="Subscribe Now" style="width: 100%;" />
</p></div><label style="display: none !important;">Leave this field empty if you&#8217;re human: <input type="text" name="_mc4wp_honeypot" value="" tabindex="-1" autocomplete="off" /></label><input type="hidden" name="_mc4wp_timestamp" value="1742096850" /><input type="hidden" name="_mc4wp_form_id" value="2830" /><input type="hidden" name="_mc4wp_form_element_id" value="mc4wp-form-2" /><div class="mc4wp-response"></div></form><!-- / Mailchimp for WordPress Plugin -->]]></content:encoded>
					
					<wfw:commentRss>https://learnbeginner.com/how-to-create-an-creative-faq-section/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Create Creative Quick Links</title>
		<link>https://learnbeginner.com/how-to-create-creative-quick-links/</link>
					<comments>https://learnbeginner.com/how-to-create-creative-quick-links/#respond</comments>
		
		<dc:creator><![CDATA[Hiren Vaghasiya]]></dc:creator>
		<pubDate>Tue, 02 Jun 2020 19:24:00 +0000</pubDate>
				<category><![CDATA[Beginners Guide]]></category>
		<category><![CDATA[Dev Tips]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programmer]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://learnbeginner.com/?p=2701</guid>

					<description><![CDATA[Quick Links can help highlight the most important pages on your website. With Bootstrap's column structure, you can easily create an intuitive and stylish Quick Links section.]]></description>
										<content:encoded><![CDATA[
<p>Archimedes said,&nbsp;&#8220;the shortest path between two points is a straight line.&#8221; Obviously, he never used a&nbsp;website.</p>



<p>All too often, the path for&nbsp;visitors&nbsp;is less than straight – and that impacts everything from page bounce rates to the overall customer experience.</p>



<p>You only have a few seconds to grab a user&#8217;s attention and guide them to the next step in their journey. That&#8217;s why Quick Links are a great way to connect your visitors&nbsp;to the most frequented or&nbsp;highly trafficked&nbsp;pages on your website. They&#8217;re simple, intuitive, visual, and more clickable than your average link.&nbsp;</p>



<p>By utilizing Bootstrap&#8217;s column structure capabilities, you can dynamically handle the styling of your Quick Links, making it easy to add new links in a well-organized grid that&#8217;s easy on the eyes.</p>



<p>In this tutorial, we&#8217;ll show you how easy it is to create a Quick Links section using Bootstrap, HTML, and CSS.</p>



<h2 class="wp-block-heading">Getting Started</h2>



<p>Since we&#8217;ll be using Bootstrap, copy and paste the Bootstrap CDN links below in the head section of your HTML file:</p>



<pre class="wp-block-code"><code lang="markup" class="language-markup line-numbers">&lt;!-- Bootstrap CSS -->
&lt;link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
&lt;!-- jQuery first, then Popper.js, then Bootstrap JS -->
&lt;script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous">&lt;/script>
&lt;script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous">&lt;/script>
&lt;script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous">&lt;/script></code></pre>



<p></p>



<h2 class="wp-block-heading">HTML</h2>



<p>Below, we have a Bootstrap grid structure and 8 boxes for links. Each box is sized using Bootstrap&#8217;s column structure and have the classnames&nbsp;<code>col-xl-3 col-lg-4 col-sm-6 col-12</code>&nbsp;meaning in large desktop screens, there will be four boxes laid out horizontally, in regular desktop screens three, on smaller screens two and on mobile screens, each column will take up the entire width.</p>



<p>The total width is made up of 12-columns. You can adjust the number of columns by changing the numbers, for example, if you&#8217;d like to display only three columns on large screens, you can change the&nbsp;<code>col-xl-3</code>&nbsp;value to&nbsp;<code>col-xl-4</code>&nbsp;and have three equal-width&nbsp;columns across.</p>



<pre class="wp-block-code"><code lang="markup" class="language-markup line-numbers">&lt;section class="section mt-5 mb-5">
    &lt;div class="container">
        &lt;div class="row">
            &lt;div class="col-12">
                &lt;h1 class="text-center mb-5">More Information&lt;/h1>

                &lt;div class="row">
                    &lt;div class="col-xl-3 col-lg-4 col-sm-6 col-12">
                        &lt;div class="box-information mx-0">
                            &lt;a href="">Asteroid &lt;br>packages&lt;/a>
                        &lt;/div>
                        &lt;!-- .box-information-->
                    &lt;/div>

                    &lt;div class="col-xl-3 col-lg-4 col-sm-6 col-12">
                        &lt;div class="box-information mx-0">
                            &lt;a href="">Space excursions&lt;/a>
                        &lt;/div>
                        &lt;!-- .box-information-->
                    &lt;/div>

                    &lt;div class="col-xl-3 col-lg-4 col-sm-6 col-12">
                        &lt;div class="box-information mx-0">
                            &lt;a href="">Five-star &amp; &lt;br>menu options&lt;/a>
                        &lt;/div>
                        &lt;!-- .box-information-->
                    &lt;/div>

                    &lt;div class="col-xl-3 col-lg-4 col-sm-6 col-12">
                        &lt;div class="box-information mx-0">
                            &lt;a href="">Orbital entertainment&lt;/a>
                        &lt;/div>
                        &lt;!-- .box-information-->
                    &lt;/div>

                    &lt;div class="col-xl-3 col-lg-4 col-sm-6 col-12">
                        &lt;div class="box-information mx-0">
                            &lt;a href="">SpaceJet Flex &lt;br>ticketing&lt;/a>
                        &lt;/div>
                        &lt;!-- .box-information-->
                    &lt;/div>

                    &lt;div class="col-xl-3 col-lg-4 col-sm-6 col-12">
                        &lt;div class="box-information mx-0">
                            &lt;a href="">Shuttle &lt;br>Locations&lt;/a>
                        &lt;/div>
                        &lt;!-- .box-information-->
                    &lt;/div>

                    &lt;div class="col-xl-3 col-lg-4 col-sm-6 col-12">
                        &lt;div class="box-information mx-0">
                            &lt;a href="">Transit Services&lt;/a>
                        &lt;/div>
                        &lt;!-- .box-information-->
                    &lt;/div>

                    &lt;div class="col-xl-3 col-lg-4 col-sm-6 col-12">
                        &lt;div class="box-information mx-0">
                            &lt;a href="">JetPet program&lt;/a>
                        &lt;/div>
                        &lt;!-- .box-information-->
                    &lt;/div>
                &lt;/div>
                &lt;!-- .row-->
            &lt;/div>
        &lt;/div>
    &lt;/div>
&lt;/section></code></pre>



<p></p>



<h2 class="wp-block-heading">CSS</h2>



<p>Customize the background color, hover color,&nbsp;and text/link colors by modifying the hex values.</p>



<pre class="wp-block-code"><code lang="css" class="language-css">.section h1 {
    font-size: 37px;
}

.section .box-information {
    height: 115px;
    border: 1px solid #dbdbdb;
    margin-bottom: 30px;
}

.section .box-information a {
    font-size: 21px;
    line-height: 29px;
    font-weight: 600;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    color: #222;
    border-bottom: 4px solid #d60e96;
}

.section .box-information a:hover {
    transition: all, 0.4s, ease;
    background: linear-gradient(135deg, #ff9024 1%, #ff705e 44%, #ff5a85 55%, #ff2cd6 100%);
    color: #fff;
    text-decoration: none;
}


/* Media Queries */

@media (min-width: 768px) {
    .section h1 {
        margin-bottom: 8px;
    }
}

@media (min-width: 992px) {
    .section .box-information {
        margin: 0 5px 30px;
    }
}

@media (max-width: 767.98px) {
    .section .box-information {
        height: 85px;
        margin-bottom: 15px;
    }
}</code></pre>



<p></p>



<p>And there it is!&nbsp;Check out the JSFiddle below to see how the quick links look before committing to its use.</p>



<script async="" src="//jsfiddle.net/learnbeginner/vtzdx8go/embed/result,html,css/dark/"></script>



<p></p>



<h5 class="wp-block-heading">Thank you for reading, and let’s connect!</h5>



<p>Thank you for reading my blog, feel free to subscribe to my email newsletter, and ask questions and give your valuable suggestions.</p>


<script>(function() {
	window.mc4wp = window.mc4wp || {
		listeners: [],
		forms: {
			on: function(evt, cb) {
				window.mc4wp.listeners.push(
					{
						event   : evt,
						callback: cb
					}
				);
			}
		}
	}
})();
</script><!-- Mailchimp for WordPress v4.10.2 - https://wordpress.org/plugins/mailchimp-for-wp/ --><form id="mc4wp-form-3" class="mc4wp-form mc4wp-form-2830 mc4wp-form-theme mc4wp-form-theme-dark" method="post" data-id="2830" data-name="Main Newsletter" ><div class="mc4wp-form-fields"><p>
	<label> 
		<input type="email" name="EMAIL" placeholder="Your email address"  style="max-width: 100%;" required />
	</label>
	<input type="submit" value="Subscribe Now" style="width: 100%;" />
</p></div><label style="display: none !important;">Leave this field empty if you&#8217;re human: <input type="text" name="_mc4wp_honeypot" value="" tabindex="-1" autocomplete="off" /></label><input type="hidden" name="_mc4wp_timestamp" value="1742096850" /><input type="hidden" name="_mc4wp_form_id" value="2830" /><input type="hidden" name="_mc4wp_form_element_id" value="mc4wp-form-3" /><div class="mc4wp-response"></div></form><!-- / Mailchimp for WordPress Plugin -->]]></content:encoded>
					
					<wfw:commentRss>https://learnbeginner.com/how-to-create-creative-quick-links/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Add Pop Up Video into a Website Easily</title>
		<link>https://learnbeginner.com/how-to-add-pop-up-video-into-a-website-easily/</link>
					<comments>https://learnbeginner.com/how-to-add-pop-up-video-into-a-website-easily/#respond</comments>
		
		<dc:creator><![CDATA[Hiren Vaghasiya]]></dc:creator>
		<pubDate>Tue, 02 Jun 2020 11:32:22 +0000</pubDate>
				<category><![CDATA[Beginners Guide]]></category>
		<category><![CDATA[Dev Tips]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programmer]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://learnbeginner.com/?p=2695</guid>

					<description><![CDATA[Excellent content is important but sometimes words on a page aren't as impactful as imagery. Pop up video elements can do wonders for both giving your website a human voice while also showcasing a more visually engaging element to your website.]]></description>
										<content:encoded><![CDATA[
<p>Hey Learner, Welcome back . . .</p>



<p>Video remains one of the most popular forms of content marketing around &#8212; and it&#8217;s certainly one of the most beneficial for a website.</p>



<p>Here are some of the key benefits to adding video to your website:&nbsp;</p>



<p><strong>&#8211; Increased engagement.</strong>&nbsp;By the very nature of the video, it invites engagement. Study after study has shown that people are more likely to watch a video about a topic rather than read a blog about the same topic. People simply love visual elements &#8212; especially if those elements move and capture a viewer&#8217;s attention.&nbsp;</p>



<p><strong>&#8211; Excellent ROI.</strong>&nbsp;Video content elements aren&#8217;t always a priority for content marketing teams, but organizations that use them swear they&#8217;re worth it. Over&nbsp;<a href="https://www.wyzowl.com/video-marketing-statistics-2017/" target="_blank" rel="noreferrer noopener">83% of businesses</a>&nbsp;report that their investment in video elements are worth it.</p>



<p><strong>&#8211; Improved SEO.</strong>&nbsp;This goes back to our first point. Videos naturally increase the time people spend on your website. Longer exposure builds trust with your website &#8212; and not just for the human viewers engaging with your content. Longer times and lower bounce rates tell Google that your site probably has viable, relevant content to certain queries. Some studies have indicated that websites are&nbsp;<a rel="noreferrer noopener" href="https://www.moovly.com/blog/4-great-reasons-you-should-use-video-marketing" target="_blank">53% more likely to show up on page one results</a>&nbsp;if they have embedded videos.</p>



<p><strong>&#8211; Boosted conversions</strong>. Studies have shown that putting a video on a landing page can<a href="https://www.wyzowl.com/video-marketing-statistics-2017/">&nbsp;improve conversions by nearly 80%</a>.</p>



<p>Here&#8217;s how to create a popup video element utilizing&nbsp;<a rel="noreferrer noopener" href="http://dimsemenov.com/plugins/magnific-popup/" target="_blank">Magnific Popup</a>&nbsp;is a responsive lightbox:</p>



<p>So, We start with the coding of HTML</p>



<h3 class="wp-block-heading">HTML</h3>



<p>The HTML uses just some default bootstrap classes, including the Bootstrap responsive embed classes:</p>



<pre class="wp-block-code"><code lang="markup" class="language-markup line-numbers">&lt;div class="container">
  &lt;div class="row">
    &lt;div class="col-sm-12">
      &lt;h1 class="text-center display-4 mt-5">
        Solodev Web Design &amp; Content Management Software
      &lt;/h1>
      &lt;p class="text-center mt-5">
        &lt;a href="#headerPopup" id="headerVideoLink" target="_blank" class="btn btn-outline-danger popup-modal">See Why Solodev WXP&lt;/a>
      &lt;/p>
      &lt;div id="headerPopup" class="mfp-hide embed-responsive embed-responsive-21by9">
        &lt;iframe class="embed-responsive-item" width="854" height="480" src="https://www.youtube.com/embed/qN3OueBm9F4?autoplay=1" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen>&lt;/iframe>
      &lt;/div>
    &lt;/div>
  &lt;/div>
&lt;/div></code></pre>



<h3 class="wp-block-heading">CSS</h3>



<p>We only need some CSS to control how the embed and popup overlay interact:</p>



<pre class="wp-block-code"><code lang="css" class="language-css line-numbers">#headerPopup{
  width:75%;
  margin:0 auto;
}

#headerPopup iframe{
  width:100%;
  margin:0 auto;
}</code></pre>



<h3 class="wp-block-heading">JS</h3>



<p>Some simple JavaScript that initializes Magnific Popup on click:</p>



<pre class="wp-block-code"><code lang="javascript" class="language-javascript line-numbers">$(document).ready(function() {
  $('#headerVideoLink').magnificPopup({
    type:'inline',
    midClick: true // Allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source in href.
  });         
});</code></pre>



<p>Want to see how it all looks before committing to its use? Check out the JSFiddle below.</p>



<script async="" src="//jsfiddle.net/learnbeginner/a0v9owcq/embed/result,html,css,js/dark/"></script>



<p></p>



<h5 class="wp-block-heading">Thank you for reading, and let’s connect!</h5>



<p>Thank you for reading my blog, feel free to subscribe to my email newsletter, and ask questions and give your valuable suggestions.</p>


<script>(function() {
	window.mc4wp = window.mc4wp || {
		listeners: [],
		forms: {
			on: function(evt, cb) {
				window.mc4wp.listeners.push(
					{
						event   : evt,
						callback: cb
					}
				);
			}
		}
	}
})();
</script><!-- Mailchimp for WordPress v4.10.2 - https://wordpress.org/plugins/mailchimp-for-wp/ --><form id="mc4wp-form-4" class="mc4wp-form mc4wp-form-2830 mc4wp-form-theme mc4wp-form-theme-dark" method="post" data-id="2830" data-name="Main Newsletter" ><div class="mc4wp-form-fields"><p>
	<label> 
		<input type="email" name="EMAIL" placeholder="Your email address"  style="max-width: 100%;" required />
	</label>
	<input type="submit" value="Subscribe Now" style="width: 100%;" />
</p></div><label style="display: none !important;">Leave this field empty if you&#8217;re human: <input type="text" name="_mc4wp_honeypot" value="" tabindex="-1" autocomplete="off" /></label><input type="hidden" name="_mc4wp_timestamp" value="1742096850" /><input type="hidden" name="_mc4wp_form_id" value="2830" /><input type="hidden" name="_mc4wp_form_element_id" value="mc4wp-form-4" /><div class="mc4wp-response"></div></form><!-- / Mailchimp for WordPress Plugin -->]]></content:encoded>
					
					<wfw:commentRss>https://learnbeginner.com/how-to-add-pop-up-video-into-a-website-easily/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>6 Must-Use Tools for Front-End Development</title>
		<link>https://learnbeginner.com/6-must-use-tools-for-front-end-development/</link>
					<comments>https://learnbeginner.com/6-must-use-tools-for-front-end-development/#respond</comments>
		
		<dc:creator><![CDATA[Hiren Vaghasiya]]></dc:creator>
		<pubDate>Thu, 21 May 2020 17:47:40 +0000</pubDate>
				<category><![CDATA[Beginners Guide]]></category>
		<category><![CDATA[Dev Tips]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programmer]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://learnbeginner.com/?p=2682</guid>

					<description><![CDATA[A list of very helpful tools I personally use and recommend to anyone in front-end development]]></description>
										<content:encoded><![CDATA[
<p>Hey learner,</p>



<p>The internet has a lot of tools developed by the community to ease our lives as front-end devs. Here is a list of my favourite go-to tools that have personally helped me with my work.</p>



<hr class="wp-block-separator has-text-color has-background has-gridlove-meta-background-color has-gridlove-meta-color is-style-default"/>



<h4 class="wp-block-heading">1. EnjoyCSS</h4>



<p>To be honest, although I do a lot of front-end dev, I am too much good with CSS but instead of doing custom CSS styles I prefer this tool to work smart &amp; fast.&nbsp;<a rel="noreferrer noopener" href="https://enjoycss.com/" target="_blank">This very simple tool</a>&nbsp;is my savior in hard times. It lets you design your elements with a simple UI and gives you the relevant CSS output.</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1363" height="623" src="https://i0.wp.com/learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1.png?fit=770%2C352" alt="" class="wp-image-2684" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1.png 1363w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1-300x137.png 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1-1024x468.png 1024w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1-150x69.png 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1-768x351.png 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1-370x169.png 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1-270x123.png 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1-570x261.png 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1-740x338.png 740w" sizes="(max-width: 1363px) 100vw, 1363px" /></figure>



<hr class="wp-block-separator has-text-color has-background has-gridlove-meta-background-color has-gridlove-meta-color is-style-default"/>



<h4 class="wp-block-heading">2. Prettier Playground</h4>



<p><a rel="noreferrer noopener" href="https://prettier.io/" target="_blank">Prettier</a>&nbsp;is a code formatter with support for JavaScript, including&nbsp;<a rel="noreferrer noopener" href="https://github.com/tc39/proposals/blob/master/finished-proposals.md" target="_blank">ES2017</a>,&nbsp;<a rel="noreferrer noopener" href="https://facebook.github.io/jsx/" target="_blank">JSX</a>,&nbsp;<a rel="noreferrer noopener" href="https://angular.io/" target="_blank">Angular</a>,&nbsp;<a rel="noreferrer noopener" href="https://vuejs.org/" target="_blank">Vue</a>,&nbsp;<a rel="noreferrer noopener" href="https://flow.org/" target="_blank">Flow</a>,&nbsp;<a rel="noreferrer noopener" href="https://www.typescriptlang.org/" target="_blank">TypeScript</a>, and more. It removes your original styling and replaces it with standard consistent styling adhering to the best practices. This handy tool has been very popular in our IDEs, but it also has an&nbsp;<a rel="noreferrer noopener" href="https://prettier.io/playground/" target="_blank">online version — a playground</a>&nbsp;where you can prettify your code.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1351" height="623" src="https://i1.wp.com/learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-2.png?fit=770%2C355" alt="" class="wp-image-2685" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-2.png 1351w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-2-300x138.png 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-2-1024x472.png 1024w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-2-150x69.png 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-2-768x354.png 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-2-370x171.png 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-2-270x125.png 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-2-570x263.png 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-2-740x341.png 740w" sizes="(max-width: 1351px) 100vw, 1351px" /></figure>



<hr class="wp-block-separator has-text-color has-background has-gridlove-meta-background-color has-gridlove-meta-color is-style-default"/>



<h4 class="wp-block-heading">3. Postman</h4>



<p><a rel="noreferrer noopener" href="https://www.postman.com/" target="_blank">Postman</a>&nbsp;is a tool that has been in my developer toolset since the beginning of my dev career. It has been very useful to check my endpoints in the back end. It has definitely earned its position on this list. Endpoints such as GET, POST, DELETE, OPTIONS, and PUT are included. You should definitely use this tool.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1366" height="728" src="https://i1.wp.com/learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-3.png?fit=770%2C411" alt="" class="wp-image-2686" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-3.png 1366w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-3-300x160.png 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-3-1024x546.png 1024w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-3-150x80.png 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-3-768x409.png 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-3-370x197.png 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-3-270x144.png 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-3-570x304.png 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-3-740x394.png 740w" sizes="(max-width: 1366px) 100vw, 1366px" /></figure>



<hr class="wp-block-separator has-text-color has-background has-gridlove-meta-background-color has-gridlove-meta-color is-style-default"/>



<h4 class="wp-block-heading">4. StackBlitz</h4>



<p>StackBlitz allows you to set up your Angular, React, Ionic, TypeScript, RxJS, Svelte, and other JavaScript frameworks with just one click. You can start coding in less than five seconds because of this handy feature.</p>



<p>I have found this tool quite useful, especially when trying out sample code snippets or libraries online. You would not have the time to create a new project from scratch just to try out a new feature. With StackBlitz, you can simply try out the new NPM package in less than a few minutes without creating a project locally from scratch. Nice, right?</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1366" height="625" src="https://i2.wp.com/learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-4.png?fit=770%2C353" alt="" class="wp-image-2687" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-4.png 1366w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-4-300x137.png 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-4-1024x469.png 1024w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-4-150x69.png 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-4-768x351.png 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-4-370x169.png 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-4-270x124.png 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-4-570x261.png 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-4-740x339.png 740w" sizes="(max-width: 1366px) 100vw, 1366px" /></figure>



<hr class="wp-block-separator has-text-color has-background has-gridlove-meta-background-color has-gridlove-meta-color is-style-default"/>



<h4 class="wp-block-heading">5. Bit.dev</h4>



<p>One basic principle of software development is code reusability. This enables you to reduce your development, as you’re not required to build components from scratch.</p>



<p>This is exactly what&nbsp;<a href="https://bit.dev/" target="_blank" rel="noreferrer noopener">Bit.dev</a>&nbsp;does. It allows you to share reusable code components and snippets and thereby allows you to reduce your overhead and speed up your development process.</p>



<p>It also allows for components to be shared among teams, which lets your team collaborate with others.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>Components are your design system. Build better together.</p><cite><a rel="noreferrer noopener" href="https://bit.dev/design-system" target="_blank">Bit.dev</a></cite></blockquote>



<p>As quoted by Bit.dev, this component hub is also suitable to be used as a design system builder. By allowing your team of developers and designers to work together, Bit.dev is the perfect tool for building a design system from scratch.</p>



<p>Bit.dev now supports React, Vue, Angular, Node, and other JavaScript frameworks.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1265" height="606" src="https://i2.wp.com/learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-5.gif?fit=770%2C369" alt="" class="wp-image-2689"/></figure>



<hr class="wp-block-separator has-text-color has-background has-gridlove-meta-background-color has-gridlove-meta-color is-style-default"/>



<h4 class="wp-block-heading">6. CanIUse</h4>



<p>This&nbsp;<a href="https://caniuse.com/" target="_blank" rel="noreferrer noopener">online tool</a>&nbsp;can be very handy, as it allows you to find out whether the feature you are implementing is compatible with the browsers you are expecting to cater to.</p>



<p>I have had many experiences where some of the functionalities used in my application were not supported on other browsers. I learned the hard way that you have to check for browser compatibility. One instance was that a particular feature wasn’t supported in my portfolio project on Safari devices. I figured that out a few months after deployment.</p>



<p>To see this in action, let’s check which browsers support the WebP image format.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1357" height="623" src="https://i1.wp.com/learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-6.png?fit=770%2C353" alt="" class="wp-image-2690" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-6.png 1357w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-6-300x138.png 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-6-1024x470.png 1024w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-6-150x69.png 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-6-768x353.png 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-6-370x170.png 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-6-270x124.png 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-6-570x262.png 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-6-740x340.png 740w" sizes="(max-width: 1357px) 100vw, 1357px" /></figure>



<p>As you can see, Safari and IE are not currently supported. This means you should have a fallback option for incompatible browsers. The code snippet below is the most commonly used implementation of WebP images to support all browsers.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1358" height="584" src="https://i2.wp.com/learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-7.png?fit=770%2C331" alt="" class="wp-image-2691" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-7.png 1358w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-7-300x129.png 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-7-1024x440.png 1024w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-7-150x65.png 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-7-768x330.png 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-7-370x159.png 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-7-270x116.png 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-7-570x245.png 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-7-740x318.png 740w" sizes="(max-width: 1358px) 100vw, 1358px" /></figure>



<h4 class="wp-block-heading">Conclusion</h4>



<p>I have tried to fit the best tools I have encountered in my dev career. If you think there are any worthy additions, please do comment below. Happy coding!</p>



<h4 class="wp-block-heading">Thank you for reading, and let’s connect!</h4>



<p>Thank you for reading my blog, feel free to subscribe to my email newsletter, and ask questions and give your valuable suggestions.</p>


<script>(function() {
	window.mc4wp = window.mc4wp || {
		listeners: [],
		forms: {
			on: function(evt, cb) {
				window.mc4wp.listeners.push(
					{
						event   : evt,
						callback: cb
					}
				);
			}
		}
	}
})();
</script><!-- Mailchimp for WordPress v4.10.2 - https://wordpress.org/plugins/mailchimp-for-wp/ --><form id="mc4wp-form-5" class="mc4wp-form mc4wp-form-2830 mc4wp-form-theme mc4wp-form-theme-dark" method="post" data-id="2830" data-name="Main Newsletter" ><div class="mc4wp-form-fields"><p>
	<label> 
		<input type="email" name="EMAIL" placeholder="Your email address"  style="max-width: 100%;" required />
	</label>
	<input type="submit" value="Subscribe Now" style="width: 100%;" />
</p></div><label style="display: none !important;">Leave this field empty if you&#8217;re human: <input type="text" name="_mc4wp_honeypot" value="" tabindex="-1" autocomplete="off" /></label><input type="hidden" name="_mc4wp_timestamp" value="1742096850" /><input type="hidden" name="_mc4wp_form_id" value="2830" /><input type="hidden" name="_mc4wp_form_element_id" value="mc4wp-form-5" /><div class="mc4wp-response"></div></form><!-- / Mailchimp for WordPress Plugin -->]]></content:encoded>
					
					<wfw:commentRss>https://learnbeginner.com/6-must-use-tools-for-front-end-development/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>STORY ABOUT WHAT IS JS (JAVASCRIPT)?</title>
		<link>https://learnbeginner.com/story-about-what-is-js-javascript/</link>
					<comments>https://learnbeginner.com/story-about-what-is-js-javascript/#respond</comments>
		
		<dc:creator><![CDATA[Hiren Vaghasiya]]></dc:creator>
		<pubDate>Sun, 10 May 2020 17:23:11 +0000</pubDate>
				<category><![CDATA[Beginners Guide]]></category>
		<category><![CDATA[Dev Tips]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[ECMA Script]]></category>
		<category><![CDATA[JavaScript History]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://learnbeginner.com/?p=2654</guid>

					<description><![CDATA[Welcome to the new article about what actual JS (JavaScript) is?]]></description>
										<content:encoded><![CDATA[
<p>Hello Learner,</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="769" height="257" src="https://learnbeginner.com/wp-content/uploads/2020/05/0029-Short-story-about-what-is-js-learnbeginner.png" alt="" class="wp-image-2656" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0029-Short-story-about-what-is-js-learnbeginner.png 769w, https://learnbeginner.com/wp-content/uploads/2020/05/0029-Short-story-about-what-is-js-learnbeginner-300x100.png 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0029-Short-story-about-what-is-js-learnbeginner-150x50.png 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0029-Short-story-about-what-is-js-learnbeginner-370x124.png 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0029-Short-story-about-what-is-js-learnbeginner-270x90.png 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0029-Short-story-about-what-is-js-learnbeginner-570x190.png 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0029-Short-story-about-what-is-js-learnbeginner-740x247.png 740w" sizes="(max-width: 769px) 100vw, 769px" /></figure>



<p>As we all know <strong>JS</strong>&nbsp;stands for&nbsp;<strong>JavaScript</strong>.</p>



<p>It is a lightweight, cross-platform, an interpreted scripting language. It is well-known for the development of web pages, many non-browser environments also use it.</p>



<p>JavaScript can be used for Client-side developments as well as Server-side developments. JavaScript contains a standard library of objects, like Array, Date, and Math, and a core set of language elements like operators, control structures, and statements.</p>



<h4 class="wp-block-heading"><strong>JS version release year chart:</strong></h4>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="641" height="191" src="https://learnbeginner.com/wp-content/uploads/2020/05/0030-javascript-realease-year-history-learnbeginner.png" alt="" class="wp-image-2657" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0030-javascript-realease-year-history-learnbeginner.png 641w, https://learnbeginner.com/wp-content/uploads/2020/05/0030-javascript-realease-year-history-learnbeginner-300x89.png 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0030-javascript-realease-year-history-learnbeginner-150x45.png 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0030-javascript-realease-year-history-learnbeginner-370x110.png 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0030-javascript-realease-year-history-learnbeginner-270x80.png 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0030-javascript-realease-year-history-learnbeginner-570x170.png 570w" sizes="(max-width: 641px) 100vw, 641px" /><figcaption>Source: GeeksforGeeks</figcaption></figure>



<h4 class="wp-block-heading"><strong>JS Structure:</strong></h4>



<pre class="wp-block-code"><code lang="javascript" class="language-javascript">&lt;script type="text/javascript">  
    // Your javaScript code 
&lt;/script></code></pre>



<h4 class="wp-block-heading"><strong>Characteristics of JS:</strong></h4>



<ul class="wp-block-list"><li><strong>Dynamically typed languages:</strong>&nbsp;This language can receive different data types over time.</li><li><strong>Case Sensitive Format:</strong>&nbsp;JavaScript is case sensitive so you have to aware of that.</li><li><strong>Light Weight:</strong>&nbsp;It is so lightweight, and all the browsers are supported by JS.</li><li><strong>Handling:</strong>&nbsp;Handling events is the main feature of JS, it can easily response on the website when the user tries to perform any operation.</li><li>Interpreter Centered:&nbsp;Java Script is built with interpreter centered that allows the user to get the output without the use of the compiler.</li></ul>



<h4 class="wp-block-heading"><strong>Advantages of JS:</strong></h4>



<ul class="wp-block-list"><li>JavaScript executed on the user’s browsers not on the webserver so it saves bandwidth and load on the webserver.</li><li>The JavaScript language is easy to learn it offers syntax that is close to the English language.</li><li>In javaScript, if you ever need any certain feature then you can write it by yourself and use an add-on like&nbsp;Greasemonkey&nbsp;to implement it on the web page.</li><li>It doe’s not require compilation process so no compiler is needed user’s browsers do the task.</li><li>JavaScript is easy to debug, and there are lots of frameworks available that you can use and become master on that.</li></ul>



<h4 class="wp-block-heading"><strong>Disadvantages of JS:</strong></h4>



<ul class="wp-block-list"><li>JavaScript codes are visible to the user so the user can place some code into the site that compromises the security of data over the website. That will be a security issue.</li><li>All browsers interpret JavaScript that is correct but they interpret differently to each other.</li><li>It only supports single inheritance, so in few cases may require the object-oriented language characteristic.</li><li>A single error in code can totally stop the website&#8217;s code rendering on the website.</li><li>JavaScript stores number as a 64-bit floating-point number but operators operate on 32-bit bitwise operands.</li></ul>



<h4 class="wp-block-heading">Thank you for reading, and let’s connect!</h4>



<p>Thank you for reading my blog, feel free to subscribe to my email newsletter, and ask questions and give your valuable suggestions.</p>


<script>(function() {
	window.mc4wp = window.mc4wp || {
		listeners: [],
		forms: {
			on: function(evt, cb) {
				window.mc4wp.listeners.push(
					{
						event   : evt,
						callback: cb
					}
				);
			}
		}
	}
})();
</script><!-- Mailchimp for WordPress v4.10.2 - https://wordpress.org/plugins/mailchimp-for-wp/ --><form id="mc4wp-form-6" class="mc4wp-form mc4wp-form-2830 mc4wp-form-theme mc4wp-form-theme-dark" method="post" data-id="2830" data-name="Main Newsletter" ><div class="mc4wp-form-fields"><p>
	<label> 
		<input type="email" name="EMAIL" placeholder="Your email address"  style="max-width: 100%;" required />
	</label>
	<input type="submit" value="Subscribe Now" style="width: 100%;" />
</p></div><label style="display: none !important;">Leave this field empty if you&#8217;re human: <input type="text" name="_mc4wp_honeypot" value="" tabindex="-1" autocomplete="off" /></label><input type="hidden" name="_mc4wp_timestamp" value="1742096850" /><input type="hidden" name="_mc4wp_form_id" value="2830" /><input type="hidden" name="_mc4wp_form_element_id" value="mc4wp-form-6" /><div class="mc4wp-response"></div></form><!-- / Mailchimp for WordPress Plugin -->]]></content:encoded>
					
					<wfw:commentRss>https://learnbeginner.com/story-about-what-is-js-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>The fastest way to convert array like object into js array</title>
		<link>https://learnbeginner.com/the-fastest-way-to-convert-array-like-object-into-js-array/</link>
					<comments>https://learnbeginner.com/the-fastest-way-to-convert-array-like-object-into-js-array/#respond</comments>
		
		<dc:creator><![CDATA[Hiren Vaghasiya]]></dc:creator>
		<pubDate>Wed, 06 May 2020 18:38:53 +0000</pubDate>
				<category><![CDATA[Beginners Guide]]></category>
		<category><![CDATA[Dev Tips]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[ES6]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://learnbeginner.com/?p=2615</guid>

					<description><![CDATA[In this fast programming era every developer face this issue including me. So I am finding best and fastest way to convert array like object into js array.]]></description>
										<content:encoded><![CDATA[
<p>In this fast programming era every developer face this issue including me. So I am finding best and fastest way to convert array like object into js array.</p>



<h4 class="wp-block-heading">1. What is the problem?</h4>



<p>Suppose you have a list of divs on your page and you query them via&nbsp;<code>document.querySelectorAll</code>.</p>



<pre class="wp-block-code"><code lang="javascript" class="language-javascript">let rows = document.querySelectorAll('img')
NodeList(11) </code></pre>



<p>However,&nbsp;<code>rows</code>&nbsp;is not an array that you can manipulate with all of the handy array methods, like&nbsp;<code>map(), filter()</code>etc.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1185" height="428" src="https://i2.wp.com/learnbeginner.com/wp-content/uploads/2020/05/0015-1_4MkBJprFSx6GXT4os8b-4g.png?fit=770%2C278" alt="" class="wp-image-2617" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0015-1_4MkBJprFSx6GXT4os8b-4g.png 1185w, https://learnbeginner.com/wp-content/uploads/2020/05/0015-1_4MkBJprFSx6GXT4os8b-4g-300x108.png 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0015-1_4MkBJprFSx6GXT4os8b-4g-1024x370.png 1024w, https://learnbeginner.com/wp-content/uploads/2020/05/0015-1_4MkBJprFSx6GXT4os8b-4g-150x54.png 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0015-1_4MkBJprFSx6GXT4os8b-4g-768x277.png 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0015-1_4MkBJprFSx6GXT4os8b-4g-370x134.png 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0015-1_4MkBJprFSx6GXT4os8b-4g-270x98.png 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0015-1_4MkBJprFSx6GXT4os8b-4g-570x206.png 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0015-1_4MkBJprFSx6GXT4os8b-4g-740x267.png 740w" sizes="(max-width: 1185px) 100vw, 1185px" /><figcaption>oops, I am not an array, buddy</figcaption></figure>



<p>That is because</p>



<pre class="wp-block-verse"><code>NodeList</code>&nbsp;object is a list (collection) of nodes extracted from a document.</pre>



<p>So after this the question is &#8220;What can We do?&#8221;</p>



<h4 class="wp-block-heading"><strong>2. What can I do?</strong></h4>



<p>The easiest, fastest way to convert it into an array is just using the es6 spread operator.</p>



<pre class="wp-block-code"><code lang="javascript" class="language-javascript">let rows = document.querySelectorAll('img');
rows = [...rows]</code></pre>



<p>Now, you can start applying all of the array methods to this&nbsp;<code>rows</code></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1400" height="221" src="https://i2.wp.com/learnbeginner.com/wp-content/uploads/2020/05/0016-1_dxLqg6bhRVEyDl9nHzKJwA.png?fit=770%2C122" alt="" class="wp-image-2618" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0016-1_dxLqg6bhRVEyDl9nHzKJwA.png 1400w, https://learnbeginner.com/wp-content/uploads/2020/05/0016-1_dxLqg6bhRVEyDl9nHzKJwA-300x47.png 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0016-1_dxLqg6bhRVEyDl9nHzKJwA-1024x162.png 1024w, https://learnbeginner.com/wp-content/uploads/2020/05/0016-1_dxLqg6bhRVEyDl9nHzKJwA-150x24.png 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0016-1_dxLqg6bhRVEyDl9nHzKJwA-768x121.png 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0016-1_dxLqg6bhRVEyDl9nHzKJwA-370x58.png 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0016-1_dxLqg6bhRVEyDl9nHzKJwA-270x43.png 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0016-1_dxLqg6bhRVEyDl9nHzKJwA-570x90.png 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0016-1_dxLqg6bhRVEyDl9nHzKJwA-740x117.png 740w" sizes="(max-width: 1400px) 100vw, 1400px" /><figcaption>get me those images that I want!</figcaption></figure>



<h4 class="wp-block-heading">3. Other ways to solve the problem here</h4>



<ol class="wp-block-list"><li>use es6 spread operator<strong>&nbsp;[…arrayLikeObject]</strong></li><li>usees6<strong>&nbsp;Array.from</strong>(arrayLikeObject)</li><li><strong>[].slice.call</strong>(arrayLikeObject)</li><li>use the good old&nbsp;<strong>for</strong>&nbsp;loop, code snippet is below, feel free to copy it, LOL</li></ol>



<pre class="wp-block-code"><code lang="javascript" class="language-javascript">let trueArray = []
for(let i = 0; i &lt; rows.length; i++) {
   trueArray.push(rows[i])
}</code></pre>



<p>If you know any other ways, feel free to leave a comment below!</p>



<div class="wp-block-jetpack-markdown"><p>Thanks for reading! ? If you find this helpful don’t forget to give some claps ?? and feel free to share this with your friends and followers! ?If you have some tips to share, feel free to comment below.</p>
</div>


<script>(function() {
	window.mc4wp = window.mc4wp || {
		listeners: [],
		forms: {
			on: function(evt, cb) {
				window.mc4wp.listeners.push(
					{
						event   : evt,
						callback: cb
					}
				);
			}
		}
	}
})();
</script><!-- Mailchimp for WordPress v4.10.2 - https://wordpress.org/plugins/mailchimp-for-wp/ --><form id="mc4wp-form-7" class="mc4wp-form mc4wp-form-2830 mc4wp-form-theme mc4wp-form-theme-dark" method="post" data-id="2830" data-name="Main Newsletter" ><div class="mc4wp-form-fields"><p>
	<label> 
		<input type="email" name="EMAIL" placeholder="Your email address"  style="max-width: 100%;" required />
	</label>
	<input type="submit" value="Subscribe Now" style="width: 100%;" />
</p></div><label style="display: none !important;">Leave this field empty if you&#8217;re human: <input type="text" name="_mc4wp_honeypot" value="" tabindex="-1" autocomplete="off" /></label><input type="hidden" name="_mc4wp_timestamp" value="1742096850" /><input type="hidden" name="_mc4wp_form_id" value="2830" /><input type="hidden" name="_mc4wp_form_element_id" value="mc4wp-form-7" /><div class="mc4wp-response"></div></form><!-- / Mailchimp for WordPress Plugin -->]]></content:encoded>
					
					<wfw:commentRss>https://learnbeginner.com/the-fastest-way-to-convert-array-like-object-into-js-array/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>2020 RoadMap of Coding for beginners</title>
		<link>https://learnbeginner.com/2020-roadmap-of-coding-for-beginners/</link>
					<comments>https://learnbeginner.com/2020-roadmap-of-coding-for-beginners/#respond</comments>
		
		<dc:creator><![CDATA[Hiren Vaghasiya]]></dc:creator>
		<pubDate>Sun, 25 Sep 2016 17:39:37 +0000</pubDate>
				<category><![CDATA[Dev Tips]]></category>
		<category><![CDATA[Data Science]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Python]]></category>
		<guid isPermaLink="false">http://demo.mekshq.com/voice/?p=192</guid>

					<description><![CDATA[After lots of research &#038; case studies, some question coming into screen related to programming. So I decide to make one simple and easy RoadMap of Coding for beginners.]]></description>
										<content:encoded><![CDATA[
<p>Hey Learner, Welcome back!</p>



<p>After lots of research &amp; case studies, some question coming into screen related to programming. So I decide to make one simple and easy RoadMap of Coding for beginners.</p>



<h4 class="wp-block-heading">Frequently asked questions of programming.</h4>



<ul class="wp-block-list"><li>Should I learn <strong>Python</strong> or <strong>JavaScript</strong>?</li><li><strong>Data Science</strong> vs <strong>Web Development</strong> vs <strong>App Development</strong>, which one should I choose?</li><li>Why should I learn <strong>Web Development</strong> when there are popular Web Developing tools like <strong>Wix</strong> &amp; <strong>WordPress</strong>?</li><li>Is <strong>NodeJS</strong> better than <strong>Django(python)</strong>?</li><li>All these points made me confused ? about what should I do?</li></ul>



<p>So before starting with the questions Here&#8217;s something about who I am and What makes me qualified to answer such questions?</p>



<p>I&#8217;m a gradiot (an idiot who did his graduation and who has wasted money and time getting zero skills from college while there&#8217;s an actual opportunity to learn everything online for free).</p>



<p>Yes, I am a CS graduate. During my college years I came across multiple technologies from PHP to JavaScript, Python, flutter you name it. I tried to learn and understand various technologies not due to college curriculum, but due to my desire to learn more and google ?.</p>



<h4 class="wp-block-heading">Should I learn Python or JavaScript?</h4>



<p>This is the Clash of the Titans!!</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1280" height="548" src="https://i1.wp.com/learnbeginner.com/wp-content/uploads/2020/05/0002-python-vs-javascript-2020-1.jpg?fit=770%2C329" alt="" class="wp-image-2534" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0002-python-vs-javascript-2020-1.jpg 1280w, https://learnbeginner.com/wp-content/uploads/2020/05/0002-python-vs-javascript-2020-1-300x128.jpg 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0002-python-vs-javascript-2020-1-1024x438.jpg 1024w, https://learnbeginner.com/wp-content/uploads/2020/05/0002-python-vs-javascript-2020-1-150x64.jpg 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0002-python-vs-javascript-2020-1-768x329.jpg 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0002-python-vs-javascript-2020-1-370x158.jpg 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0002-python-vs-javascript-2020-1-270x116.jpg 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0002-python-vs-javascript-2020-1-570x244.jpg 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0002-python-vs-javascript-2020-1-740x317.jpg 740w" sizes="(max-width: 1280px) 100vw, 1280px" /></figure>



<p>To understand the above question correctly, it is important to know more about JavaScript and Python as well as the reasons for their popularity. So let’s start with JavaScript first!</p>



<h6 class="wp-block-heading">Why is JavaScript so popular?</h6>



<p>JavaScript is a high-level, interpreted programming language that is most popular as a scripting language for&nbsp;<strong>Web pages</strong>. This means that if a web page is not just sitting there and displaying static information, then JavaScript is probably behind that. And that’s not all, there are even advanced versions of the language such as Node.js which is used for server-side scripting.</p>



<p>JavaScript is an extremely popular language. And if my word doesn’t convince you, here are the facts!!!</p>



<p>According to StackOverflow&nbsp;<a href="https://insights.stackoverflow.com/survey/2019#technology-_-programming-scripting-and-markup-languages" target="_blank" rel="noreferrer noopener">Developer Survey Results 2019</a>, JavaScript is the most commonly used programming language, used by 69.7 % of professional developers. And this is a title it has claimed the past seven years in a row.</p>



<p>In addition to that, the most commonly used&nbsp;<a rel="noreferrer noopener" href="https://insights.stackoverflow.com/survey/2019#technology-_-web-frameworks" target="_blank">Web Frameworks</a>&nbsp;are&nbsp;<strong>jQuery, Angular.js, and React.js</strong>&nbsp;(All of which incidentally use JavaScript). Now if that doesn’t demonstrate JavaScript’s popularity, what does?!</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="877" height="521" src="https://learnbeginner.com/wp-content/uploads/2020/05/0003-web-frameworks-popularity-stackoverflow-learn-beginner.png" alt="" class="wp-image-2535" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0003-web-frameworks-popularity-stackoverflow-learn-beginner.png 877w, https://learnbeginner.com/wp-content/uploads/2020/05/0003-web-frameworks-popularity-stackoverflow-learn-beginner-300x178.png 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0003-web-frameworks-popularity-stackoverflow-learn-beginner-150x89.png 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0003-web-frameworks-popularity-stackoverflow-learn-beginner-768x456.png 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0003-web-frameworks-popularity-stackoverflow-learn-beginner-370x220.png 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0003-web-frameworks-popularity-stackoverflow-learn-beginner-270x160.png 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0003-web-frameworks-popularity-stackoverflow-learn-beginner-570x339.png 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0003-web-frameworks-popularity-stackoverflow-learn-beginner-740x440.png 740w" sizes="(max-width: 877px) 100vw, 877px" /><figcaption><em>Image Source: Stackoverflow</em></figcaption></figure>



<p>So now the question arises… <strong>Why is JavaScript so popular?</strong></p>



<p>Well, some of the reasons for that are:</p>



<ul class="wp-block-list"><li>JavaScript is used both on the client-side and the server-side. This means that it runs practically everywhere from browsers to powerful servers. This gives it an edge over other languages that are not so versatile.</li><li>JavaScript implements multiple paradigms ranging from OOP to procedural. This allows developers the freedom to experiment as they want.</li><li>JavaScript has a large community of enthusiasts that actively back the language. Without this, it would have been tough for JavaScript to establish the number one position it has.</li></ul>



<h6 class="wp-block-heading">Can Python Replace JavaScript in Popularity?</h6>



<p>Python is an interpreted, general-purpose programming language that has multiple uses ranging from&nbsp;<strong>web applications to data analysis</strong>. This means that Python can be seen in complex websites such as YouTube or Instagram, in cloud computing projects such as OpenStack, in Machine Learning, etc. (basically everywhere!)</p>



<p>Python has been steadily increasing in popularity so much so that it is the fastest-growing major programming language today according to StackOverflow Developer Survey Results 2019.</p>



<p>This is further demonstrated by this&nbsp;<strong>Google Trends</strong>&nbsp;chart showing the growth of Python as compared to JavaScript over the last 5 years:</p>



<script type="text/javascript" src="https://ssl.gstatic.com/trends_nrtr/2213_RC01/embed_loader.js"></script> <script type="text/javascript"> trends.embed.renderExploreWidget("TIMESERIES", {"comparisonItem":[{"keyword":"/m/05z1_","geo":"","time":"today 5-y"},{"keyword":"/m/02p97","geo":"","time":"today 5-y"}],"category":0,"property":""}, {"exploreQuery":"date=today%205-y&q=%2Fm%2F05z1_,%2Fm%2F02p97","guestPath":"https://trends.google.com:443/trends/embed/"}); </script>



<p>As shown in the above data, Python recorded increased search interest as compared to JavaScript for the first time around November 2017 and it has maintained its lead ever since. This shows remarkable growth in Python as compared to 5 years ago.</p>



<p>In fact, Stack Overflow created a model to forecast its future traffic based on a model called&nbsp;<strong>STL</strong>&nbsp;and guess what…the prediction is that Python could potentially stay in the lead against JavaScript till 2020 at the least.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="856" height="717" src="https://learnbeginner.com/wp-content/uploads/2020/05/0004-Future-Traffic-on-Major-Programming-Languages-Stackoverflow-Learn-Beginner.png" alt="" class="wp-image-2536" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0004-Future-Traffic-on-Major-Programming-Languages-Stackoverflow-Learn-Beginner.png 856w, https://learnbeginner.com/wp-content/uploads/2020/05/0004-Future-Traffic-on-Major-Programming-Languages-Stackoverflow-Learn-Beginner-300x251.png 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0004-Future-Traffic-on-Major-Programming-Languages-Stackoverflow-Learn-Beginner-150x126.png 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0004-Future-Traffic-on-Major-Programming-Languages-Stackoverflow-Learn-Beginner-768x643.png 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0004-Future-Traffic-on-Major-Programming-Languages-Stackoverflow-Learn-Beginner-370x310.png 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0004-Future-Traffic-on-Major-Programming-Languages-Stackoverflow-Learn-Beginner-270x226.png 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0004-Future-Traffic-on-Major-Programming-Languages-Stackoverflow-Learn-Beginner-570x477.png 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0004-Future-Traffic-on-Major-Programming-Languages-Stackoverflow-Learn-Beginner-740x620.png 740w" sizes="(max-width: 856px) 100vw, 856px" /><figcaption>Image Source : Stackoverflow</figcaption></figure>



<p>All these trends indicate that Python is extremely popular and getting even more popular with time. Some of the reasons for this incredible performance of Python are given as follows:</p>



<ul class="wp-block-list"><li><strong>Python is Easy To Use</strong><br>No one likes excessively complicated things and that’s one of the reasons for the growing popularity of Python. It is simple with an easily readable syntax and that makes it well-loved by both seasoned developers and experimental students. In addition to this, Python is also supremely efficient. It allows developers to complete more work using fewer lines of code. With all these advantages, what’s not to love?!!</li><li><strong>Python has a Supportive Community</strong><br>Python has been around since 1990 and that is ample time to create a supportive community. Because of this support, Python learners can easily improve their knowledge, which only leads to increasing popularity. And that’s not all! There are many resources available online to promote Python, ranging from official documentation to YouTube tutorials that are a big help for learners.</li><li><strong>Python has multiple Libraries and Frameworks</strong><br>Python is already quite popular and consequently, it has hundreds of different libraries and frameworks that can be used by developers. These libraries and frameworks are really useful in saving time which in turn makes Python even more popular. Some of the popular libraries of Python are NumPy and SciPy for scientific computing, Django for web development, BeautifulSoup for XML and HTML parsing, sci-kit-learn for machine learning applications, nltk for natural language processing, etc.</li></ul>



<h4 class="wp-block-heading"><strong>Data Science</strong>&nbsp;vs&nbsp;<strong>Web Development</strong>&nbsp;vs&nbsp;<strong>App Development</strong>, which one should I choose?</h4>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="640" height="436" src="https://learnbeginner.com/wp-content/uploads/2020/05/0005-Data-Science-vs-Web-Development-vs-App-Development.png" alt="" class="wp-image-2537" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0005-Data-Science-vs-Web-Development-vs-App-Development.png 640w, https://learnbeginner.com/wp-content/uploads/2020/05/0005-Data-Science-vs-Web-Development-vs-App-Development-300x204.png 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0005-Data-Science-vs-Web-Development-vs-App-Development-150x102.png 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0005-Data-Science-vs-Web-Development-vs-App-Development-370x252.png 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0005-Data-Science-vs-Web-Development-vs-App-Development-270x184.png 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0005-Data-Science-vs-Web-Development-vs-App-Development-570x388.png 570w" sizes="(max-width: 640px) 100vw, 640px" /></figure>



<p>If you are reading this, you might be knowing very well the pay of a Data Science and ML engineers as compared to a Web Developer or an App Developer.</p>



<p>All this huge burst about AI is the future and might very well draw you towards thinking that even I should learn Data Science for a huge package and a job opportunity. </p>



<p>Here&#8217;s the ugly truth, it&#8217;s hard to get a job in Data Science since companies will prefer a person having the Domain knowledge and usually majoring in Mathematics and statistics, you should at least have Masters or Ph.D. for getting a job in this field. </p>



<p><strong>For Example </strong>&#8211; A fintech company will choose a CFA or Finance major rather than a CS engineer and teach them Data Science since python is easy and it&#8217;s the efficiency that counts. So, the person with finance knowledge is well suited for the job. However, As I said It&#8217;s hard to get a job, not impossible. </p>



<p>Some CS grads have got into data science and are earning handful. All you need to learn is python and some libraries and mathematics. </p>



<p>Now, As I said before, data science is a service-based skill you are not technically a developer you&#8217;re an engineer who is figuring out solutions for a given problem. </p>



<p>On the other hand, being a web or app developer means developing products. You can create applications and websites and release them to earn using ad revenue, selling them, or even creating and maintain them for companies that way you don&#8217;t have to rely on companies to give your services. </p>



<p>I suggest you to first, learn web development and then Data Science while earning through your web dev skills. That way you will have a decent skill set, portfolio, and a budget to start experimenting into the world of machine learning where processing power is everything.</p>



<h4 class="wp-block-heading">Why should I learn&nbsp;<strong>Web Development</strong>&nbsp;when there are popular Web Developing tools like&nbsp;<strong>Wix</strong>&nbsp;&amp;&nbsp;<strong>WordPress</strong>?</h4>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="880" height="440" src="https://learnbeginner.com/wp-content/uploads/2020/05/0006-Web-Development-when-there-are-popular-Web-Developing-tools-like-Wix-and-WordPress.png" alt="" class="wp-image-2542" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0006-Web-Development-when-there-are-popular-Web-Developing-tools-like-Wix-and-WordPress.png 880w, https://learnbeginner.com/wp-content/uploads/2020/05/0006-Web-Development-when-there-are-popular-Web-Developing-tools-like-Wix-and-WordPress-300x150.png 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0006-Web-Development-when-there-are-popular-Web-Developing-tools-like-Wix-and-WordPress-150x75.png 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0006-Web-Development-when-there-are-popular-Web-Developing-tools-like-Wix-and-WordPress-768x384.png 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0006-Web-Development-when-there-are-popular-Web-Developing-tools-like-Wix-and-WordPress-370x185.png 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0006-Web-Development-when-there-are-popular-Web-Developing-tools-like-Wix-and-WordPress-270x135.png 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0006-Web-Development-when-there-are-popular-Web-Developing-tools-like-Wix-and-WordPress-570x285.png 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0006-Web-Development-when-there-are-popular-Web-Developing-tools-like-Wix-and-WordPress-740x370.png 740w" sizes="(max-width: 880px) 100vw, 880px" /></figure>



<p>WordPress and Wix are popular content management systems.</p>



<p>They are best for creating small websites and blogs. Yes, they made it easy for anyone to create websites but that doesn&#8217;t mean web developers&#8217; jobs are gone. </p>



<p>You can&#8217;t create Amazon, Netflix, Twitter, and large fully functional websites using them. So, if you are trying to be a low-level web developer, you can pretty much say goodbye to developing websites. </p>



<p>You can google top trending tech skills in demand and you will find AngularJS, ReactJS, NodeJS developers in demand. </p>



<p>Not only websites but you can also create native applications for android and iOS using React-native and games using ThreeJS a JavaScript library. </p>



<p>Possibilities are endless, all you have to do is START. I&#8217;ll suggest you start with MERN stack just my personal opinion but you can research and pick whichever stack you like.</p>



<h4 class="wp-block-heading">Is&nbsp;<strong>NodeJS</strong>&nbsp;better than&nbsp;<strong>Django(python)</strong>?</h4>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1140" height="642" src="https://i1.wp.com/learnbeginner.com/wp-content/uploads/2020/05/0007-Is-NodeJS-better-than-Django-python.jpg?fit=770%2C434" alt="" class="wp-image-2543" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0007-Is-NodeJS-better-than-Django-python.jpg 1140w, https://learnbeginner.com/wp-content/uploads/2020/05/0007-Is-NodeJS-better-than-Django-python-300x169.jpg 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0007-Is-NodeJS-better-than-Django-python-1024x577.jpg 1024w, https://learnbeginner.com/wp-content/uploads/2020/05/0007-Is-NodeJS-better-than-Django-python-150x84.jpg 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0007-Is-NodeJS-better-than-Django-python-768x433.jpg 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0007-Is-NodeJS-better-than-Django-python-370x208.jpg 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0007-Is-NodeJS-better-than-Django-python-270x152.jpg 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0007-Is-NodeJS-better-than-Django-python-570x321.jpg 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0007-Is-NodeJS-better-than-Django-python-740x417.jpg 740w" sizes="(max-width: 1140px) 100vw, 1140px" /></figure>



<p>The two best tools which are quite helpful in building a powerful web application in Node JS and Django.</p>



<p>Compared to Node.js, Django is a beginner-friendly tool, if compared to Node.js. The main reason behind putting this statement is the programming language upon which the frameworks are based.</p>



<p>You will get a comfortable experience in both JavaScript &amp; Python, but for an impressive, stable, scalable work you can use Django over Node.JS.</p>



<p>Node JS and Django, they both are the free framework to use! Moreover, you will not face any kind of licensing issues as they both are open-source software in web development application industry.</p>



<p>Both web development frameworks are great to create web applications; however, there use cases makes them different from each other.</p>



<p>For example, Django is an excellent choice for your web development project when you use a relational database. The presence of extensive external libraries and top-class security build the web application project quickly.</p>



<p>In the case of Node JS, whenever you require an asynchronous stack, a great performance, and web building features from scratch for the server-side, Node.js helps you a lot and does the heavy client-side processing.</p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" src="https://learnbeginner.com/wp-content/uploads/2020/05/0008-node-js-vs-django-chart.jpg" alt="" class="wp-image-2544" width="608" height="392" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0008-node-js-vs-django-chart.jpg 820w, https://learnbeginner.com/wp-content/uploads/2020/05/0008-node-js-vs-django-chart-300x194.jpg 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0008-node-js-vs-django-chart-150x97.jpg 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0008-node-js-vs-django-chart-768x495.jpg 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0008-node-js-vs-django-chart-370x239.jpg 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0008-node-js-vs-django-chart-270x174.jpg 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0008-node-js-vs-django-chart-570x368.jpg 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0008-node-js-vs-django-chart-740x477.jpg 740w" sizes="(max-width: 608px) 100vw, 608px" /></figure>



<p>Here are some of the big fishes and the backend tech they preferred for their development.</p>



<p>Uber, Twitter, eBay, Netflix, Duckduckgo, PayPal, LinkedIn, Trello, Mozilla, GoDaddy are some big names using Node JS as their backend technology.</p>



<p>Pinterest, Instagram, Eventbrite, Sentry, Zapier, Dropbox, Spotify, YouTube are also some big names using Django as their backend technology.</p>



<p>Notice the trend here, Uber, Twitter, and Netflix are some of the applications that priorities performance whereas Pinterest, Instagram, YouTube requires a lot of space and thus scalability is their priority.</p>



<p>So, the choice is upon you what you want scalability or performance.</p>



<h4 class="wp-block-heading">All these points made me confused ? about what should I do?</h4>



<p>First, ask yourself what do you enjoy doing. Do you like to create games, apps, websites<strong>?</strong> What intrigues you<strong>?</strong> What sparks your curiosity<strong>?</strong> I have listed some of the questions depending upon the choices you make.</p>



<ul class="wp-block-list"><li><strong>GAME Development</strong> – If you want to get into the game development industry, you will have to learn <span style="text-decoration: underline;">C#</span> or <span style="text-decoration: underline;">C++</span> for hardcore game development. You can create web games using <span style="text-decoration: underline;">ThreeJS</span> or any other library but you won&#8217;t be exactly a game developer.</li></ul>



<ul class="wp-block-list"><li><strong>App Development</strong> – You can create an application using <span style="text-decoration: underline;">JAVA</span> for android or <span style="text-decoration: underline;">Swift</span> for iOS. Further, you can use <span style="text-decoration: underline;">React-native</span> (by Facebook Inc) or <span style="text-decoration: underline;">Flutter</span> (by Google Inc) for creating apps that would run on both android and iOS. If you want web apps, you can use <span style="text-decoration: underline;">Ionic</span> as well.</li></ul>



<ul class="wp-block-list"><li><strong>Web Development</strong> – There are many stacks (a set of technologies that suits well with each other) you could choose to learn like <span style="text-decoration: underline;">MEAN stack</span>, <span style="text-decoration: underline;">MERN stack</span>, <span style="text-decoration: underline;">LAMP stack</span>, etc. You can create a website from <span style="text-decoration: underline;">WordPress</span> or <span style="text-decoration: underline;">Wix</span> as well. Develop an interactive portfolio for yourself with the stack you find interesting.</li></ul>



<ul class="wp-block-list"><li><strong>Data Science, ML, AI</strong> – Start with <span style="text-decoration: underline;">python</span> and take courses on <span style="text-decoration: underline;">data science</span>, <span style="text-decoration: underline;">mathematics</span>, <span style="text-decoration: underline;">machine learning</span>, from popular websites like <a rel="noreferrer noopener" href="https://www.udemy.com/" target="_blank">Udemy</a> or <a rel="noreferrer noopener" href="https://www.linkedin.com/" target="_blank">LinkedIn</a>. Start competing on <a rel="noreferrer noopener" href="https://www.kaggle.com/" target="_blank">Kaggle</a> and maintain your Kaggle profile.<br><br>Second, do yourself a favor and start learning <span style="text-decoration: underline;">algorithms</span> and <span style="text-decoration: underline;">data structures</span> in the language that fits your answer to the above question.<br><br>Third, Start applying for internships with some projects and try to make an exemplary portfolio. Maintain your <a rel="noreferrer noopener" href="https://github.com/" target="_blank">GitHub</a>, <a rel="noreferrer noopener" href="https://leetcode.com/" target="_blank">LeetCode</a> or <a rel="noreferrer noopener" href="https://www.hackerrank.com/" target="_blank">HackerRank</a> or any other profiles which you can include on your resume.</li></ul>



<div class="wp-block-jetpack-markdown"><p>I hope this might help you; I tried my best to answer some of the questions that I&#8217;ve faced throughout my journey as a gradiot. If you feel that I&#8217;m missing something or something is wrong please feel free to correct me in the comment section.</p>
</div>


<script>(function() {
	window.mc4wp = window.mc4wp || {
		listeners: [],
		forms: {
			on: function(evt, cb) {
				window.mc4wp.listeners.push(
					{
						event   : evt,
						callback: cb
					}
				);
			}
		}
	}
})();
</script><!-- Mailchimp for WordPress v4.10.2 - https://wordpress.org/plugins/mailchimp-for-wp/ --><form id="mc4wp-form-8" class="mc4wp-form mc4wp-form-2830 mc4wp-form-theme mc4wp-form-theme-dark" method="post" data-id="2830" data-name="Main Newsletter" ><div class="mc4wp-form-fields"><p>
	<label> 
		<input type="email" name="EMAIL" placeholder="Your email address"  style="max-width: 100%;" required />
	</label>
	<input type="submit" value="Subscribe Now" style="width: 100%;" />
</p></div><label style="display: none !important;">Leave this field empty if you&#8217;re human: <input type="text" name="_mc4wp_honeypot" value="" tabindex="-1" autocomplete="off" /></label><input type="hidden" name="_mc4wp_timestamp" value="1742096850" /><input type="hidden" name="_mc4wp_form_id" value="2830" /><input type="hidden" name="_mc4wp_form_element_id" value="mc4wp-form-8" /><div class="mc4wp-response"></div></form><!-- / Mailchimp for WordPress Plugin -->]]></content:encoded>
					
					<wfw:commentRss>https://learnbeginner.com/2020-roadmap-of-coding-for-beginners/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
