{"id":72,"date":"2025-03-08T01:59:13","date_gmt":"2025-03-08T01:59:13","guid":{"rendered":"https:\/\/sohilghunowa.uk\/Notes\/?page_id=72"},"modified":"2025-03-09T21:28:16","modified_gmt":"2025-03-09T21:28:16","slug":"seminar-presentation-functional-pseudo-classes","status":"publish","type":"page","link":"https:\/\/sohilghunowa.uk\/Notes\/","title":{"rendered":"Seminar Presentation &#8211; Functional Pseudo-classes"},"content":{"rendered":"\n<p><strong>Introduction<\/strong>&nbsp;<\/p>\n\n\n\n<p>For my seminar presentation, I wanted to explain functional pseudo classes in a live practice. My goal with the presentation was to spend as little time as possible explaining the slides and spend more time showcasing the features of some of the pseudo classes that I chose.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"574\" src=\"https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-5-1024x574.png\" alt=\"\" class=\"wp-image-80\" srcset=\"https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-5-1024x574.png 1024w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-5-300x168.png 300w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-5-768x431.png 768w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-5-1536x861.png 1536w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-5.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>In the first slide I wanted to briefly explain the use of a functional pseudo class so that people will understand when and how to use them. I wanted the slide to be simple and avoided overloading it with too much information. I also briefly explained the two main pseudo classes that i will be&nbsp;demonstrating.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"573\" src=\"https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-1-1024x573.png\" alt=\"\" class=\"wp-image-76\" srcset=\"https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-1-1024x573.png 1024w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-1-300x168.png 300w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-1-768x430.png 768w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-1-1536x860.png 1536w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-1.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The next slide contained the link to the Codependent where I would explain how to use the pseudo classes. I decided to start with an example that everyone can relate&nbsp;therefor people can clearly understand the usefulness of the pseudo classes.I started with a situation that everyone could relate to then expanded my explaination off of that. I made sure that the explaination was short and simple by only targeting the colour of the heading so that they could easily see the difference when coding. &nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"578\" src=\"https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-6-1024x578.png\" alt=\"\" class=\"wp-image-81\" srcset=\"https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-6-1024x578.png 1024w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-6-300x169.png 300w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-6-768x433.png 768w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-6-1536x867.png 1536w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-6.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>In this slide, I decided to remind the benefits of using the functional pseudo so that people will realise the utility of the classes. I made it simple and straightforward and expanded a bit on each point when explaining it to the class.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"575\" src=\"https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-1024x575.png\" alt=\"\" class=\"wp-image-75\" srcset=\"https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-1024x575.png 1024w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-300x169.png 300w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-768x432.png 768w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-1536x863.png 1536w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>In this slide, i decided to introduce the most important part of the presentation. Introducing the \u201c:has()\u201d pseudo class after the previous one makes it easier to understand. I also demonstrated the ability of the latter using CodePen and explained it step by step and showing how it affects the styling.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-2-1024x576.png\" alt=\"\" class=\"wp-image-77\" srcset=\"https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-2-1024x576.png 1024w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-2-300x169.png 300w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-2-768x432.png 768w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-2-1536x864.png 1536w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-2.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>I quickly went through the benefits of the pseudo classes as a quick reminder and I will also use this opportunity to explain the difference between the :has and :is() pseudo classes.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"575\" src=\"https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-3-1024x575.png\" alt=\"\" class=\"wp-image-78\" srcset=\"https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-3-1024x575.png 1024w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-3-300x168.png 300w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-3-768x431.png 768w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-3-1536x862.png 1536w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-3.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>This slide, I will talk about the browser support of the pseudo classes used and whether it is safe to use them. I will also talk about the importance of having a fall-back styling in case the browser does not support the pseudo classes. I will include the name of the website where people can check the compatibility and invite them in using the website.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-4-1024x576.png\" alt=\"\" class=\"wp-image-79\" srcset=\"https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-4-1024x576.png 1024w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-4-300x169.png 300w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-4-768x432.png 768w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-4-1536x864.png 1536w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-4.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"573\" src=\"https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-7-1024x573.png\" alt=\"\" class=\"wp-image-82\" srcset=\"https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-7-1024x573.png 1024w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-7-300x168.png 300w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-7-768x430.png 768w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-7-1536x860.png 1536w, https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/image-7.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The two last slides will contain the reference for research that I conducted before presenting the seminar and links to relevant article and videos where people can learn more about the subject.&nbsp;<\/p>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>Download Seminar slides here<\/summary>\n<p><\/p>\n\n\n\n<div data-wp-interactive=\"core\/file\" class=\"wp-block-file\"><object data-wp-bind--hidden=\"!state.hasPdfPreview\" hidden class=\"wp-block-file__embed\" data=\"https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/Binary-Code-Presentation-in-Bright-Colors-Funky-Retro-Style-1.pdf\" type=\"application\/pdf\" style=\"width:100%;height:600px\" aria-label=\"Embed of Binary Code Presentation in Bright Colors Funky Retro Style.\"><\/object><a id=\"wp-block-file--media-5347d16f-7895-4baf-8b6f-3aa02e002999\" href=\"https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/Binary-Code-Presentation-in-Bright-Colors-Funky-Retro-Style-1.pdf\">Binary Code Presentation in Bright Colors Funky Retro Style<\/a><a href=\"https:\/\/sohilghunowa.uk\/Notes\/wp-content\/uploads\/2025\/03\/Binary-Code-Presentation-in-Bright-Colors-Funky-Retro-Style-1.pdf\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-5347d16f-7895-4baf-8b6f-3aa02e002999\">Download<\/a><\/div>\n<\/details>\n","protected":false},"excerpt":{"rendered":"<p>Introduction&nbsp; For my seminar presentation, I wanted to explain functional pseudo classes in a live practice. My goal with the presentation was to spend as little time as possible explaining the slides and spend more time showcasing the features of some of the pseudo classes that I chose.&nbsp; In the first slide I wanted to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-72","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sohilghunowa.uk\/Notes\/index.php\/wp-json\/wp\/v2\/pages\/72","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sohilghunowa.uk\/Notes\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sohilghunowa.uk\/Notes\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sohilghunowa.uk\/Notes\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sohilghunowa.uk\/Notes\/index.php\/wp-json\/wp\/v2\/comments?post=72"}],"version-history":[{"count":4,"href":"https:\/\/sohilghunowa.uk\/Notes\/index.php\/wp-json\/wp\/v2\/pages\/72\/revisions"}],"predecessor-version":[{"id":85,"href":"https:\/\/sohilghunowa.uk\/Notes\/index.php\/wp-json\/wp\/v2\/pages\/72\/revisions\/85"}],"wp:attachment":[{"href":"https:\/\/sohilghunowa.uk\/Notes\/index.php\/wp-json\/wp\/v2\/media?parent=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}