<?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: Sabeer Junaid</title>
    <description>The latest articles on Forem by Sabeer Junaid (@sabeerjuniad).</description>
    <link>https://forem.com/sabeerjuniad</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%2F1350542%2F4d846134-5278-4ff5-8857-8352e37bce17.png</url>
      <title>Forem: Sabeer Junaid</title>
      <link>https://forem.com/sabeerjuniad</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/sabeerjuniad"/>
    <language>en</language>
    <item>
      <title>Button Animation</title>
      <dc:creator>Sabeer Junaid</dc:creator>
      <pubDate>Wed, 12 Jun 2024 00:20:00 +0000</pubDate>
      <link>https://forem.com/sabeerjuniad/button-animation-2n3f</link>
      <guid>https://forem.com/sabeerjuniad/button-animation-2n3f</guid>
      <description>&lt;p&gt;A button design with a hover effect, perfect for calls-to-action or navigation elements. The button features a smooth animation and a subtle gradient effect, making it a great addition to any web project.&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/Sabeer-Junaid/embed/OJYxowy?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>codepen</category>
      <category>animation</category>
      <category>css</category>
    </item>
    <item>
      <title>Semantic HTML cheat sheet</title>
      <dc:creator>Sabeer Junaid</dc:creator>
      <pubDate>Sun, 24 Mar 2024 02:09:04 +0000</pubDate>
      <link>https://forem.com/sabeerjuniad/semantic-html-cheat-sheet-3be9</link>
      <guid>https://forem.com/sabeerjuniad/semantic-html-cheat-sheet-3be9</guid>
      <description>&lt;p&gt;There are hundreds of semantic tags available to help describe the meaning of your HTML documents. Below is a cheat sheet with some of the most common ones you’ll use in this course and in your development career.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sectioning tags
&lt;/h2&gt;

&lt;p&gt;Use the following tags to organize your HTML document into structured sections. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; header &amp;gt;&lt;/strong&gt;&lt;br&gt;
The header of a content section or the web page. The web page header often contains the website branding or logo.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; nav &amp;gt;&lt;/strong&gt;&lt;br&gt;
The navigation links of a section or the web page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; footer &amp;gt;&lt;/strong&gt;&lt;br&gt;
The footer of a content section or the web page. On a web page, it often contains secondary links, the copyright notice, privacy policy and cookie policy links.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; main &amp;gt;&lt;/strong&gt;&lt;br&gt;
Specifies the main content of a section or the web page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; aside &amp;gt;&lt;/strong&gt;&lt;br&gt;
A secondary set of content that is not required to understand the main content.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; article &amp;gt;&lt;/strong&gt;&lt;br&gt;
An independent, self-contained block of content such as a blog post or product.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; section &amp;gt;&lt;/strong&gt;&lt;br&gt;
A standalone section of the document that is often used within the body and article elements.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; details &amp;gt;&lt;/strong&gt;&lt;br&gt;
A collapsed section of content that can be expanded if the user wishes to view it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; summary &amp;gt;&lt;/strong&gt;&lt;br&gt;
Specifies the summary or caption of a  element.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;h1-h6&lt;/strong&gt;&lt;br&gt;
Headings on the web page. &lt;/p&gt;
&lt;h1&gt; indicates the most important heading whereas &lt;h6&gt; indicates the least important. 
&lt;h2&gt;
  
  
  Content tags
&lt;/h2&gt;

&lt;/h6&gt;
&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt; blockquote &amp;gt;&lt;/strong&gt;&lt;br&gt;
Used to describe a quotation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; dd &amp;gt;&lt;/strong&gt;&lt;br&gt;
Used to define a description for the preceding &lt;/p&gt;
&lt;dt&gt; element.

&lt;p&gt;&lt;strong&gt;&amp;lt; dl &amp;gt;&lt;/strong&gt;&lt;br&gt;
Used to define a description list.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; dt &amp;gt;&lt;/strong&gt;&lt;br&gt;
Used to describe terms inside &amp;lt; dl &amp;gt; elements.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; figcaption &amp;gt;&lt;/strong&gt;&lt;br&gt;
Defines a caption for a photo image.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; figure &amp;gt;&lt;/strong&gt;&lt;br&gt;
Applies markup to a photo image.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; hr &amp;gt;&lt;/strong&gt;&lt;br&gt;
Adds a horizontal line to the parent element.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; li &amp;gt;&lt;/strong&gt;&lt;br&gt;
Used to define an item within a list.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; menu &amp;gt;&lt;/strong&gt;&lt;br&gt;
A semantic alternative to &amp;lt; ul &amp;gt; tag.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; ol &amp;gt;&lt;/strong&gt;&lt;br&gt;
Defines an ordered list.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; p &amp;gt;&lt;/strong&gt;&lt;br&gt;
Defines a paragraph.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; pre &amp;gt;&lt;/strong&gt;&lt;br&gt;
Used to represent preformatted text. Typically rendered in the web browser using a monospace font.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; ul &amp;gt;&lt;/strong&gt;&lt;br&gt;
Unordered list&lt;/p&gt;

&lt;h2&gt;
  
  
  Inline tags
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; a &amp;gt;&lt;/strong&gt;&lt;br&gt;
An anchor link to another HTML document.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; abbr &amp;gt;&lt;/strong&gt;&lt;br&gt;
Specifies that the containing text is an abbreviation or acronym.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; b &amp;gt;&lt;/strong&gt;&lt;br&gt;
Bolds the containing text. When used to indicate importance use &lt;strong&gt; instead.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; br &amp;gt;&lt;/strong&gt;&lt;br&gt;
A line break. Moves the subsequent text to a new line.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; cite &amp;gt;&lt;/strong&gt;&lt;br&gt;
Defines the title of creative work (for example a book, poem, song, movie, painting or sculpture). The text in the &lt;cite&gt; element is usually rendered in italics.&lt;/cite&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; code &amp;gt;&lt;/strong&gt;&lt;br&gt;
Indicates that the containing text is a block of computer code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; data &amp;gt;&lt;/strong&gt;&lt;br&gt;
Indicates machine-readable data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; em &amp;gt;&lt;/strong&gt;&lt;br&gt;
Emphasizes the containing text.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; i &amp;gt;&lt;/strong&gt;&lt;br&gt;
The containing text is displayed in italics. Used to indicate idiomatic text or technical terms.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; mark &amp;gt;&lt;/strong&gt;&lt;br&gt;
The containing text should be marked or highlighted.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; q &amp;gt;&lt;/strong&gt;&lt;br&gt;
The containing text is a short quotation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; s &amp;gt;&lt;/strong&gt;&lt;br&gt;
Displays the containing text with a strikethrough or line through it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; samp &amp;gt;&lt;/strong&gt;&lt;br&gt;
The containing text represents a sample.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; small &amp;gt;&lt;/strong&gt;&lt;br&gt;
Used to represent small text, such as copyright and legal text.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; span &amp;gt;&lt;/strong&gt;&lt;br&gt;
A generic element for grouping content for CSS styling.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; strong &amp;gt;&lt;/strong&gt;&lt;br&gt;
Displays the containing text in bold. Used to indicate importance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; sub &amp;gt;&lt;/strong&gt;&lt;br&gt;
The containing text is subscript text, displayed with a lowered baseline.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; sup &amp;gt;&lt;/strong&gt;&lt;br&gt;
The containing text is superscript text, displayed with a raised baseline.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; time &amp;gt;&lt;/strong&gt;&lt;br&gt;
A semantic tag used to display both dates and times.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; u &amp;gt;&lt;/strong&gt;&lt;br&gt;
Displays the containing text with a solid underline.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; var &amp;gt;&lt;/strong&gt;&lt;br&gt;
The containing text is a variable in a mathematical expression.&lt;/p&gt;

&lt;h2&gt;
  
  
  Embedded content and media tags
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; audio &amp;gt;&lt;/strong&gt;&lt;br&gt;
Used to embed audio in web pages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; canvas &amp;gt;&lt;/strong&gt;&lt;br&gt;
Used to render 2D and 3D graphics on web pages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; embed &amp;gt;&lt;/strong&gt;&lt;br&gt;
Used as a containing element for external content provided by an external application such as a media player or plug-in application. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; iframe &amp;gt;&lt;/strong&gt;&lt;br&gt;
Used to embed a nested web page. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; img &amp;gt;&lt;/strong&gt;&lt;br&gt;
Embeds an image on a web page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; object &amp;gt;&lt;/strong&gt;&lt;br&gt;
Similar to  but the content is provided by a web browser plug-in.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; picture &amp;gt;&lt;/strong&gt;&lt;br&gt;
An element that contains one &lt;a href="" class="article-body-image-wrapper"&gt;&lt;img&gt;&lt;/a&gt; element and one or more  elements to offer alternative images for different displays/devices.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; video &amp;gt;&lt;/strong&gt;&lt;br&gt;
Embeds a video on a web page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; source &amp;gt;&lt;/strong&gt;&lt;br&gt;
Specifies media resources for picture, audio and video elements.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; svg &amp;gt;&lt;/strong&gt;&lt;br&gt;
Used to define Scalable Vector Graphics within a web page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Table tags
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; table &amp;gt;&lt;/strong&gt;&lt;br&gt;
Defines a table element to display table data within a web page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; thead &amp;gt;&lt;/strong&gt;&lt;br&gt;
Represents the header content of a table. Typically contains one &amp;lt; tr &amp;gt; element.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; tbody &amp;gt;&lt;/strong&gt;&lt;br&gt;
Represents the main content of a table. Contains one or more &amp;lt; tr &amp;gt;elements.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; tfoot &amp;gt;&lt;/strong&gt;&lt;br&gt;
Represents the footer content of a table. Typically contains one &amp;lt; tr &amp;gt; element.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; tr &amp;gt;&lt;/strong&gt;&lt;br&gt;
Represents a row in a table. Contains one or more &amp;lt; td &amp;gt; elements when used within &amp;lt; tbody &amp;gt; or &amp;lt; tfoot &amp;gt;. When used within &amp;lt; thead &amp;gt;, contains one or more &amp;lt; th &amp;gt; elements.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; td &amp;gt;&lt;/strong&gt;&lt;br&gt;
Represents a cell in a table. Contains the text content of the cell.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; th &amp;gt;&lt;/strong&gt;&lt;br&gt;
Defines a header cell of a table. Contains the text content of the header.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; caption &amp;gt;&lt;/strong&gt;&lt;br&gt;
Defines the caption of a table element.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; colgroup &amp;gt;&lt;/strong&gt;&lt;br&gt;
Defines a semantic group of one or more columns in a table for formatting.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; col &amp;gt;&lt;/strong&gt;&lt;br&gt;
Defines a semantic column in a table.&lt;/p&gt;


&lt;/dt&gt;

</description>
      <category>learning</category>
      <category>beginners</category>
      <category>html</category>
      <category>newbie</category>
    </item>
    <item>
      <title>Set Slick Fade Animation Using CSS</title>
      <dc:creator>Sabeer Junaid</dc:creator>
      <pubDate>Mon, 18 Mar 2024 20:03:27 +0000</pubDate>
      <link>https://forem.com/sabeerjuniad/set-slick-fade-up-animation-using-css-242e</link>
      <guid>https://forem.com/sabeerjuniad/set-slick-fade-up-animation-using-css-242e</guid>
      <description>&lt;p&gt;To play any animation for example the fade-up animation on your main page content when it loads, you can use the following approach:&lt;/p&gt;

&lt;p&gt;First, define the CSS animation for the fade-up effect:&lt;/p&gt;

&lt;p&gt;HTML:&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;div id="main-content"&amp;gt;This is the main page content that will fade up.&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;CSS:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#main-content {
  opacity: 0;
  animation: fadeUp 2s ease-in forwards;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the CSS, we first set the initial opacity of the .fade-up element to 0, making it invisible. Then, we define the fadeUp animation, which starts with an opacity of 0 and a vertical translation of 20 pixels (transform: translateY(20px)), and ends with an opacity of 1 and no translation (transform: translateY(0)). The animation duration is set to 2 seconds with an ease-in timing function (animation: fadeUp 2s ease-in forwards).&lt;/p&gt;

&lt;p&gt;The forwards value at the end of the animation property ensures that the animation will stay at its final state (i.e., with an opacity of 1) after it has completed.&lt;/p&gt;

&lt;p&gt;You can adjust the duration, timing function, and other properties of the animation to suit your needs.&lt;/p&gt;

</description>
      <category>css</category>
      <category>html</category>
      <category>beginners</category>
      <category>basic</category>
    </item>
  </channel>
</rss>
