<?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>Web Development &#8211; Learn Beginner</title>
	<atom:link href="https://learnbeginner.com/tag/web-development/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>Web Development &#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="1741867873" /><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 Promote Your WordPress Website The Actionable Tips</title>
		<link>https://learnbeginner.com/how-to-promote-your-wordpress-website-the-actionable-tips/</link>
					<comments>https://learnbeginner.com/how-to-promote-your-wordpress-website-the-actionable-tips/#respond</comments>
		
		<dc:creator><![CDATA[Learn Beginner]]></dc:creator>
		<pubDate>Wed, 02 Mar 2022 15:21:40 +0000</pubDate>
				<category><![CDATA[Beginners Guide]]></category>
		<category><![CDATA[Digital Marketing]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://learnbeginner.com/?p=3083</guid>

					<description><![CDATA[You get all excited with your, as you are finally fleshing out the long-held dream to run your online business. You are all ready to open your shop.]]></description>
										<content:encoded><![CDATA[
<p>Developing a WordPress website is not enough but achieving more traffic and more revenue according to your expectation should be the prime objective. In your WordPress application development, your WordPress developer has implemented all necessary latest features, use of premium theme and customization to engage with your target audience and all the necessary plugins for smooth operation.</p>



<p>You get all excited with your, as you are finally fleshing out the long-held dream to run your online business. You are all ready to open your shop.</p>



<p>In simple terms, your WordPress website is completed and you are ready to rock the party. But you get aero customers.</p>



<p>Even after doing hours of hard work you’re not getting customers as you except earlier. After some research and analysis, you came to know that the main problem is customers are not able to find your website. Nobody knows about your website and you’re offered service. In other words, you can say there is a lack of visibility of your website.</p>



<p>So, what will be the solution for that and what can you do to get your website visibility?</p>



<p>There are so many questions that come to mind if you will deep drive into this. But there is one solution for all your questions and that is “Marketing”.</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="740" height="404" src="https://learnbeginner.com/wp-content/uploads/2022/03/Marketing.jpeg" alt="" class="wp-image-3086" srcset="https://learnbeginner.com/wp-content/uploads/2022/03/Marketing.jpeg 740w, https://learnbeginner.com/wp-content/uploads/2022/03/Marketing-300x164.jpeg 300w, https://learnbeginner.com/wp-content/uploads/2022/03/Marketing-150x82.jpeg 150w, https://learnbeginner.com/wp-content/uploads/2022/03/Marketing-370x202.jpeg 370w, https://learnbeginner.com/wp-content/uploads/2022/03/Marketing-270x147.jpeg 270w, https://learnbeginner.com/wp-content/uploads/2022/03/Marketing-570x311.jpeg 570w" sizes="(max-width: 740px) 100vw, 740px" /></figure>



<p>Marketing the one medicine for all your pains. A well marketing plan and strategy can help you to grow your online business and get visibility on your target audiences.</p>



<p>Normally it’s very difficult to find your website and business in the comparative market where thousands of website and business are going live daily. In this situation marketing has great role for your services or product.</p>



<p>To get effective results you need to promote your website. Marketing your website is always the best result to create an audience for your brand and product.</p>



<p>With marketing you are conveying your message to a large group of people. But you need to follow an effective marketing strategy.</p>



<p>Before discussing more about marketing let me tell you some basic things which helps your marketing to reach the goal, like choosing a web development technology, user-friendly and engaging web layout and design and SEO friendliness of website.</p>



<p>If we will talk about technology then, I will recommend “WordPress” for all of you. WordPress is the best CMS platform with custom plugins and best for marketing of any type of websites.</p>



<h2 class="wp-block-heading"><strong>Why WordPress Is Best For Marketing?</strong></h2>



<p>WordPress is basically search engine friendly and that helps your website to gets more traffic.</p>



<p>A WordPress site gets an average of 23 billion page views each month. The number grows each passing day.</p>



<p>There are 75 billion websites that run on WordPress.</p>



<p>You can set your entire marketing strategy with the WordPress dashboard using the plugin and integration when needed.</p>



<p>And the best thing is you don’t have to become an expert in coding.</p>



<p>Let’s come to the main topic,</p>



<h2 class="wp-block-heading"><strong>How To Market Your WordPress Website?</strong></h2>



<p>Any marketer can develop posts, manage calendars, increase search traffic, and post the content directly into WordPress.</p>



<p>So, here are a few marketing tips you can follow to market your WordPress website.</p>



<h2 class="wp-block-heading"><strong>1. Develop Mobile Responsive WordPress Theme:</strong></h2>



<p>Now a days all the marketing activities results are completely depends upon the bid daddy Google. Google keeping eye on every websites activities and resulting those websites which has good content, layout and user centric information. Here website contents also play a great role in marketing.</p>



<p>Google loves mobile-friendly websites. So you need to make your WordPress site optimized with your mobile.</p>



<p>Go for the themes that are marked as mobile-friendly. Most of them are optimized to some level but not all of them are completely optimized.</p>



<h2 class="wp-block-heading"><strong>2. Develop Quality Content And Never Forget To Market Your Content:</strong></h2>



<p>Good content is important for achieving success on your website. By content, it refers to both visual and textual form. If the website is a blog or magazine, then it’s obvious that the main focus will be on text.</p>



<p>If you have a portfolio site, then visual content should be put on the maximum level.</p>



<p>Quality content refers to:</p>



<ul class="wp-block-list"><li>Long form</li><li>Informative</li><li>Shareable</li><li>Engaging</li><li>Relevant to your niche and to the topic content</li><li>Well written</li><li>Competent</li></ul>



<p>It is important to keep your content unique and fresh. This will create more traffic to your website.</p>



<p>It is also important to have a captivating image with a catchy headline along with a caption that describes the post and attracts more traffic to your website.</p>



<p>When you offer your audience something valuable to read or view creates trust and a strong relationship with your audience.</p>



<h2 class="wp-block-heading"><strong>How To Get The Most From Content Marketing?</strong></h2>



<p>Filling up 100 papers or flooding your page with videos and images doesn’t add any value. Content marketing needs to be properly put up and approached as any other marketing collateral strategy.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="723" height="386" src="https://learnbeginner.com/wp-content/uploads/2022/03/Content-Marketing.png" alt="" class="wp-image-3087" srcset="https://learnbeginner.com/wp-content/uploads/2022/03/Content-Marketing.png 723w, https://learnbeginner.com/wp-content/uploads/2022/03/Content-Marketing-300x160.png 300w, https://learnbeginner.com/wp-content/uploads/2022/03/Content-Marketing-150x80.png 150w, https://learnbeginner.com/wp-content/uploads/2022/03/Content-Marketing-370x198.png 370w, https://learnbeginner.com/wp-content/uploads/2022/03/Content-Marketing-270x144.png 270w, https://learnbeginner.com/wp-content/uploads/2022/03/Content-Marketing-570x304.png 570w" sizes="(max-width: 723px) 100vw, 723px" /></figure>



<ul class="wp-block-list"><li>Develop a Content Calendar: A content calendar helps you to be on track by publishing daily with content pushed back to any particular goal or theme.</li></ul>



<p>To remain on a particular schedule, develop and follow the content calendar. Maximize the content marketing efforts by scheduling posts to share on social media.</p>



<ul class="wp-block-list"><li>Make Different Types Of Content: Don’t just stick to a particular form of content rather focus on various types of content. Always develop fresh blogs and follow the trend.</li></ul>



<h2 class="wp-block-heading"><strong>3. Develop An XML Sitemap:</strong></h2>



<p>Website crawling and indexing is important factor to come in the search results of major search engines. So before coming to search result your website must be crawl and index by search engine like Google. XML sitemap helps the web pages to crawl by search engines.</p>



<p>WordPress automatically develops the sitemap for you, but those are not optimized. One can easily and quickly optimize the sitemap with a plugin like Google XML Sitemap Generator. It is a handy tool that not only helps you to maintain your track on the index pages but it also tells Google about your update.</p>



<p>Whenever you post any new blog or create any changes, it notifies Google to re-crawl your website. This helps to improve the ranking of your site in the search results.</p>



<h2 class="wp-block-heading"><strong>4. Customized Permalinks:</strong></h2>



<p>Your content can be optimized by ensuring the URLs of the blog post have relevant keywords. With WordPress you can create more permalink, but before you push it live make sure it is rich in keywords and readable.</p>



<p>You need to optimize these permalink that reflects the content easily to your visitors.</p>



<h2 class="wp-block-heading"><strong>5. SEO</strong></h2>



<p>The first page of Google has become a refined and crucial part, in comparison to the second and other pages. From the second page and beyond it is considered as the dark web for some. Hence a strong SEO presence is important in the present day.</p>



<p>Also, you can go for the paid search campaign, but put more focus on the organic SEO.</p>



<p>According to a report by Business2community.com 70%-80% users don’t follow paid advertising.</p>



<h2 class="wp-block-heading"><strong>How To Gain More From SEO?</strong></h2>



<p>When someone hears about the term” SEO”, it leads them to think about the experts and the obscurities. But the only secret to success is time and consistency. It states you can do it on your own by following some best practices.</p>



<p>Good SEO helps to generate leads. You need to put the information in the marketing database. So you can later push the content.</p>



<ul class="wp-block-list"><li>Include image: Whenever you add an image to your content, it helps in visitor engagement and that tend to increases the search engine ranking.</li><li>Repurpose Content: Rather than developing new content every time, you can create some changes to the old content. Make the most from your old one, all you need to do is update and republish the last blogs. This increases visitor traffic.</li><li>Email Marketing: For any business, email marketing is an effective way to stay connected with prospects. You also need to address their contact and behavioural information.</li></ul>



<p>To capture this information, you have to gain attention in new ways so you can get more people to website.</p>



<p>Rich snippets are an effective way to increase search traffic. But many times they are ignored by marketers as they require some coding to create.</p>



<h2 class="wp-block-heading"><strong>Conclusion:</strong></h2>



<p>Marketing is a creative job and you can do a lot with your WordPress website if you prepare the right marketing strategy and use the right marketing tools. With the WordPress dashboard you can handle any kind of task that is essential for marketing with the help of plugins within a very less time like SEO, image optimization, Social Media sharing, and many more.</p>



<p>More and more businesses are moving towards digitized mode of business, and you are still following the old method of business. Noting gone away now. This is the right time to start new things. Let Andolasoft help you in your WordPress website development and online promotion of your business.</p>



<p>Andolasoft is one of the trusted web and mobile appdevelopment companyhas long expertise in all technology like WordPress and digital promotion of product and services. We have helped many businesses on theirtech development and business growth. Our case studies will tell more about this.</p>



<p>Contact us have a free consultation about your business ideas or issues and hire our dedicated developers and marketing experts to take your business to next level.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://learnbeginner.com/how-to-promote-your-wordpress-website-the-actionable-tips/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Add Social Share Icons with Unique Hover Effects in a Minute</title>
		<link>https://learnbeginner.com/how-to-add-social-share-icons-with-unique-hover-effects-in-a-minute/</link>
					<comments>https://learnbeginner.com/how-to-add-social-share-icons-with-unique-hover-effects-in-a-minute/#respond</comments>
		
		<dc:creator><![CDATA[Hiren Vaghasiya]]></dc:creator>
		<pubDate>Tue, 02 Jun 2020 20:53:46 +0000</pubDate>
				<category><![CDATA[Beginners Guide]]></category>
		<category><![CDATA[Dev Tips]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[Programmer]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<guid isPermaLink="false">https://learnbeginner.com/?p=2736</guid>

					<description><![CDATA[Creating social share icons with unique hover effects helps encourage social media interaction.]]></description>
										<content:encoded><![CDATA[
<p>Hey Learner, Welcome back with sweet and creative concept of Social Share Icons with Unique Hover Effects in a Minute.</p>



<p>The social media share buttons are a very important part of your website.&nbsp;They allow you and your users to quickly share your content across&nbsp;social media, expanding your&nbsp;audience&nbsp;in seconds with just a few clicks. While it is a small feature to be implemented, you can be creative with it and make the social share buttons interactive in a way that adds a unique experience for your visitors.</p>



<p>One of the ways of doing it is simply using the CSS hover feature. In this tutorial, we&#8217;ll show you how to do that.</p>



<p>You can use any kind of image file&nbsp;you want for your icons such as PNG or SVG. In this tutorial, we wanted to keep things simple and used an icon font, FontAwesome.</p>



<p>This method saves&nbsp;time as you don&#8217;t have to individually download icon images and set their sizes individually. It also cuts down the lines of code on your HTML or CSS file. With FontAwesome, you can simply add the CDN below to add icons to your website.</p>



<p>We&#8217;re also using Bootstrap to organize our grid layout. Please insert the external links below on your HTML file to get started:</p>



<pre class="wp-block-code"><code lang="markup" class="language-markup line-numbers">&lt;link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
&lt;link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"></code></pre>



<p></p>



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



<p>The code below is&nbsp;straightforward.</p>



<p>We have a&nbsp;<code>ul</code>&nbsp;list that contains each of the social media links as a list item. If you&#8217;d like to add more&nbsp;social media links, all you have to do is create another&nbsp;<code>li</code>&nbsp;item and add your icon inside the&nbsp;<code>i</code>&nbsp;tag.</p>



<p>We&#8217;re using Bootstrap&#8217;s&nbsp;<code>list-inline</code>&nbsp;class which automatically makes a list horizontal so we don&#8217;t have to add additional lines on the CSS file to make our list items inline.</p>



<pre class="wp-block-code"><code lang="markup" class="language-markup line-numbers">&lt;div class="col-sm-5 col-md-4 col-lg-3 social-links text-center">
    &lt;ul class="list-inline mt-5">
        &lt;li class="list-inline-item">&lt;a href="#">&lt;i class="fa fa-facebook social-icon" aria-hidden="true">&lt;/i>&lt;/a>&lt;/li>
        &lt;li class="list-inline-item">&lt;a href="#">&lt;i class="fa fa-twitter social-icon" aria-hidden="true">&lt;/i>&lt;/a>&lt;/li>
        &lt;li class="list-inline-item">&lt;a href="#">&lt;i class="fa fa-linkedin social-icon" aria-hidden="true">&lt;/i>&lt;/a>&lt;/li>
        &lt;li class="list-inline-item">&lt;a href="#">&lt;i class="fa fa-envelope social-icon" aria-hidden="true">&lt;/i>&lt;/a>&lt;/li>
    &lt;/ul>
&lt;/div></code></pre>



<p></p>



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



<p>After we&#8217;re done with building the structure of the social media share list, let&#8217;s get to how we can display them beautifully with interesting hover effects. Copy and paste the code below in your CSS file:</p>



<pre class="wp-block-code"><code lang="css" class="language-css line-numbers">.fa,
.fas {
    font-family: 'FontAwesome';
}

.social-icon {
    color: #fff;
    background: #221B14;
    font-size: 1em;
    border-radius: 50%;
    line-height: 2.2em;
    width: 2.1em;
    height: 2.1em;
    text-align: center;
    display: inline-block;
}

li:hover {
    transform: translateY(-4px);
    transition: 0.3s;
}</code></pre>



<p></p>



<p>FontAwesome comes with the default&nbsp;<code>.fa</code>&nbsp;or&nbsp;<code>.fas</code>&nbsp;classes. We need to select those classes and set their font-family as &#8220;Font Awesome&#8221;, otherwise, the icons will show up as blank squares.&nbsp;</p>



<p>In order to put the icons in a circular border background, we need to give a specific value to the icon&nbsp;<code>font-size</code>,&nbsp;<code>line-height</code>, and the circle&nbsp;<code>width</code>&nbsp;and&nbsp;<code>height</code>. First, we make the border circle by giving setting its radius as 50%. The icon font size is up to you. Just make sure that the&nbsp;<code>line-height</code>,&nbsp;<code>width</code>, and&nbsp;<code>height</code>&nbsp;values are about as twice as big as the&nbsp;<code>font-size</code>. That way your icon will be well placed in the center, both horizontally and vertically.</p>



<p>Once we ensure that every element in our list is aligned nicely, we can get to the fun part, the hover effect. We&#8217;re making each of the icons move up 4px on hover. All we need to do is select each list item add a&nbsp;<code>:hover</code>&nbsp;after it and write&nbsp;<code>transform:&nbsp;translateY(-4px)</code>.Then, while this is optional, we set the&nbsp;<code>transition</code>&nbsp;to 0.3s to so that when we hover over the icon, it will move up gradually in a smooth way rather than move up abruptly.</p>



<p>There we have it. You can hover over the icons on JSFiddle below to see how they move on hover:</p>



<script async="" src="//jsfiddle.net/learnbeginner/eprwqnz6/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-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="1741867873" /><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-add-social-share-icons-with-unique-hover-effects-in-a-minute/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Preparing Your Website for COVID-19 : Alert Bar</title>
		<link>https://learnbeginner.com/preparing-your-website-for-covid-19-alert-bar/</link>
					<comments>https://learnbeginner.com/preparing-your-website-for-covid-19-alert-bar/#respond</comments>
		
		<dc:creator><![CDATA[Hiren Vaghasiya]]></dc:creator>
		<pubDate>Tue, 02 Jun 2020 20:22:15 +0000</pubDate>
				<category><![CDATA[Beginners Guide]]></category>
		<category><![CDATA[Dev Tips]]></category>
		<category><![CDATA[Dev]]></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=2730</guid>

					<description><![CDATA[Easy to use and customize, the COVID Alert Bar allows you to create highly-visible messages at the top of your homepage to promote critical instructions, timely updates, and links to details about your COVID-19 response.]]></description>
										<content:encoded><![CDATA[
<p>COVID-19 is drastically changing the ways businesses operate, pushing them to adopt new ways of taking care of their customers and employees. Even after the pandemic is over, the impact of the virus will fundamentally change the way we think about communicating, providing services, and using digital tools and channels.</p>



<p>Regardless of your industry, communicating with your audience&nbsp;in a timely manner has never been more important. Over the years, we&#8217;ve developed a library of simple yet highly effective tools for transforming your website into a crisis communications resource – and we&#8217;re sharing&nbsp;them with you&nbsp;to help fight COVID-19.</p>



<p>This will be a series of articles with each installment focusing on&nbsp;a separate tool and teaching you how to implement it. In Part 1, we&#8217;ll show you how to add an alert bar&nbsp;to promote breaking news, updates, instructions, and other key information to your customers during a crisis situation.</p>



<h2 class="wp-block-heading">Adding an Alert Bar to the Top of Your Website</h2>



<p>Alert bars – also known as sticky bars, floating bars, notification bars, or hello bars – are a flexible, easy-to-use tool that span&nbsp;the whole width of a webpage. Adding an alert bar is a perfect way to capture&nbsp;your visitors&#8217; attention and keep&nbsp;audiences about your COVID-19 response strategy. A few tips on the usability of alert bars:</p>



<ul class="wp-block-list"><li>Place&nbsp;the alert bar on top of the page where it will always&nbsp;be visible</li><li>Make sure the color of the alert bar is different than your website&#8217;s main colors so that it immediately stands out</li><li>Once an emergency is over, turn off your alert bar so it&nbsp;provides a disruptive presence when used in the future</li></ul>



<p>While ideal for communicating your COVID-19 news and updates, alert bars can also be used for a variety of non-emergency applications, including:</p>



<ul class="wp-block-list"><li>Changes to hours of operation or contact info</li><li>Service changes for transportation authorities</li><li>Limited-time sales promotions or offers</li><li>Scheduled website maintenance</li></ul>



<p>Regardless of your message, an alert bar is incredibly effective because it grabs a visitor&#8217;s attention without interfering with the rest of your website content.</p>



<p>This tutorial walks you through how to build out and customize an alert bar on your website. Below are the HTML and&nbsp;CSS required.</p>



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



<p>Add the HTML snippet to your templates or webpage, preferably at the top above any navigation or header so that it has prominent positioning.</p>



<pre class="wp-block-code"><code lang="markup" class="language-markup line-numbers">&lt;div class="covid-alert">
    CORONAVIRUS (COVID-19) ALERTS: &lt;a href="#">Click here for the latest information&lt;/a>
&lt;/div></code></pre>



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



<p>Customize the background color and text/link colors by modifying the hexidecimal colors.</p>



<pre class="wp-block-code"><code lang="css" class="language-css line-numbers">body {
    margin: 0px;
    min-height: 75px;
    overflow: hidden;
}

.covid-alert {
    background: #cc0202;
    color: #fff;
    width: 100%;
    padding: 15px;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    font-family: Inter, sans-serif;
}

.covid-alert a {
    color: #fff;
    text-decoration: underline;
    font-weight: 400;
}</code></pre>



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



<script async="" src="//jsfiddle.net/learnbeginner/g1q9bvpk/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="1741867873" /><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/preparing-your-website-for-covid-19-alert-bar/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-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="1741867873" /><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-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-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="1741867873" /><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/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-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="1741867873" /><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/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 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 loading="lazy" 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 loading="lazy" 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-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="1741867873" /><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/6-must-use-tools-for-front-end-development/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>HOW TO VALIDATE A DOMAIN NAME USING REGULAR EXPRESSION</title>
		<link>https://learnbeginner.com/how-to-validate-a-domain-name-using-regular-expression/</link>
					<comments>https://learnbeginner.com/how-to-validate-a-domain-name-using-regular-expression/#respond</comments>
		
		<dc:creator><![CDATA[Hiren Vaghasiya]]></dc:creator>
		<pubDate>Wed, 13 May 2020 16:46:10 +0000</pubDate>
				<category><![CDATA[Beginners Guide]]></category>
		<category><![CDATA[Dev Tips]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Regular Expression]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://learnbeginner.com/?p=2660</guid>

					<description><![CDATA[In this technical and hacking era each and every developer used the validation using regular expression.]]></description>
										<content:encoded><![CDATA[
<p>Given string&nbsp;<strong>str</strong>, the task is to check whether the given string is a valid domain name or not by using&nbsp;Regular Expression.</p>



<p>The valid domain name must satisfy the following conditions:</p>



<ol class="wp-block-list"><li>The domain name should be a-z or A-Z or 0-9 and hyphen (-).</li><li>The domain name should be between 1 and 63 characters long.</li><li>The domain name should not start or end with a hyphen(-) (e.g. -learnbeginner.com or learnbeginner.com-).</li><li>The last TLD (Top level domain) must be at least two characters and a maximum of 6 characters.</li><li>The domain name can be a subdomain (e.g. hindi.learnbeginner.com).</li></ol>



<p><strong>Examples:</strong></p>


<p><strong>Input</strong>: str = “hindi.learnbeginner.com”<br><strong>Output</strong>: true<br><strong>Explanation</strong>:<br>The given string satisfies all the above-mentioned conditions. Therefore it is a valid domain name.</p>
<p><strong>Input</strong>: str = “-learnbeginner.com”<br><strong>Output</strong>: false<br><strong>Explanation</strong>:<br>The given string starts with a hyphen (-). Therefore it is not a valid domain name.</p>
<p><strong>Input</strong>: str = “learnbeginner.o”<br><strong>Output</strong>: false<br><strong>Explanation</strong>:<br>The given string has the last TLD of 1 character, the last TLD must be between 2 and 6 characters long. Therefore it is not a valid domain name.</p>
<p><strong>Input</strong>: str = “.com”<br><strong>Output</strong>: false<br><strong>Explanation</strong>:<br>The given string doesn’t start with a-z or A-Z or 0-9. Therefore it is not a valid domain name.</p>


<p><strong>Approach:</strong>&nbsp;The idea is to use&nbsp;Regular Expression&nbsp;to solve this problem. The following steps can be followed to compute the answer:</p>



<ol class="wp-block-list"><li>Get the String.</li><li>Create a regular expression to check valid domain name as mentioned below:<br><br>regex = “^((?!-)[A-Za-z0-9-]{1, 63}(?&lt;!-)\.)+[A-Za-z]{2, 6}$”<br><br>Where:<br><strong>^</strong>&nbsp;represents the starting of the string.<br><strong>(</strong>&nbsp;represents the starting of the group.<br><strong>(?!-)</strong>&nbsp;represents the string should not start with a hyphen (-).<br><strong>[A-Za-z0-9-]{1, 63}</strong>&nbsp;represents the domain name should be a-z or A-Z or 0-9 and hyphen (-) between 1 and 63 characters long.<br><strong>(?&lt;!-)</strong>&nbsp;represents the string should not end with a hyphen (-).<br><strong>\\.</strong>&nbsp;represents the string followed by a dot.<br><strong>)+</strong>&nbsp;represents the ending of the group, this group must appear at least 1 time, but allowed multiple times for subdomain.<br><strong>[A-Za-z]{2, 6}</strong>&nbsp;represents the TLD must be A-Z or a-z between 2 and 6 characters long.<br><strong>$</strong>&nbsp;represents the ending of the string.<br></li><li>Match the given string with the regular expression. In Java, this can be done by using&nbsp;Pattern.matcher().</li><li>Return true if the string matches with the given regular expression, else return false.</li></ol>



<pre class="wp-block-code"><code lang="java" class="language-java line-numbers">// Java program to validate domain name. 
// using regular expression. 
  
import java.util.regex.*; 
class GFG { 
  
    // Function to validate domain name. 
    public static boolean isValidDomain(String str) 
    { 
        // Regex to check valid domain name. 
        String regex = "^((?!-)[A-Za-z0-9-]"
                       + "{1,63}(?&lt;!-)\\.)"
                       + "+[A-Za-z]{2,6}"; 
  
        // Compile the ReGex 
        Pattern p = Pattern.compile(regex); 
  
        // If the string is empty 
        // return false 
        if (str == null) { 
            return false; 
        } 
  
        // Pattern class contains matcher() 
        // method to find the matching 
        // between the given string and 
        // regular expression. 
        Matcher m = p.matcher(str); 
  
        // Return if the string 
        // matched the ReGex 
        return m.matches(); 
    } 
  
    // Driver Code 
    public static void main(String args[]) 
    { 
        // Test Case 1: 
        String str1 = "learnbeginner.com"; 
        System.out.println(isValidDomain(str1)); 
  
        // Test Case 2: 
        String str2 = "hindi.learnbeginner.com"; 
        System.out.println(isValidDomain(str2)); 
  
        // Test Case 3: 
        String str3 = "-learnbeginner.com"; 
        System.out.println(isValidDomain(str3)); 
  
        // Test Case 4: 
        String str4 = "learnbeginner.o"; 
        System.out.println(isValidDomain(str4)); 
  
        // Test Case 5: 
        String str5 = ".com"; 
        System.out.println(isValidDomain(str5)); 
    } 
}</code></pre>



<p><br><strong>Output:</strong></p>


<pre>true<br />true<br />false<br />false<br />false</pre>


<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-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="1741867873" /><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/how-to-validate-a-domain-name-using-regular-expression/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-9" 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="1741867873" /><input type="hidden" name="_mc4wp_form_id" value="2830" /><input type="hidden" name="_mc4wp_form_element_id" value="mc4wp-form-9" /><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>CSS Font-display and how to use it</title>
		<link>https://learnbeginner.com/css-font-display-and-how-to-use-it/</link>
					<comments>https://learnbeginner.com/css-font-display-and-how-to-use-it/#respond</comments>
		
		<dc:creator><![CDATA[Hiren Vaghasiya]]></dc:creator>
		<pubDate>Fri, 08 May 2020 03:05:33 +0000</pubDate>
				<category><![CDATA[Beginners Guide]]></category>
		<category><![CDATA[Dev Tips]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Fonts]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://learnbeginner.com/?p=2626</guid>

					<description><![CDATA[As we saw yesterday, custom fonts tend to load slowly and block the browser from defining when your website is ready. This, in turn, makes Google think your website is slow, and nobody wants that.]]></description>
										<content:encoded><![CDATA[
<p>Yesterday we included a&nbsp;<a rel="noreferrer noopener" href="https://learnbeginner.com/how-to-use-google-fonts-in-your-next-web-design-project/" target="_blank">custom Google Font</a>&nbsp;on our website and briefly mentioned the&nbsp;<code><strong>font-display</strong></code>&nbsp;option. Let&#8217;s dive deeper into what it is and how it works.</p>



<p>In modern browsers, we can use the&nbsp;<code><strong>font-display</strong></code>&nbsp;function.</p>



<h4 class="wp-block-heading">Font Display options</h4>



<ul class="wp-block-list"><li><code><strong>auto</strong></code>: This is the default value, and leaves the decision up to the browser, in most cases, it will be&nbsp;<code><strong>block</strong></code></li><li><code><strong>block</strong></code>: This tells the browser to hide the text until the font has fully loaded. This is the flash you see when it swaps on some sites.</li><li><code><strong>swap</strong></code>: Swap, as the name suggests, will start with the fallback font and swap once the font is loaded.</li><li><code><strong>fallback</strong></code>: This is a compromise between&nbsp;<code><strong>auto</strong></code>&nbsp;and&nbsp;<code><strong>swap</strong></code>. It will start by hiding the font for a brief period and then go into the&nbsp;<code><strong>swap</strong></code>&nbsp;routine.</li><li><code><strong>optional</strong></code>: This is much like the&nbsp;<code><strong>fallback</strong></code>&nbsp;method. It tells the browser to start with a hide and then transition into the fallback font. The nice option here is that it allows the browser to see if the custom font is even used at all. If, for instance, a slow connection appears, they are less likely even to see the custom font.</li></ul>



<h4 class="wp-block-heading">How to use font-display</h4>



<p>As seen in the previous example, we can use it as such:</p>



<pre class="wp-block-code"><code lang="css" class="language-css">h1 {
  font-size: 40px;
  font-family: 'Amatic SC', cursive;
  font-display: swap;
}</code></pre>



<h4 class="wp-block-heading">What is a fallback font?</h4>



<p>So we talked about fallback fonts quite a bit, but what are those even?</p>



<pre class="wp-block-code"><code lang="css" class="language-css">h1 {
  font-family: 'Amatic SC', 'Times New Roman', Times, serif;
}</code></pre>



<p>So in the above example, the custom font is&nbsp;<code><strong>Amatic SC</strong></code>&nbsp;the system font is&nbsp;<code><strong>Times New Roman</strong></code>&nbsp;or&nbsp;<code><strong>Times</strong></code>, so in the case of using&nbsp;<code><strong>swap</strong></code>, we will first see&nbsp;<code><strong>Times New Roman</strong></code>&nbsp;and when the custom font has loaded it will show&nbsp;<code><strong>Amatic SC</strong></code>.</p>



<h4 class="wp-block-heading">Browser Support</h4>



<p>Not all browsers support this, but I encourage you to use&nbsp;<code><strong>font-display</strong></code>. The browsers that don&#8217;t support it will decide for you.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="410" src="https://learnbeginner.com/wp-content/uploads/2020/05/0019-Browser-Support-Learn-Beginner.png" alt="" class="wp-image-2628" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0019-Browser-Support-Learn-Beginner.png 800w, https://learnbeginner.com/wp-content/uploads/2020/05/0019-Browser-Support-Learn-Beginner-300x154.png 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0019-Browser-Support-Learn-Beginner-150x77.png 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0019-Browser-Support-Learn-Beginner-768x394.png 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0019-Browser-Support-Learn-Beginner-370x190.png 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0019-Browser-Support-Learn-Beginner-270x138.png 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0019-Browser-Support-Learn-Beginner-585x300.png 585w, https://learnbeginner.com/wp-content/uploads/2020/05/0019-Browser-Support-Learn-Beginner-570x292.png 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0019-Browser-Support-Learn-Beginner-740x379.png 740w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<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-10" 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="1741867873" /><input type="hidden" name="_mc4wp_form_id" value="2830" /><input type="hidden" name="_mc4wp_form_element_id" value="mc4wp-form-10" /><div class="mc4wp-response"></div></form><!-- / Mailchimp for WordPress Plugin -->]]></content:encoded>
					
					<wfw:commentRss>https://learnbeginner.com/css-font-display-and-how-to-use-it/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to use Google Fonts in your next web design project</title>
		<link>https://learnbeginner.com/how-to-use-google-fonts-in-your-next-web-design-project/</link>
					<comments>https://learnbeginner.com/how-to-use-google-fonts-in-your-next-web-design-project/#comments</comments>
		
		<dc:creator><![CDATA[Hiren Vaghasiya]]></dc:creator>
		<pubDate>Thu, 07 May 2020 14:39:41 +0000</pubDate>
				<category><![CDATA[Beginners Guide]]></category>
		<category><![CDATA[Dev Tips]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Fonts]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://learnbeginner.com/?p=2622</guid>

					<description><![CDATA[Google fonts are an awesome way of adding a cool font to your website, I use them in client websites all the time, and they are amazing and simple to use.]]></description>
										<content:encoded><![CDATA[
<p>Let&#8217;s get started on implementing a custom font for your website.</p>



<h4 class="wp-block-heading">Finding your Google Font</h4>



<p>To find a cool font, we can go to the&nbsp;<a rel="noreferrer noopener" href="https://fonts.google.com/" target="_blank">Google Font library</a>&nbsp;and pick one we like.</p>



<p>Once you have found the one you want, open it up you will see the whole set&#8217;s letters and Styles. Google Fonts will allow you to include on our more styles on your website. In my case, I&#8217;m using&nbsp;<a rel="noreferrer noopener" href="https://fonts.google.com/specimen/Amatic+SC?sidebar.open&amp;selection.family=Amatic+SC" target="_blank">Amatic SC Bold</a>. Click the&nbsp;<code><strong>Select this style</strong></code>&nbsp;button for each style you want. You will see a side menu on the right. It will have a&nbsp;<code><strong>Review</strong></code>&nbsp;and&nbsp;<code><strong>Embed</strong></code>&nbsp;section; in the embed, we can get the code.</p>



<h4 class="wp-block-heading">Embedding the Google Font in your website</h4>



<p>There are two ways of embedding the font into your website</p>



<ul class="wp-block-list"><li><code><strong>&lt;link&gt;</strong></code>&nbsp;attribute; this sets a link like any external stylesheet</li><li><code><strong>@import</strong></code>&nbsp;this imports it directly in the&nbsp;<code><strong>CSS</strong></code></li></ul>



<p>The Google Fonts website will also show you which&nbsp;<code><strong>font-family</strong></code>&nbsp;rule you must apply to each element you want to have this specific font.</p>



<h4 class="wp-block-heading">Should I use Link or @import?</h4>



<p>This is a question that keeps floating around on the internet, and&nbsp;<a rel="noreferrer noopener" href="http://www.stevesouders.com/blog/2009/04/09/dont-use-import/" target="_blank">Steve Souders</a>&nbsp;did an excellent job of comparing the two. As his article title suggests,is the best way to go according to him and&nbsp;<a rel="noreferrer noopener" href="https://developer.yahoo.com/performance/rules.html#csslink" target="_blank">Yahoo</a>.</p>



<h4 class="wp-block-heading">Using the Google Font on our website</h4>



<pre class="wp-block-code"><code lang="markup" class="language-markup">&lt;head>
  &lt;link
    href="https://fonts.googleapis.com/css2?family=Amatic+SC:wght@700&amp;display=swap"
    rel="stylesheet"
  />
&lt;/head></code></pre>



<p>We embed the Google Font in the head of our&nbsp;<code><strong>HTML</strong></code>&nbsp;file using the following code. This is the code you get from Google Fonts.</p>



<p>Then in our&nbsp;<code><strong>CSS</strong></code>&nbsp;we can do the following:</p>



<pre class="wp-block-code"><code lang="css" class="language-css">h1 {
  font-family: 'Amatic SC', cursive;
}</code></pre>



<p>It&#8217;s important to use the name as stated in Google Fonts website.</p>



<h4 class="wp-block-heading">What to think about</h4>



<p>So important to note when using Google Fonts, they tend to load slowly, the more you use, the more load time it will add. And Google itself will not like that very much. My suggestion is that you keep it to one custom font. We can use&nbsp;<code><strong>font-display: swap</strong></code>&nbsp;to not interfere with the load, more on this in another article!</p>



<h4 class="wp-block-heading">Thank you for reading, and let&#8217;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-11" 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="1741867873" /><input type="hidden" name="_mc4wp_form_id" value="2830" /><input type="hidden" name="_mc4wp_form_element_id" value="mc4wp-form-11" /><div class="mc4wp-response"></div></form><!-- / Mailchimp for WordPress Plugin -->]]></content:encoded>
					
					<wfw:commentRss>https://learnbeginner.com/how-to-use-google-fonts-in-your-next-web-design-project/feed/</wfw:commentRss>
			<slash:comments>1</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-12" 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="1741867873" /><input type="hidden" name="_mc4wp_form_id" value="2830" /><input type="hidden" name="_mc4wp_form_element_id" value="mc4wp-form-12" /><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>
	</channel>
</rss>
