<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Zeynep Özdem on Medium]]></title>
        <description><![CDATA[Stories by Zeynep Özdem on Medium]]></description>
        <link>https://medium.com/@zeynebozdem?source=rss-d509c4bddb4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*37tUwS_C6n4MJLKRF6ucmw.jpeg</url>
            <title>Stories by Zeynep Özdem on Medium</title>
            <link>https://medium.com/@zeynebozdem?source=rss-d509c4bddb4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 22:52:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zeynebozdem/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[4 Ideas to Improve Your Storybook]]></title>
            <link>https://medium.com/@zeynebozdem/4-ideas-to-improve-your-storybook-56ad47a5aa82?source=rss-d509c4bddb4------2</link>
            <guid isPermaLink="false">https://medium.com/p/56ad47a5aa82</guid>
            <category><![CDATA[storybook]]></category>
            <category><![CDATA[storybook-by-react]]></category>
            <dc:creator><![CDATA[Zeynep Özdem]]></dc:creator>
            <pubDate>Wed, 19 Feb 2025 14:31:09 GMT</pubDate>
            <atom:updated>2025-03-04T04:57:39.009Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s be honest, we often think that once we set up Storybook, the job is done. But the fun (and sometimes hard) part actually starts after that. Storybook is not just a tool to display components; it can be so much more.</p><p>We, as the TK UI team, improved our existing setup, and now we want to share what we learned with you!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ufA0aBQCOTzdXwISQA-Ylw.png" /></figure><h3><strong>1. Organize Your File Structure</strong></h3><p>If finding your components feels like a treasure hunt, it’s time to clean up your file structure. A well-organized structure makes everything easier for the team.</p><p><strong>What We Did</strong></p><p>• <strong>Added a Foundation Section</strong>: We grouped basics like colors, typography, and z-index together.</p><p>• <strong>Removed Unnecessary Files</strong>: We cleaned up unused or outdated files.</p><p>•<strong> Used Standard Naming</strong>: Clear and consistent names that everyone can understand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/277/1*VrduYPiICGUhsdvRguVL2w.png" /></figure><p><strong>What You Can Do</strong></p><p>Add a “Foundation” section with categories like <strong>Colors, Typography, Shadows, Breakpoints</strong>. Clean up old files and make it simple for your team to find things.</p><h3><strong>2. Make Your Foundation Stronger</strong></h3><p>Foundation is the base of your design system. But don’t just leave it as a list. Turn it into a guide your team can actually use.</p><p><strong>What We Did</strong></p><p>• Added visual examples for colors and typography.</p><p>• Made it match the overall design of Storybook.</p><p>• Added small notes to explain how to use values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*RKUbcKjwlgCpWWyjOFbAcA.png" /></figure><p><strong>What You Can Do</strong></p><p>Add visuals and tips to your Foundation section. For example, explain when and where to use a certain color. These small notes can help your team a lot.</p><h3><strong>3. Improve the Look of Storybook</strong></h3><p>We use Storybook all the time, so why not make it look better? A good-looking Storybook is not just for your team; it also makes a great impression on others.</p><p><strong>What We Did</strong></p><p>• Updated Storybook to match our brand’s colors, design and logo.</p><p>• Added theme support to make it modern and fresh.</p><p>• Made small changes to improve usability. (copy clipboard etc.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2GH8BnsGPhwxFltLmeLvqg.png" /></figure><p><strong>What You Can Do</strong></p><p>Add your brand’s colors and fonts to Storybook. Simplify the interface by removing unnecessary parts. Remember, <em>simple is always better.</em></p><h3><strong>4. Don’t Forget Documentation</strong></h3><p>Good documentation is key. It helps everyone, especially new team members, understand how to use components and systems.</p><p><strong>What We Did</strong></p><p>• Added clear explanations and examples for each component.</p><p>• Made the Foundation section easy to understand and access.</p><p>• Added scenarios to show how components can be used in different ways.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/270/1*PC5kKSXGgYFZeX10hBcfug.png" /></figure><p><strong>What You Can Do</strong></p><p>Add short notes to your components, like <em>“This button is for mobile only.”</em> Create simple and clear documentation that your team can easily refer to.</p><blockquote><strong>Conclusion: Small Changes, Big Impact</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WXjZwjcp4QJ-zsj88KsBvQ.png" /></figure><p>Making Storybook better doesn’t have to be hard. We, as the TK UI team, organized our file structure, improved the Foundation section, and gave Storybook a little design makeover. These changes made it easier for our team to work and gave us more confidence in our system.</p><p>What about you? How can you improve your Storybook? Share your ideas with us!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56ad47a5aa82" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mini Life Update — 1]]></title>
            <link>https://medium.com/@zeynebozdem/mini-life-update-1-ae7261c792cd?source=rss-d509c4bddb4------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae7261c792cd</guid>
            <category><![CDATA[life]]></category>
            <dc:creator><![CDATA[Zeynep Özdem]]></dc:creator>
            <pubDate>Sat, 05 Feb 2022 19:43:26 GMT</pubDate>
            <atom:updated>2022-03-06T21:41:08.998Z</atom:updated>
            <content:encoded><![CDATA[<h3>Mini Life Update — 1</h3><p>I decided to write simple life updates. This is the first of them. I will share a short summary of past 3 years in first update 💙</p><p><em>/*Summary starts*/</em></p><p>Between 2017 and 2019, I was a S<strong>oftware Analyst</strong> at <em>Albayrak Holding</em>. I wanted to change my carrier as become a front end developer. I left and focused on working as a developer.</p><p>I started a job as <strong>Front End Developer &amp; A/B Testing Developer </strong>at <em>Hype</em>. I worked 6 months and failed in this company. It taught me too much things.</p><p>Then I worked 2 years with <em>Medyasoft</em> as a <strong>Front End Developer(outsource)</strong> at <em>Turkish Airlines</em>. Last week I accepted the inhouse <strong>Front End Developer</strong> position offer from<em> Turkish Airlines</em> and started a new journey 🎉</p><p>I hope, it will be a good journey that will teach me new things like my other journeys 💜 I coded an announcement pen on sunday. Link is below</p><p><a href="https://codepen.io/zeynepozdem/pen/PoOLQgv">https://codepen.io/zeynepozdem/pen/PoOLQgv</a></p><p>Outside of work; I am learning to <strong>swim</strong>. I often go to <strong>pilates </strong>course and I am working at home (I get bored wearing sweetshirts). I am <strong>engaged</strong> with my full time love and still living in <strong>İstanbul</strong> but it can <em>change</em> :) Sometimes I <strong>paint</strong> flowers watercolor and I started <strong>therapy</strong>, it is the best <strong>gift</strong> that I gave myself.</p><p><em>/*Summary ends*/</em></p><p>That’s all</p><p>Thanks for reading :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae7261c792cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 Adımda Daha Hızlı A/B Testi Kodlayın!]]></title>
            <link>https://medium.com/@zeynebozdem/3-ad%C4%B1mda-daha-h%C4%B1zl%C4%B1-a-b-testi-kodlay%C4%B1n-aa3e4c4fc105?source=rss-d509c4bddb4------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa3e4c4fc105</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[ab-test]]></category>
            <category><![CDATA[snippet]]></category>
            <category><![CDATA[vscode]]></category>
            <dc:creator><![CDATA[Zeynep Özdem]]></dc:creator>
            <pubDate>Fri, 26 Jul 2019 12:01:40 GMT</pubDate>
            <atom:updated>2019-07-26T12:01:40.320Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OsGdLCzj2nGZXG4Ssga-xw.jpeg" /></figure><p>Daha hızlı A/B test kodu yazabilmek için kullandığımız araçların işlevlerini kurcalamakla başlayabiliriz.</p><h4>1- Kod Editörünüze Custom CSS ve HTML Snippetlerini Ekleyin.</h4><p><strong><em>Custom code snippetleri</em></strong>, önceden tanımlanmış kod parçalarıdır. Editörünüzün kendi snippetlarını de kullanabilirsiniz kendiniz ayrıca da oluşturabilirsiniz. Ben <strong>vscode</strong> kullanıyorum. Custom snippet oluşturmak için bu <a href="https://www.youtube.com/watch?v=igBnt_glGTo"><em>video</em></a> yu izledim. Aşırı basit. Hadi başlayalım.</p><p>A/B test kodlarken testi yazdığımız sayfaya genellikle yeni bir görünüm kazandırdığımız için sayfaya HTML ve CSS ekliyoruz. Fakat bunları eklerken <strong>javascript kodu</strong> şeklinde append ettiğimiz için her test yazışımızda bu kısımda yavaşlamak yerine snippet oluşturup hızlıca kod taslağını eklemenin işimi kolaylaştırdığını gördüm.</p><blockquote><strong>Code &gt; Preferences &gt; User Snippets &gt; New Global Snippet</strong> <em>yolunu kullanarak yeni bir snippet dosyası oluşturun ve isimlendirin.</em></blockquote><p>Aşağıdaki gibi bir dosya ile karşılaşacaksınız. Bu kısımda açıklama satırında gösterilen standartta eklemeler yapmanız gerekiyor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q4Auc8p6dVMNKg11AQdBMA.png" /></figure><p><strong>Prefix : </strong>Ön ek demek, kod yazarken abStyle prefix’ine sahip kod bloğuna erişmek için abs yazdığımız zaman öneri olarak abStyle snippet’i koda eklenecektir. Prefixleri ne kadar akıllıca ve erişimi kolaylaştıracak biçimde verirsek o kadar hızlanabiliriz.</p><p><strong>Body : </strong>Snippetini oluşturduğumuz kodu buraya ekliyoruz. Her bir kod satırını “” tırnak içerisinde ve alt satıra geçtiğimizi ise virgülle belirtiyoruz. Eğer parametre içeren kod satırları bulunuyorsa parametreler yerine $1 , $2 değerlerini ekleyebiliriz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RTWe2dWgcgxAYlP95PfRQg.png" /></figure><ul><li>Css ve Html eklemelerini her testte ve genellikle hep aynı şekilde yaptığım için kod bloklarını snippet haline getirip kullandıkça daha da hızlandım.</li><li>Aynı şekilde a/b testinde kullanıcıyı daha iyi analiz edebilmek için eklediğimiz butonlara ya da etkileşim yapabilecek elementlere <strong>GA(Google Analytics)</strong> event gönderip Analyticsten bu eklemelerimizin işe yarayıp yaramadığını ölçebiliyoruz. Event push kodu da genel olarak kullandığımız ve sadece value’larını değiştirdiğimiz kodlar olduğu için bunu da snippet yaptım. Bir butonun click eventinde abGa yazdığımda geliyor hızlı bir şekilde eklemelerimi yapabiliyorum.</li></ul><h4>2- Bir kod kütüphanesi oluşturun.</h4><p>A/B testlerini kodlarken pure javascript ile kodlanması önemli çünkü bazı sitelerde jquery kütüphanesi bulunmuyor. Jquerydeki bazı hazır fonksiyonları javascriptte yazmaya çalışıyoruz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v6XeL5ZKVBpwwZlqHp-Isw.jpeg" /></figure><p><strong><em>Örnek olarak</em></strong> her lazım olduğunda <strong>insertAdjacentHTML</strong> fonksiyonunu aldığı parametreleri googlelamak yerine (ki bu sırada baya zaman kaybediliyor) kütüphanemize ekledik.</p><p>Aslına bakılırsa arka planda insertAdjacentHTML fonksiyonunu kullanan ama görünürde daha hızlı parametreler girebileceğimiz formata dönüştürdük. Ve kütüphanemize sık kullandığımız fonksiyonları ekleyerek zenginleştirdik.</p><p>(Not : Kütüphane kodlarını Github’da saklıyoruz. Sitelere eklemek için Google Tag Manager kullanıyoruz. Bu kısmı başka bir yazımda anlatabilirim.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/921/1*AYHPBp_kVvZf11msUFc5nA.png" /></figure><h4>3-Teste başlamadan kurguyu evrensel düşünün, bugları önceden öngörün.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5fsSNNAOjAexHzx29VAbog.jpeg" /></figure><p>Test kurgusunu yaparken orjinalde nasıldı diye sorun. Bazı test kurgularını yaparken site orjinalinde var olan bir düzenlemeyi değiştirdiğimiz zamanlar oluyor. Biz x kısmını değiştiriyoruz fakat y kısmı etkilenebiliyor. Bu gibi durumlarda y kısımlarını çok iyi bilmemiz hatta teste başlamadan not almamız x değişikliklerini yaparken sitedeki olası patlamaları daha başlamadan fixlememize yarıyor.</p><p><em>Bu adımları kullanarak işlerinizi daha hızlı yapmanız mümkün öyleyse iyi çalışmalar :)</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa3e4c4fc105" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A/B Testini Temiz Kodlamak?]]></title>
            <link>https://medium.com/@zeynebozdem/a-b-testini-temiz-kodlamak-80ee355a61e8?source=rss-d509c4bddb4------2</link>
            <guid isPermaLink="false">https://medium.com/p/80ee355a61e8</guid>
            <dc:creator><![CDATA[Zeynep Özdem]]></dc:creator>
            <pubDate>Sun, 21 Apr 2019 10:18:50 GMT</pubDate>
            <atom:updated>2019-04-24T15:02:10.766Z</atom:updated>
            <content:encoded><![CDATA[<h3>Daha Temiz Kod Yazmak için Neler Yapıyoruz?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jIJwzDv3t26povgiIjAo3Q.jpeg" /></figure><p>Bir A/B Testinin yapısını basitçe açıklamak gerekirse, HTML ve CSS kodları Pure Javascript ile yazılmış koda append ediliyor. Testin yapılacağı sayfa tarayıcıdan açıldıktan sonra developer toolstan console açarak yazdığımız kodu buraya yapıştırıp, önizleyebiliyoruz. Fakat fonksiyonlar, html css appendları, responsive özel kodları veya eklediğimiz her yeni scope tek bir script dosyasında toplandığı için karmaşıklık kaçınılmaz oluyor. Bu durumda bir hiyerarşiye, yani yazılım tasarımına ihtiyaç başlıyor.</p><p><em>( Ayrıca yazılım tasarımı için önemli olan </em><strong><em>Jack W. Reeves</em></strong>’in <em>bu makalesi mutlaka okunmalı : </em><a href="http://user.it.uu.se/~carle/softcraft/notes/Reeve_SourceCodeIsTheDesign.pdf"><em>http://user.it.uu.se/~carle/softcraft/notes/Reeve_SourceCodeIsTheDesign.pdf</em></a><em> )</em></p><p><a href="https://www.meetup.com/Software-Craftsmanship-Turkey/">Software Craftsmanship Turkey</a> ‘in düzenlediği Woman Software Crafters Empowerment Program’ına gidiyorum. Bu programın bana kattığı en önemli şey yazılımda <strong>çöp kavramı</strong>, <strong>temiz kod </strong>yazma prensipleri gibi konular oldu. Öncesinde çok da önemli değildi farklı 3 yerde aynı kodu yazmak. Aynı değişikliği 10 yerde yapmak… Kesinlikle bir kodu geliştirmek, zorlaşmaya başladıysa kodda karmaşıklık başlamış demektir.</p><blockquote>Designing software is an excercise in managing compexity — Jack W. Reeves</blockquote><p>Ben de kodlarım karmaşıklaştığı için Hype’ta yazdığım A/B Testlerim için minik bir code design’ı yaptım. Kodlarımı bu şekilde bir yapı altında yazmanın bana getirdiği düzen sayesinde aradığımı kolaylıkla bulup değişiklikleri kolaylıkla ekleyip çıkarabiliyorum.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*ruM-M1rsgyXIPialCZ6MWg.png" /></figure><p>A/B testini kodlamaya başlamadan önce front end ekibimizle kurgusu hakkında konuşup kararlar alıyoruz. Basit düşünüp hızlıca bitirebilmemiz için en doğru yapıya karar verip başlıyoruz.</p><p>Kurgudan sonra kod yazmaya başlamadan önce bir kağıda önce yapıyı oluşturuyorum sonra yukarıda bahsettiğim yapıda kullanmadıklarımı çıkarıp olmayanları ekliyorum. Böylece testi kodlarken ön hazırlık tamamlanmış oluyor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0ibnfzRqKjE7XC3iXJ_oaA.jpeg" /></figure><p>Bir A/B testinin kodunu yazarken isimlendirmelerde kendi eklediğimiz her class, fonksiyon, id isimlerinde değişkenlerin ya da fonksiyonların başına “hype” ekliyoruz. Buna, testi yaptığımız siteyi kodlayan yazılımcılar bizim stillerimizi, fonksiyonlarımızı rahatlıkla görüp ona göre işlem yapsınlar diye önem veriyoruz.</p><p><strong><em>CSS Kuralları</em></strong></p><ul><li>Genel bir stil kullanılıyorsa class ismi sade ve genel ifadeler içeren özelliklerden oluşmalıdır. <br>Mesela bazı elemenleri gizlemek için <strong><em>hypeDisplayNone</em></strong> adında bir class oluşturup bu class’ı gizlemek istediğim elementlere ekleyebilirim. Her bir elemen için <em>display:none</em> özelliği yerine bir stile genel bir isim verilebilir. Böylelikle bu class her yerde yardımımıza koşabilir.</li><li>Bir isimlendirme standartı olmalı. Notasyonlar:<br>- Camel Case : hypeOverAdvertising , zeynepOzdem<br>- Snake Case : hype_over_advertising, zeynep_ozdem<br>- Kebap Case : hype-over-advertising, zeynep-ozdem</li><li>Kısaltma kullanılmalı<br>- margin : üst sağ alt sol — margin : 10px 20px 0 50px;<br>- border : 1px solid black;<br>- background : color url repeat attachment position — background : #333 url(https://medium.com/%E2%80%9Cdfsdfs%E2%80%9D) no-repeat fixed 50px 50px;</li></ul><p>Ayrıca bu konuda <a href="https://fatihhayrioglu.com/css-kod-yazma-duzeni/">https://fatihhayrioglu.com/css-kod-yazma-duzeni/</a> yazısı çok faydalı oldu :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*ZSCCDkj9CPKMxqjhmkUibw.gif" /></figure><p><strong><em>Son olarak aşağıdaki 5 adımda koddaki karmaşıklıktan kurtulun!</em></strong></p><ul><li>Değişkenlerinize harika isimler verin bu isimler neyi, neden, nasıl yaptığınızı açıklasın.</li><li>Loglarınızı doğru yazarak kodunuzu test ederken hızlanın.</li><li>Metodları ve Classları kısa tutun, mümkünse bir fonksiyon iki işi aynı anda yapmasın. Genel ve static classları ayırın.</li><li>Tekrarları bulun ve kaldırın, kodda farklı isme sahip aynı işlemi yapan class varsa bunları tek ve genel bir class’a indirgeyin.</li><li>Gereksiz kodları kaldırın ve açıklama satırları eklemekten kaçınmayın!</li></ul><p>Bir başka yazıda görüşmek dileğiyle:)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80ee355a61e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Copy Js Path Nasıl Kullanılır?]]></title>
            <link>https://medium.com/@zeynebozdem/copy-js-path-nas%C4%B1l-kullan%C4%B1l%C4%B1r-b0973ce70c2e?source=rss-d509c4bddb4------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0973ce70c2e</guid>
            <category><![CDATA[copyjspath]]></category>
            <category><![CDATA[chrome72]]></category>
            <dc:creator><![CDATA[Zeynep Özdem]]></dc:creator>
            <pubDate>Wed, 20 Feb 2019 09:01:04 GMT</pubDate>
            <atom:updated>2019-02-23T20:49:02.566Z</atom:updated>
            <content:encoded><![CDATA[<h3>Chrome’un yeni versiyonundaki Copy JS Path özelliği ile elementleri kolayca seçin</h3><p><strong>Copy js path</strong> özelliği Chrome Devtools’a Chrome 72 versiyonu ile gelen bir özellik.</p><p><a href="https://developers.google.com/web/updates/2018/11/devtools">https://developers.google.com/web/updates/2018/11/devtools</a></p><p>Bu özellik denetlediğiniz bir elementin css selectorunu otomatik olarak JS queryselector kodu içine alıyor. Yani eğer console üzerinde bir elementi etkileyecek bir script yazıyorsak, bu javascript yolunu console’a yapıştırdığımızda seçtiğimiz element üzerinde yapılabilecek bütün js fonksiyonları işlevsel olarak kullanıma hazır olacaktır.</p><p>Bu özellik<strong> shadow dom</strong>’larda geçerli değildir.</p><p><em>Shadow dom ile ilgili detaylı bilgi için : </em><a href="https://medium.com/beginners-guide-to-mobile-web-development/shadow-dom-10d75fea1daf"><em>https://medium.com/beginners-guide-to-mobile-web-development/shadow-dom-10d75fea1daf</em></a></p><p><strong>Copy js path</strong> özelliğinin şöyle bir dezavantajı var. Burada tarayıcının bize js path olarak sunduğu yol fazla uzun ve aralarında<strong> “&gt;”</strong> içeren yollar olacaktır. Mesela; <strong>div&gt;img&gt;h1&gt;a</strong> gibi bir yolda <strong>h1</strong> kaldırılırsa yol bozulacaktır. Manuel olarak main class’a göre bir path yazılırsa daha kullanışlı ve genel bir kullanım olacaktır. Böylece bir class’ın iki altındaki bir elemente gitmek istiyorsak o elementin bir üstündeki element kaldırılsa bile gösterdiğimiz yola göre doğru ilerleyecektir. Bu durumu, oluşturduğum bir pen ile anlatacağım. Fakat siz her türlü websitesinde bunu deneyebilirsiniz.</p><p>Pen linki : <a href="https://codepen.io/zeynepozdem/full/gqqPRR">https://codepen.io/zeynepozdem/full/gqqPRR</a></p><p>İlk olarak purple elementini sağ tıklayarak inspect’e tıklayalım. Açılan devtools’ta Elements kısmından purple elementini sağ tıklayıp Copy &gt; Copy js element’e tıklayalım. Böylece bu dom node’u ile javascript kullanabileceğim path’i kopyalamış oldum.</p><p>Aldığımız path aşağıdaki gibidir.</p><blockquote>document.querySelector(‘body &gt; div.purple’)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*Np9ilS2-iNbGDoA6mdMYDQ.gif" /></figure><p>Adım adım aşağıdaki görselleri takip edebilirsiniz;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pQpI0_RDMXPTN2XPtbBRKw.png" /></figure><p>Bu dom node’unun js path’ini console’a yapıştırdığımızda her türlü javascript fonksiyonları kullanabiliriz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lxoyY08fOdApWY2e37nzIQ.png" /></figure><p>Umarım işinize yarar :)</p><p>Bir sonraki yazıda görüşmek dileğiyle…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0973ce70c2e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>