<?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>Programmer &#8211; Learn Beginner</title>
	<atom:link href="https://learnbeginner.com/tag/programmer/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>Programmer &#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="1742116312" /><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 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="1742116312" /><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="1742116312" /><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="1742116312" /><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="1742116312" /><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="1742116312" /><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 fetchpriority="high" decoding="async" width="1363" height="623" src="https://i0.wp.com/learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1.png?fit=770%2C352" alt="" class="wp-image-2684" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1.png 1363w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1-300x137.png 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1-1024x468.png 1024w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1-150x69.png 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1-768x351.png 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1-370x169.png 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1-270x123.png 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1-570x261.png 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0033-6-must-use-tools-for-front-end-development-learnbeginner-1-740x338.png 740w" sizes="(max-width: 1363px) 100vw, 1363px" /></figure>



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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


<script>(function() {
	window.mc4wp = window.mc4wp || {
		listeners: [],
		forms: {
			on: function(evt, cb) {
				window.mc4wp.listeners.push(
					{
						event   : evt,
						callback: cb
					}
				);
			}
		}
	}
})();
</script><!-- Mailchimp for WordPress v4.10.2 - https://wordpress.org/plugins/mailchimp-for-wp/ --><form id="mc4wp-form-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="1742116312" /><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 MAKE EXTRA MONEY AS A PROGRAMMER</title>
		<link>https://learnbeginner.com/how-to-make-extra-money-as-a-programmer/</link>
					<comments>https://learnbeginner.com/how-to-make-extra-money-as-a-programmer/#respond</comments>
		
		<dc:creator><![CDATA[Hiren Vaghasiya]]></dc:creator>
		<pubDate>Wed, 20 May 2020 08:04:27 +0000</pubDate>
				<category><![CDATA[Beginners Guide]]></category>
		<category><![CDATA[Dev Tips]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Creativity]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Programmer]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<guid isPermaLink="false">https://learnbeginner.com/?p=2668</guid>

					<description><![CDATA[There are plenty of opportunities to expand your income beyond your day job]]></description>
										<content:encoded><![CDATA[
<p>Being a programmer is a great thing. Not only is work fun most of the time, but there are plenty of job openings around and most of them pay very well.</p>



<p>But there are times when a little extra money on the side is much appreciated. Be it because you are still in college or university, you want to start to work for yourself rather than for others, you have a child and want to spend more time with them, you still need to make some cash or you’re doing it just for the fun of it.</p>



<p>Here is the good thing: As a programmer, you have everything you need to increase the cash flow. Your brain, your laptop — that’s all you really need. Interested? Check out the following strategies and decide what fits best for you.</p>



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



<h4 class="wp-block-heading" id="03c2">Start to Freelance</h4>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1400" height="933" src="https://i0.wp.com/learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-1.jpg?fit=770%2C513" alt="" class="wp-image-2673" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-1.jpg 1400w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-1-300x200.jpg 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-1-1024x682.jpg 1024w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-1-150x100.jpg 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-1-768x512.jpg 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-1-370x247.jpg 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-1-270x180.jpg 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-1-570x380.jpg 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-1-740x493.jpg 740w" sizes="(max-width: 1400px) 100vw, 1400px" /><figcaption>Source:&nbsp;Unsplash</figcaption></figure>



<p>Freelancing can be a great thing. No (real) boss, a tremendous amount of projects to choose from, high daily rates for specialists, as many holidays as you want…the list goes on.</p>



<p>However, it requires a lot of discipline and effort to find clients and projects. The biggest advantage to me is that you can start freelancing next to your permanent job, be it in the evenings or on the weekends.</p>



<p>Platforms like&nbsp;<a rel="noreferrer noopener" href="https://www.upwork.com/" target="_blank">Upwork&nbsp;</a>or&nbsp;<a rel="noreferrer noopener" href="https://www.fiverr.com/" target="_blank">Fiverr&nbsp;</a>seem to offer a lot of opportunities especially for doing things on the sidelines but be aware of the competition over there.</p>



<p>Additionally, rates are pretty low so I would only recommend this if you just want to dip your toes into the water for the first time or are satisfied with only a little bit of additional income.</p>



<p>A better strategy would be to work on your LinkedIn profile, contact recruiters and past clients from your network, go to conferences and meetups, and look out for platforms that match up remote workers with companies.</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">Participate in Coding Contests</h4>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1400" height="933" src="https://i0.wp.com/learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-2.jpg?fit=770%2C513" alt="" class="wp-image-2677" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-2.jpg 1400w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-2-300x200.jpg 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-2-1024x682.jpg 1024w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-2-150x100.jpg 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-2-768x512.jpg 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-2-370x247.jpg 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-2-270x180.jpg 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-2-570x380.jpg 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-2-740x493.jpg 740w" sizes="(max-width: 1400px) 100vw, 1400px" /><figcaption>Source:&nbsp;Unsplash</figcaption></figure>



<p>Yes, this is a real thing. There are dedicated platforms that organize programming contests for real prize money.</p>



<p>One of the biggest is&nbsp;<a href="https://www.topcoder.com/" target="_blank" rel="noreferrer noopener">Topcoder&nbsp;</a>with more than a million members and a lot of competitions. They have three main focus areas: design, data science, and development.</p>



<p>You would work on real projects initiated by more than 2000 companies or single matches against opponents. Fun is guaranteed, so is a fast learning curve.</p>



<p>And other lots of sites available like, <a rel="noreferrer noopener" href="https://codersrank.io/" target="_blank">CodersRank</a>, <a rel="noreferrer noopener" href="https://www.hackerrank.com/" target="_blank">HackerRank</a>, <a rel="noreferrer noopener" href="https://www.codechef.com/" target="_blank">CodeChef</a> and lot more.</p>



<p>If you like challenges, this might be something for you. However, there is competition and you cannot count on a steady flow of income so make this one a lower priority.</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">Start to Write</h4>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1400" height="933" src="https://i1.wp.com/learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-3.jpg?fit=770%2C513" alt="" class="wp-image-2678" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-3.jpg 1400w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-3-300x200.jpg 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-3-1024x682.jpg 1024w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-3-150x100.jpg 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-3-768x512.jpg 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-3-370x247.jpg 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-3-270x180.jpg 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-3-570x380.jpg 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-3-740x493.jpg 740w" sizes="(max-width: 1400px) 100vw, 1400px" /><figcaption>Source:&nbsp;Unsplash</figcaption></figure>



<p>In my opinion, writing still is one of the best ways to reach a broad audience. There are plenty of opportunities for you to start writing and make money out of it:</p>



<ul class="wp-block-list"><li>You can start your own blog and monetize with ad revenue.</li><li>You can write books or ebooks and sell them online.</li><li>You can write on platforms such as Medium and participate in their Partnership Programs.</li><li>You can write guest posts for established sites like CSS-Tricks that will pay you a fixed amount if your article is accepted.</li></ul>



<p>There is nothing wrong with trying things out and seeing how people react to what you write.</p>



<p>However, some things that you should consider are to choose a niche where you have a special interest in (keeps you motivated), to keep writing consistently (it takes time to get recognized), and to constantly improve your writing skills to deliver high-quality articles (people will thank you, there is more than enough low-quality stuff out there….).</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">Record and Sell Online Courses</h4>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1400" height="933" src="https://i2.wp.com/learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-4.jpg?fit=770%2C513" alt="" class="wp-image-2679" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-4.jpg 1400w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-4-300x200.jpg 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-4-1024x682.jpg 1024w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-4-150x100.jpg 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-4-768x512.jpg 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-4-370x247.jpg 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-4-270x180.jpg 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-4-570x380.jpg 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-4-740x493.jpg 740w" sizes="(max-width: 1400px) 100vw, 1400px" /><figcaption>Source: Unsplash</figcaption></figure>



<p>Being able to teach people online is one of the best things that emerged over the last decade and will be around for at least another decade if not longer, in my opinion.</p>



<p>The benefits for both students and teachers are massive. Students can choose from a wide range of offerings and learn on their own schedule. Teachers reach 1000s or 100,000s of people with their content.</p>



<p>If you have experience with programming, ideally expert knowledge in a language like JavaScript or Python (or any other popular language or framework) or even in niche penetration testing and you are able to and have fun teaching others, creating online courses could be your thing.</p>



<p>There are many platforms available for your courses to be published on.&nbsp;<a rel="noreferrer noopener" href="https://www.udemy.com/" target="_blank">Udemy</a>, for example, has round about 75 million visitors a month and anyone can join them.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1079" height="345" src="https://i1.wp.com/learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-5.png?fit=770%2C246" alt="" class="wp-image-2680" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-5.png 1079w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-5-300x96.png 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-5-1024x327.png 1024w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-5-150x48.png 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-5-768x246.png 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-5-370x118.png 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-5-270x86.png 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-5-570x182.png 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0032-how-to-make-extra-money-as-a-programmer-learnbeginner-5-740x237.png 740w" sizes="(max-width: 1079px) 100vw, 1079px" /><figcaption>Udemy traffic overview</figcaption></figure>



<p>Other platforms like&nbsp;<a rel="noreferrer noopener" href="https://frontendmasters.com/" target="_blank">Frontend Masters</a>&nbsp;or&nbsp;<a rel="noreferrer noopener" href="https://www.pluralsight.com/" target="_blank">Pluralsight&nbsp;</a>are invite-only but if you have a reputation or a good network — why not?</p>



<p>However, there are a few things to consider when recording your courses:</p>



<ul class="wp-block-list"><li>Invest in good gear: good microphone and webcam are a must!</li><li>High-quality content is king. Competition is increasing steadily so you need to convince people that you can teach them valuable things.</li><li>Practice speaking loud and clearly.</li><li>Always rework your recordings.</li><li>Create additional material like a GitHub project, presentations, coding examples…</li></ul>



<p>And even if it seems appealing that once a course has been recorded and people start buying it, it will create passive income for you, that is only true to some extent. The best teachers constantly update their courses because technology changes all the time!</p>



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



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



<p>There is one last thing I want to tell you that is relevant for each of the above options:</p>



<p>Consistency is king.</p>



<p>No matter what you start — pursue it, stick with it. Most things won’t work overnight. It is hard work, you have to invest time and energy. 99% give up too early. Be among the 1% that are successful!</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-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="1742116312" /><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-make-extra-money-as-a-programmer/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is programming?</title>
		<link>https://learnbeginner.com/what-is-programming/</link>
					<comments>https://learnbeginner.com/what-is-programming/#respond</comments>
		
		<dc:creator><![CDATA[Hiren Vaghasiya]]></dc:creator>
		<pubDate>Tue, 05 May 2020 16:35:36 +0000</pubDate>
				<category><![CDATA[Beginners Guide]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Programmer]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">https://learnbeginner.com/?p=2561</guid>

					<description><![CDATA[Programming is how you get computers to solve problems.]]></description>
										<content:encoded><![CDATA[
<p>Hey learner, Welcome back!</p>



<p>There are countless definitions of what computer programming is, but the one I use is:</p>



<p><strong>“Programming is how <em>you</em> get computers to solve problems.”</strong></p>



<p>In the basic terms there are two key phrases here which are important:</p>



<ul class="wp-block-list"><li><strong>You</strong>: Without the programmer (you), the computer is useless. It does what <strong>you</strong> tell it to do.</li><li><strong>Solve Problems</strong>: Computers are tools. They are complex tools, admittedly, but they are not mysterious or magical: they exist to make tasks easier by programmer (you) help and it’s own complex structures.</li></ul>



<p>Computer programs (or software) are what makes computers work. Without software, modern computers are just complicated machines for turning electricity into heat. It’s software on your computer that runs your operating system, browser, email, games, movie player – just about everything.</p>



<p>When you create a program for a computer, you give it a set of instructions, which will run one at a time in order, precisely as given. If you told a computer to jump off a cliff, it would!</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://learnbeginner.com/wp-content/uploads/2020/05/0858e7e0-0c42-4d7b-ba3a-cdfe9d119d27-5266-000003511fd9f855-1024x576.gif" alt="" class="wp-image-2565" srcset="https://learnbeginner.com/wp-content/uploads/2020/05/0858e7e0-0c42-4d7b-ba3a-cdfe9d119d27-5266-000003511fd9f855-1024x576.gif 1024w, https://learnbeginner.com/wp-content/uploads/2020/05/0858e7e0-0c42-4d7b-ba3a-cdfe9d119d27-5266-000003511fd9f855-300x169.gif 300w, https://learnbeginner.com/wp-content/uploads/2020/05/0858e7e0-0c42-4d7b-ba3a-cdfe9d119d27-5266-000003511fd9f855-150x84.gif 150w, https://learnbeginner.com/wp-content/uploads/2020/05/0858e7e0-0c42-4d7b-ba3a-cdfe9d119d27-5266-000003511fd9f855-768x432.gif 768w, https://learnbeginner.com/wp-content/uploads/2020/05/0858e7e0-0c42-4d7b-ba3a-cdfe9d119d27-5266-000003511fd9f855-1536x864.gif 1536w, https://learnbeginner.com/wp-content/uploads/2020/05/0858e7e0-0c42-4d7b-ba3a-cdfe9d119d27-5266-000003511fd9f855-370x208.gif 370w, https://learnbeginner.com/wp-content/uploads/2020/05/0858e7e0-0c42-4d7b-ba3a-cdfe9d119d27-5266-000003511fd9f855-270x152.gif 270w, https://learnbeginner.com/wp-content/uploads/2020/05/0858e7e0-0c42-4d7b-ba3a-cdfe9d119d27-5266-000003511fd9f855-570x321.gif 570w, https://learnbeginner.com/wp-content/uploads/2020/05/0858e7e0-0c42-4d7b-ba3a-cdfe9d119d27-5266-000003511fd9f855-740x416.gif 740w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Source: Future Learn</figcaption></figure>



<pre class="wp-block-code"><code class="">1. turn and face the cliff
2. walk towards the cliff
3. stop at the edge of the cliff
4. jump off the cliff</code></pre>



<p>To stop computers constantly falling off cliffs, they can also make choices about what to do next:</p>



<pre class="wp-block-code"><code class="">If I wont survive the fall, don't jump off the cliff</code></pre>



<p>Computers never get bored and are really good at doing the same thing over and over again. Instruction 2 above might look in more detail like this:</p>



<pre class="wp-block-code"><code class="">2a. left foot forward
2b. right foot forward
2c. go back to 2a</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1920" height="1080" src="https://i2.wp.com/learnbeginner.com/wp-content/uploads/2020/05/0002-Computer-Walk-Cycle-Learn-Beginner.gif?fit=770%2C433" alt="" class="wp-image-2570"/><figcaption>Source: Future Learn</figcaption></figure>



<p>These three concepts are the basic logical structures in computer programming:</p>



<ol class="wp-block-list"><li><strong>Sequence</strong>: running instructions in order</li><li><strong>Selection</strong>: making choices</li><li><strong>Repetition</strong>: doing the same thing more than once</li></ol>



<p>Add to these concepts the ability to deal with inputs and outputs and to store data, and you have the tools to solve the majority of all computing problems.</p>



<h4 class="wp-block-heading">Programming Languages</h4>



<p>Unfortunately, computers don’t understand languages like English or Spanish, so we have to use a&nbsp;<strong>programming language</strong>&nbsp;they understand to give them instructions.</p>



<p>There are many different programming languages, all of which have their own merits, and certain languages are better suited to particular types of task, but there is no one language which is the ‘best’.</p>



<p>In this course you will be programming using a language called Python. Python is one of a group of languages called “general-purpose programming languages”, which can be used to solve a wide variety of problems. Other popular languages in this category are C, Ruby, Java and BASIC.</p>



<p>This is a small Python program which asks the user to enter their name and says “Hi” to them:</p>



<pre class="wp-block-code"><code lang="python" class="language-python line-numbers">print("Hello and welcome.")
name = input("Whats your name?")
if name == "Martin":
    print("Thats my name too!")
print("Hi " + name)</code></pre>



<p><br>You don’t need to be a computer programmer to be able to read this code. It contains English words and it is readable (if not perhaps understandable). However, by the end of this course you will understand this code, what it does, and the concepts it uses.</p>



<p>Programs are often referred to as&nbsp;<strong>code</strong>&nbsp;and hence programming is also known as&nbsp;<strong>coding</strong>.</p>



<div class="wp-block-jetpack-markdown"><p>So that&#8217;s it. I hope you understand all beginners that &quot;What is Programming or Coding?&quot;. If you really like this explanation then share with your friends to help grow knowledge and stay tuned..!</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-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="1742116312" /><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/what-is-programming/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
