<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Jethro May</title>
    <description>The latest articles on Forem by Jethro May (@jethromay).</description>
    <link>https://forem.com/jethromay</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F125653%2Fe414ca3b-9b15-47ac-bff2-938e6f4c269f.jpg</url>
      <title>Forem: Jethro May</title>
      <link>https://forem.com/jethromay</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/jethromay"/>
    <language>en</language>
    <item>
      <title>2020 In Review</title>
      <dc:creator>Jethro May</dc:creator>
      <pubDate>Sat, 02 Jan 2021 11:58:37 +0000</pubDate>
      <link>https://forem.com/jethromay/2020-in-review-27fk</link>
      <guid>https://forem.com/jethromay/2020-in-review-27fk</guid>
      <description>&lt;p&gt;2020 has been a year to forget for many people around the world. There have been many ups and downs in everyone's lives. I will be reflecting on the year and what I achieved.&lt;/p&gt;

&lt;p&gt;At the start of the year, up until June/July, I worked on many personal projects and upskilled myself on various topics. I then started to feel quite a bit of burnout.&lt;/p&gt;

&lt;p&gt;I hadn't taken a real break in over a year.&lt;/p&gt;

&lt;p&gt;The burnout had pretty much destroyed a lot of the passion I had for coding outside of working hours. I decided to take a break and not work on coding after hours or on weekends. I hoped that I would naturally rekindle the fire that I once had.&lt;/p&gt;

&lt;p&gt;Many months passed where I felt stuck and wasn't sure where to go and what to do. At this point, I realised that I needed to take my mental health seriously.&lt;/p&gt;

&lt;p&gt;I went to therapy and spoke about my stresses and anxiety, which were compounded by various situations.&lt;/p&gt;

&lt;p&gt;I cannot recommend this enough.&lt;/p&gt;

&lt;p&gt;It allowed me to think clearly and cope with the various stresses I was experiencing. I went through a variety of different changes in my working life as well as my personal life. I needed to take a step back and process these changes.&lt;/p&gt;

&lt;p&gt;The feeling of burnout and stress/anxiety started to disappear. My passion for coding also began to return.&lt;/p&gt;

&lt;p&gt;I took a further step back and thought, what did I achieve in 2020? What positive changes happened in my life?&lt;/p&gt;

&lt;h2&gt;
  
  
  My 2020 goals:
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Redesign my website.&lt;/li&gt;
&lt;li&gt;Start blogging.&lt;/li&gt;
&lt;li&gt;Move into a bigger home.&lt;/li&gt;
&lt;li&gt;Secure a job overseas.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Let's go through each of them, keeping in mind these are in no particular order.&lt;/p&gt;

&lt;h3&gt;
  
  
  Redesign my website
&lt;/h3&gt;

&lt;p&gt;At the start of 2020, I wanted to redesign my website. I wanted to add a blog to my website as well as add a refreshed design. Seeing as I had already started tinkering with Go, I decided to give Hugo a try. I tweaked the design throughout 2020, adding small improvements to the overall design and functionality.&lt;/p&gt;

&lt;p&gt;I achieved this goal, and I will most likely redesign the website at some point this year. I may even switch to a different language or framework entirely.&lt;/p&gt;

&lt;h3&gt;
  
  
  Start blogging
&lt;/h3&gt;

&lt;p&gt;I didn't write nearly enough articles in 2020 but I achieved this goal and wrote five articles:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://jethromay.com/posts/2020-website-refresh/"&gt;2020 Website Refresh&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://jethromay.com/posts/migrating-my-website-to-hugo/"&gt;Migrating My Website To Hugo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/jethromay/get-down-with-markdown-4l69"&gt;Get Down With Markdown&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/jethromay/8-html-elements-you-might-not-know-about-5gh"&gt;8 HTML Elements You Might Not Know About&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/jethromay/getting-started-with-version-control-12me"&gt;Getting Started With Version Control&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I have begun plotting out a few ideas for 2021's articles, which I will likely be starting once I return from my much-needed break.&lt;/p&gt;

&lt;h3&gt;
  
  
  Move into a bigger home
&lt;/h3&gt;

&lt;p&gt;My fiance and I, (now wife) wanted to move into a bigger home. While we were comfortable in our previous home, we wanted more space and a little more privacy. We achieved that goal towards the end of 2020, moving into our current home.&lt;/p&gt;

&lt;h3&gt;
  
  
  Secure a job overseas
&lt;/h3&gt;

&lt;p&gt;A major highlight for 2020 was getting a job overseas. I was lucky enough to be given the opportunity at a company based in London, which I accepted towards the end of 2020. The plan is to move over to the UK in 2021 when the pandemic allows us to.&lt;/p&gt;

&lt;h2&gt;
  
  
  Other accomplishments in 2020:
&lt;/h2&gt;

&lt;p&gt;2020 also saw a couple of other accomplishments.&lt;/p&gt;

&lt;h3&gt;
  
  
  I got engaged and married in 2020
&lt;/h3&gt;

&lt;p&gt;I got engaged and married to my soul mate. It was without a doubt challenging, getting married during a pandemic but we kept it small and low-key.&lt;/p&gt;

&lt;p&gt;It was the biggest highlight of 2020 and the best day of our lives so far!&lt;/p&gt;

&lt;h3&gt;
  
  
  I worked on my health
&lt;/h3&gt;

&lt;p&gt;Not only did I work on my physical health, but I also decided to take my mental health seriously. The tech industry can be very stressful and overwhelming at times. As an individual in the tech industry, it is paramount to look after your physical and mental wellbeing. Stress and burnout can be a killer that not only affects your working life but your personal life too.&lt;/p&gt;

&lt;h3&gt;
  
  
  Closing thoughts on 2020
&lt;/h3&gt;

&lt;p&gt;Overall, 2020 was a good year for me, full of many personal and work-related accomplishments. Some times were challenging and generally unpleasant, but, I only wish to focus on the positive. I firmly believe 2021 will be a great year not only for myself but for many other people.&lt;/p&gt;

&lt;h2&gt;
  
  
  My goals for 2021:
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Move to the UK.&lt;/li&gt;
&lt;li&gt;Learn more Go.&lt;/li&gt;
&lt;li&gt;Improve my fitness.&lt;/li&gt;
&lt;li&gt;Write more.&lt;/li&gt;
&lt;li&gt;Release a product and gain at least ten paying customers.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What are your goals for 2021 and beyond?&lt;/p&gt;

</description>
      <category>programming</category>
      <category>2020</category>
      <category>review</category>
    </item>
    <item>
      <title>Getting Started With Version Control</title>
      <dc:creator>Jethro May</dc:creator>
      <pubDate>Sun, 18 Oct 2020 10:33:21 +0000</pubDate>
      <link>https://forem.com/jethromay/getting-started-with-version-control-12me</link>
      <guid>https://forem.com/jethromay/getting-started-with-version-control-12me</guid>
      <description>&lt;p&gt;One of the fundamental topics that every developer needs to learn is version control and how to work with a codebase which could be updating and changing over time.&lt;/p&gt;

&lt;p&gt;A version control system allows multiple people to work on a single project at the same time. Each person will have a copy of a project running on their computer, allowing them to make changes which won't affect the rest of the team. Once complete, the developer will be able to submit or push these updates to the version control system and ultimately merge their changes into the main project. The rest of the team will then have access to these new changes by pulling them down into their version of the project on their computers.&lt;/p&gt;

&lt;p&gt;Each change will have a timestamp as well as information about who made that change, usually the developer's name and email address.&lt;/p&gt;

&lt;p&gt;There are various types of version control systems, such as Git, Mercurial and many more. In this tutorial, we will be covering the basics of version control using Git utilizing a platform called GitHub.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Git?
&lt;/h2&gt;

&lt;p&gt;Git is a version control system used for tracking changes in a codebase during development. The purpose of Git is to coordinate changes among developers; it can, however, track changes in any set of files.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is GitHub?
&lt;/h2&gt;

&lt;p&gt;GitHub is a Git repository hosting platform that allows developers to store their code which can be publically visible or private from the rest of the world. It keeps track of the various changes made to each of your projects and presents itself in an intuitive and easy to use interface. It is free to use but also offers a premium plan. Read more about their features &lt;a href="https://github.com/features" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  First Steps:
&lt;/h2&gt;

&lt;p&gt;The easiest way to get started is by creating an account on GitHub at the &lt;a href="https://github.com/join" rel="noopener noreferrer"&gt;following link&lt;/a&gt;. Once you have created an account and you have logged in, you will be able to start creating repositories used to store your code. The home page will contain a feed which will display recent activity on repositories from people you follow on GitHub, so at first, you will not see anything here.&lt;/p&gt;

&lt;p&gt;We are now ready to create our first repository! To do this, click on the + symbol in the top right of the screen, which will provide you with a few options, 'New repository', 'Import repository', 'New gist', 'New organization' and lastly 'New project'.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F0aeyq7kwlbbqaxstma1x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F0aeyq7kwlbbqaxstma1x.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;All repositories require a unique name on your account, along with an optional description. You can control who can see and interact with this repository by setting the visibility to public or private. Additionally, you may choose to include a &lt;code&gt;README.md&lt;/code&gt; file, a &lt;code&gt;.gitignore&lt;/code&gt; file and a &lt;code&gt;LICENSE.md&lt;/code&gt; file, for now, we will not add either of these additional files.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fxe9unxs24iuvbnta4sr6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fxe9unxs24iuvbnta4sr6.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once you have filled in the required information, click on 'Create repository' and you will be good to go!&lt;/p&gt;

&lt;h2&gt;
  
  
  Setup:
&lt;/h2&gt;

&lt;p&gt;There are two primary ways of interacting with a repository on GitHub, using the &lt;a href="https://desktop.github.com/" rel="noopener noreferrer"&gt;desktop app&lt;/a&gt; and by using the command line. This guide will cover using the command line, as well as using GitHub's &lt;a href="https://cli.github.com/" rel="noopener noreferrer"&gt;new CLI tool&lt;/a&gt; but feel free to use the desktop application or another GUI (Graphical User Interface) if you are more comfortable with a visual representation of the process.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;To interact with Git via the command line, you will need to have Git installed on your machine. Git comes preinstalled on Mac, however, on Windows it does not. If you are on Windows, please follow &lt;a href="https://git-scm.com/book/en/v2/Getting-Started-Installing-Git" rel="noopener noreferrer"&gt;this guide&lt;/a&gt; to install Git on your machine.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The GitHub CLI (Command Line Interface) allows you to easily interact directly with your repositories and even the GitHub API (Application Programming Interface.) It's worth noting that you don't have to use this CLI tool if you choose to work with the command line, you can still work with Git without it.&lt;/p&gt;

&lt;p&gt;For us to use this new CLI tool, we will install it with instructions found at the following &lt;a href="https://github.com/cli/cli" rel="noopener noreferrer"&gt;link&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Once installed, open up a terminal window if you don't already have one open and the last step to take is to authenticate with our GitHub account. We do this by typing the following:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;gh auth login
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;All interactions with the GitHub CLI start with 'gh' followed by the command. A full list of the currently available commands is available here.&lt;/p&gt;

&lt;p&gt;Follow the prompts which will allow you to log in via the browser and type in a code. Once you have successfully logged in, it will ask you to select your default git protocol which will be either https or ssh. We won't be covering how to setup ssh keys, selecting https will be the final step in our setup.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cloning Our Repo:
&lt;/h2&gt;

&lt;p&gt;Cloning the GitHub repository is quite simple, we will use the following command in our terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;gh repo clone &amp;lt;repository&amp;gt; &amp;lt;directory&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Replace  with the full URL to your GitHub repository and replace  with the name of the folder you would like to store this code. (Don't include the left/right chevron symbols.)&lt;/p&gt;

&lt;p&gt;Alternatively, if you run the command inside a folder that you have already created you can omit the directory and instead use a period. This will clone the repository into your current folder:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;gh repo clone &amp;lt;repository&amp;gt; .
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We are now ready to start adding and removing files from our repository.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pushing and Pulling Changes:
&lt;/h2&gt;

&lt;p&gt;Once you have successfully cloned a repository, you will now be able to push code changes as well as pull updates onto your locally running version of the project. At the time of writing this article, there are no commands in the CLI which will allow you to push or pull code, so we will use standard git commands to do that.&lt;/p&gt;

&lt;p&gt;Open the project in any code editor of your choice and create a new file, for example, &lt;code&gt;index.html&lt;/code&gt;. Once you have added a new file, you will be ready to push this new file to your repository.&lt;/p&gt;

&lt;p&gt;Before pushing new changes, you must ensure that you have all of the repositories files in your local version of the project. Assuming you are using the default GitHub branch name, you will run the following command in your terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git pull
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git pull origin main
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once you have pulled down any changes, you will be ready to add your files to a commit and push them to the repository. We can do this by running the following commands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git add index.html
git commit -m "Initial commit"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The first command will add the &lt;code&gt;index.html&lt;/code&gt; file to your commit, and the second command will commit your file with a message. The '-m' option indicates what your commit message is, followed by the actual message. If you have a lot of changes, you can omit the 'git add' step and run the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git commit -a -m "Initial commit"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command will add all of your new changes to the commit.&lt;/p&gt;

&lt;p&gt;Our last step is to push the code!&lt;/p&gt;

&lt;p&gt;Once you are happy with your commit and message, run the following command to push code to your GitHub repository:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git push
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you have followed each step correctly, you will now be able to see your newly changed files in your GitHub repository. If you have chosen this repository to be publically visible, send the link to your friends and they will now be able to pull down your code from this repository.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion:
&lt;/h2&gt;

&lt;p&gt;We have only scratched the surface of what can be achieved with version control, covering the basics of what Git is, how to create a repository on GitHub, how to setup GitHub's new CLI tool, cloning a repository, pulling code and pushing newly created files.&lt;/p&gt;

&lt;p&gt;There are many different aspects of Git that we did not cover, a few of them are:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Branches&lt;/li&gt;
&lt;li&gt;Merging vs Rebasing&lt;/li&gt;
&lt;li&gt;Resetting, Checking Out, Reverting&lt;/li&gt;
&lt;li&gt;Git Log&lt;/li&gt;
&lt;li&gt;Hooks&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you would like this to become a series in which we cover various other topics, let me know in the comments or via &lt;a href="https://twitter.com/may_jethro" rel="noopener noreferrer"&gt;Twitter&lt;/a&gt;!&lt;/p&gt;

</description>
      <category>git</category>
      <category>github</category>
      <category>beginners</category>
    </item>
    <item>
      <title>8 HTML Elements You Might Not Know About</title>
      <dc:creator>Jethro May</dc:creator>
      <pubDate>Mon, 03 Aug 2020 14:17:21 +0000</pubDate>
      <link>https://forem.com/jethromay/8-html-elements-you-might-not-know-about-5gh</link>
      <guid>https://forem.com/jethromay/8-html-elements-you-might-not-know-about-5gh</guid>
      <description>&lt;p&gt;HTML which stands for "Hypertext Markup Language," is used to structure the content of a web page. It consists of a series of elements which enclose different parts of the page content to make them appear or act in a certain way.&lt;/p&gt;

&lt;p&gt;As a developer, being able to write high-quality, accessible and semantic HTML is a great skill to have in your toolset. &lt;/p&gt;

&lt;p&gt;In this guide, we will cover eight elements that you may not have heard of, or used before and look at examples of how you could use them in your next project.&lt;/p&gt;

&lt;h2&gt;
  
  
  Abbreviation:
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;&amp;lt;abbr&amp;gt;&lt;/code&gt; tag defines text which is an abbreviation or an acronym, it also allows for an optional title attribute to provide a full description of the abbreviation or acronym.&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/jethro-may/embed/MWKNxqg?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;p&amp;gt;This document can be styled with &amp;lt;abbr title="Cascading Style Sheets"&amp;gt;CSS&amp;lt;/abbr&amp;gt;&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;&amp;lt;abbr&amp;gt;&lt;/code&gt; tag has full browser support. View a detailed list of which browser versions this tag can be used in, &lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr#Browser_compatibility"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cite:
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;&amp;lt;cite&amp;gt;&lt;/code&gt; tag defines the reference to a cited creative work, and it must include the title of that work.  Examples of where this can be used include the title of a song, book, research paper, website or blog post etc.&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/jethro-may/embed/ZEQgPNG?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;p&amp;gt;
  &amp;lt;cite&amp;gt;Hey Jude&amp;lt;/cite&amp;gt; by The Beatles was released in 1968.
&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;&amp;lt;cite&amp;gt;&lt;/code&gt; tag has full browser support. View a detailed list of which browser versions this tag can be used in, &lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite#Browser_compatibility"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Details:
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;&amp;lt;details&amp;gt;&lt;/code&gt; element creates a widget which can be opened or closed by the user. The default state of the widget is closed, opening the widget will reveal the hidden content inside of the element.&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/jethro-may/embed/NWxQJJJ?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;details&amp;gt;
  This content is hidden.
&amp;lt;/details&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;&amp;lt;details&amp;gt;&lt;/code&gt; element is supported in all browsers apart from Internet Explorer. View a detailed list of which browser versions this tag can be used in, &lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#Browser_compatibility"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mark:
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;&amp;lt;mark&amp;gt;&lt;/code&gt; tag will define text which should be marked or highlighted by the browser.&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/jethro-may/embed/GRoVeaG?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;p&amp;gt;Sometimes you need to &amp;lt;mark&amp;gt;highlight&amp;lt;/mark&amp;gt; text.&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;&amp;lt;mark&amp;gt;&lt;/code&gt; tag has full browser support. View a detailed list of which browser versions this tag can be used in, &lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark#Browser_compatibility"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Output:
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;&amp;lt;output&amp;gt;&lt;/code&gt; tag specifies the result of a calculation. In the following example, you can select a value between 0 - 100 as well as enter a second number into the second element, outputting the sum of the two numbers.&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/jethro-may/embed/rNxXbxM?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;form oninput="result.value=parseInt(number.value)+parseInt(range.value)"&amp;gt;
  &amp;lt;input type="range" id="range" name="range" value="50" /&amp;gt; +
  &amp;lt;input type="number" id="number" name="number" value="50" /&amp;gt; =
  &amp;lt;output name="result" for="number range"&amp;gt;100&amp;lt;/output&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;&amp;lt;output&amp;gt;&lt;/code&gt; element is supported in all browsers apart from Internet Explorer. View a detailed list of which browser versions this tag can be used in, &lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output#Browser_compatibility"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Summary:
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;&amp;lt;summary&amp;gt;&lt;/code&gt; tag defines a heading for the &lt;code&gt;&amp;lt;details&amp;gt;&lt;/code&gt; element. The &lt;code&gt;&amp;lt;summary&amp;gt;&lt;/code&gt; tag must be the first child element inside the &lt;code&gt;&amp;lt;details&amp;gt;&lt;/code&gt; element.&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/jethro-may/embed/qBbevzj?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;details&amp;gt;
  &amp;lt;summary&amp;gt;Summary Heading&amp;lt;/summary&amp;gt;
  This content is hidden.
&amp;lt;/details&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;&amp;lt;summary&amp;gt;&lt;/code&gt; tag is supported in all browsers apart from Internet Explorer. View a detailed list of which browser versions this tag can be used in, &lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary#Browser_compatibility"&gt;here&lt;/a&gt;. &lt;/p&gt;

&lt;h2&gt;
  
  
  Time:
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;&amp;lt;time&amp;gt;&lt;/code&gt; tag represents a time or date value. Optionally, you may include a 'datetime' attribute which will translate the value into a machine-readable format. Using the &lt;code&gt;&amp;lt;time&amp;gt;&lt;/code&gt; tag allows for better search engine results.&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/jethro-may/embed/RwrXdXy?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;p&amp;gt;This post was published on &amp;lt;time datetime="2020-08-03"&amp;gt;3 August, 2020&amp;lt;/time&amp;gt;.&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;&amp;lt;time&amp;gt;&lt;/code&gt; tag is supported in all browsers apart from Internet Explorer. View a detailed list of which browser versions this tag can be used in, &lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time#Browser_compatibility"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Word Break Opportunity:
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;&amp;lt;wbr&amp;gt;&lt;/code&gt; tag tells the browser where the ideal location is to break text when the browser window size changes. &lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/jethro-may/embed/mdVNgbK?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;p&amp;gt;This is a very loooooooooo&amp;lt;wbr&amp;gt;oooo&amp;lt;/wbr&amp;gt;oooooooooooong sentence showing us how to use this tag.&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;&amp;lt;wbr&amp;gt;&lt;/code&gt; tag is supported in all browsers apart from Internet Explorer. View a detailed list of which browser versions this tag can be used in, &lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr#Browser_compatibility"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;In this article, we reviewed a variety of different HTML tags that you can use in your projects. There are &lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element"&gt;many&lt;/a&gt; other useful HTML tags, all of which seek out to solve specific problems. I hope you have learnt a thing or two and will be able to use these tags in your projects!&lt;/p&gt;

</description>
      <category>html</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Get Down With Markdown</title>
      <dc:creator>Jethro May</dc:creator>
      <pubDate>Sun, 19 Jul 2020 13:02:46 +0000</pubDate>
      <link>https://forem.com/jethromay/get-down-with-markdown-4l69</link>
      <guid>https://forem.com/jethromay/get-down-with-markdown-4l69</guid>
      <description>&lt;p&gt;Most developers will encounter Markdown files at some stage of their careers, via repository platforms such as GitHub or Bitbucket. Markdown files use the &lt;code&gt;.md&lt;/code&gt; file extension and will contain specific syntax used to construct the file. Many content management systems and frameworks support markdown out the box, so to start using it is as simple as creating a file and adding its content. &lt;/p&gt;

&lt;p&gt;Markdown files are extremely powerful because it allows the creator the ability to easily construct beautiful and semantic markup without having to build it with code. They are often used inside git repositories as documentation but have also grown to be extremely popular on blogging platforms. I personally store my posts on &lt;a href="https://github.com/jethromay/jethromay.com/"&gt;GitHub&lt;/a&gt; which &lt;a href="https://gohugo.io/"&gt;Hugo&lt;/a&gt; then turns into semantic HTML.&lt;/p&gt;

&lt;p&gt;In this tutorial, I will cover some basic syntax used inside Markdown files which will allow you to start creating beautifully structured content.&lt;/p&gt;

&lt;h2&gt;
  
  
  Headings:
&lt;/h2&gt;

&lt;p&gt;Headings will be represented by adding a # symbol before the title. The number of # symbols signifies the order of importance, so by adding a single # it will represent a &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; tag. Adding additional # symbols will decrease the order of importance with the number of symbols indicating the appropriate &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; to &lt;code&gt;&amp;lt;h6&amp;gt;&lt;/code&gt; tag.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Heading 1 &amp;lt;h1&amp;gt;
## Heading 2 &amp;lt;h2&amp;gt;
### Heading 3 &amp;lt;h3&amp;gt;
#### Heading 4 &amp;lt;h4&amp;gt;
##### Heading 5 &amp;lt;h5&amp;gt;
###### Heading 6 &amp;lt;h6&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Paragraphs:
&lt;/h2&gt;

&lt;p&gt;There is no specific syntax used when writing paragraphs in markdown syntax. Paragraphs can be created by adding one or more blank lines:&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;I am a paragraph.

I am another paragraph. 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;When adding headings and paragraphs, make sure they are all separated by a new line and are not on top of each other.&lt;/p&gt;

&lt;h2&gt;
  
  
  Line breaks:
&lt;/h2&gt;

&lt;p&gt;Line breaks are similar to paragraphs except instead of a single blank line you will add two blank lines to signify a line break. &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;I am a paragraph with a line break below me.


I am a paragraph with a line break above me.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Bold Text:
&lt;/h2&gt;

&lt;p&gt;As we go further into this tutorial, you will find that there are many ways to achieve the same result. For example, bold text can be added to a document in the following ways: &lt;/p&gt;

&lt;p&gt;&lt;code&gt;**Bold text**&lt;/code&gt; will render &lt;strong&gt;Bold text&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;code&gt;__Bold text__&lt;/code&gt; will render &lt;strong&gt;Bold text&lt;/strong&gt; &lt;/p&gt;
&lt;h2&gt;
  
  
  Italic text:
&lt;/h2&gt;

&lt;p&gt;The syntax for italic text is similar to that of bold text. A single asterisk or underscore will be used on either side of the text or phrase.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;*Italic text*&lt;/code&gt; will render: &lt;em&gt;Italic text&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;&lt;code&gt;_Italic text_&lt;/code&gt; will render: &lt;em&gt;Italic text&lt;/em&gt; &lt;/p&gt;
&lt;h2&gt;
  
  
  Lists:
&lt;/h2&gt;

&lt;p&gt;Lists have varying syntax. &lt;/p&gt;

&lt;p&gt;To create ordered lists, simply add items with numbers followed by a period. Each list item will need to be on a new line.&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. Ordered list item #1
2. Ordered list item #2
3. Ordered list item #3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;They do not need to be in numerical order:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. Ordered list item #1
3. Ordered list item #3 
2. Ordered list item #2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;You may also nest lists:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. Ordered list item #1
2. Ordered list item #2
3. Ordered list item #3
    1. Ordered nested list item #1
    2. Ordered nested list item #2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;To create an unordered list, simply add either a dash (-), asterisk (*), or plus signs (+) in front of your line items.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- Unordered list item #1
- Unordered list item #2
- Unordered list item #3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Much like the ordered list, the same principle applies when nesting unordered lists.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- Unordered list item #1
- Unordered list item #2
- Unordered list item #3
    - Unordered nested list item #1
    - Unordered nested list item #2
    - Unordered nested list item #3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Links:
&lt;/h2&gt;

&lt;p&gt;To create a link, enclose the text you wish to link with square brackets followed by the link in parentheses.&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[example.com](https://example.com/)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;a href="https://example.com/"&gt;example.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you would like to add a title to the link, you would add the following:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[example.com](https://example.com/ "Link title")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;a href="https://example.com/"&gt;example.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Links can also be created by adding a chevron on either side of the link:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;https://example.com&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;a href="https://example.com"&gt;https://example.com&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Images:
&lt;/h2&gt;

&lt;p&gt;Images have a similar syntax to links, except they have an exclamation mark in front of the square brackets, followed by the alt text inside the square brackets and the path to the image in parentheses.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;![Alt text](/image-1.jpg)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--u-d3pLgS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/fggv4gqz7xxt70v9lyjw.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--u-d3pLgS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/fggv4gqz7xxt70v9lyjw.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Much like links a title can also be added to an image by adding the following:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;![Alt text](/image-2.jpg "Image title") 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Oh7q4dxf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/h9nxhuw0u2ir6q38fqcx.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Oh7q4dxf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/h9nxhuw0u2ir6q38fqcx.jpg" alt="Alt Text" title="Image title"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Block Quotes:
&lt;/h2&gt;

&lt;p&gt;A block quote can be created by adding a right facing chevron &lt;code&gt;&amp;gt;&lt;/code&gt; in front of a paragraph.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;gt; I am a block quote
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Using this syntax will render the following:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I am a blockquote&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Code:
&lt;/h2&gt;

&lt;p&gt;Code blocks can be added to markdown files by enclosing the word, phrase or code with backticks. (``) &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;`A code block using backticks`
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Alternatively you may create code blocks by indenting by at least four spaces or with one tab:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;A code block created using four spaces or one tab.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Horizontal rules:
&lt;/h2&gt;

&lt;p&gt;There are a number of ways to add a horizontal rule to a document by either adding three or more asterisks (***), dashes or underscores:&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;---

_________________

***
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Any of the above will render:    &lt;/p&gt;




&lt;h2&gt;
  
  
  HTML:
&lt;/h2&gt;

&lt;p&gt;Some Markdown applications or frameworks allow you to insert HTML tags into the file. This is useful if you would like to use certain HTML tags instead of Markdown syntax. Using this approach it is much easier to change the attributes of an element.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;I am using regular **bold** syntax with an HTML link &amp;lt;a href="#" class="text-blue-100"&amp;gt;Link&amp;lt;/a&amp;gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;As you can see Markdown is extremely powerful and user-friendly, it has many benefits and provides creators with an easy way to create beautifully structured content. It is a huge time saver and allows you to focus on what truly matters most, your content.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>markdown</category>
      <category>learning</category>
      <category>codenewbie</category>
    </item>
  </channel>
</rss>
