<?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>DEV Community: 𝐁𝐚𝐛𝐢 ✨</title>
    <description>The latest articles on DEV Community by 𝐁𝐚𝐛𝐢 ✨ (@babib).</description>
    <link>https://dev.to/babib</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F583719%2Fa19b1f3e-d4f7-4761-acb0-cdcdd4f4ec36.jpg</url>
      <title>DEV Community: 𝐁𝐚𝐛𝐢 ✨</title>
      <link>https://dev.to/babib</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/babib"/>
    <language>en</language>
    <item>
      <title>Learning to Read Scientific Findings in Different Ways</title>
      <dc:creator>𝐁𝐚𝐛𝐢 ✨</dc:creator>
      <pubDate>Tue, 17 Nov 2026 22:01:29 +0000</pubDate>
      <link>https://dev.to/babib/learning-to-read-scientific-findings-in-different-ways-4h01</link>
      <guid>https://dev.to/babib/learning-to-read-scientific-findings-in-different-ways-4h01</guid>
      <description>&lt;p&gt;One thing I discovered while working on different studies is that microbial differences and their directions are not always presented in the same way.&lt;/p&gt;

&lt;p&gt;Sometimes, &lt;em&gt;superscripts&lt;/em&gt; or &lt;em&gt;subscripts&lt;/em&gt; indicate statistically significant differences between groups. In other cases, you may need to interpret &lt;em&gt;odds ratios&lt;/em&gt; (OR), &lt;em&gt;confidence intervals&lt;/em&gt;, &lt;em&gt;p-values&lt;/em&gt;, tables, figures, or statistical analysis outputs to understand what increased, decreased, or differed between groups.&lt;/p&gt;

&lt;p&gt;For example, in the &lt;a href="https://bugsigdb.org/34857640" rel="noopener noreferrer"&gt;neonatal gut microbiome study&lt;/a&gt; (GitHub issue &lt;a href="https://github.com/waldronlab/BugSigDBcuration/issues/1928" rel="noopener noreferrer"&gt;#1928&lt;/a&gt;), I learned to pay closer attention to supplementary statistical results when determining the direction of microbial abundance. In the &lt;a href="https://bugsigdb.org/33903897" rel="noopener noreferrer"&gt;genitourinary syndrome of menopause study&lt;/a&gt; (GitHub issue &lt;a href="https://github.com/waldronlab/BugSigDBcuration/issues/1931" rel="noopener noreferrer"&gt;#1931&lt;/a&gt;), I had to become more comfortable interpreting odds ratios, confidence intervals, and p-values.&lt;/p&gt;

&lt;p&gt;More recently, while curating &lt;a href="https://bugsigdb.org/31056321" rel="noopener noreferrer"&gt;the dairy-cow rumen and colon microbiota study&lt;/a&gt;(GitHub Issue &lt;a href="https://github.com/waldronlab/BugSigDBcuration/issues/1835" rel="noopener noreferrer"&gt;#1835&lt;/a&gt;), I encountered tables with FDR-adjusted results and superscript letters. I had to check which letters differed to identify significant comparisons and then use the group means to establish the direction of the changes.&lt;/p&gt;

&lt;p&gt;Each study introduces a different way of presenting and interpreting findings. Working with multiple studies has gradually opened my mind to these different approaches. I have also learned that curation involves deciding what to include and what to leave out.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The lesson? Be willing to learn, investigate, and understand how each study presents its findings.&lt;/strong&gt; Sometimes, the information you need isn't immediately obvious, and you have to look beyond the main text to supplementary materials, figures, and statistical results.&lt;/p&gt;

</description>
      <category>datascience</category>
      <category>opensource</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>My First BugSigDB Collaboration: Learning to Curate Together</title>
      <dc:creator>𝐁𝐚𝐛𝐢 ✨</dc:creator>
      <pubDate>Tue, 17 Nov 2026 21:23:55 +0000</pubDate>
      <link>https://dev.to/babib/my-first-bugsigdb-collaboration-learning-to-curate-together-16lc</link>
      <guid>https://dev.to/babib/my-first-bugsigdb-collaboration-learning-to-curate-together-16lc</guid>
      <description>&lt;p&gt;One of the highlights of my BugSigDB contribution period was getting the opportunity to work on my first collaborative curation.&lt;/p&gt;

&lt;p&gt;The study was &lt;strong&gt;&lt;a href="https://bugsigdb.org/37534938" rel="noopener noreferrer"&gt;The cervical microbiota of Hispanics living in Puerto Rico is nonoptimal regardless of HPV status&lt;/a&gt;&lt;/strong&gt; (PMID: 37534938).&lt;/p&gt;

&lt;p&gt;I worked on the first three experiments, while another contributor, &lt;a href="https://bugsigdb.org/User:Sally_Kinyua" rel="noopener noreferrer"&gt;Sally Kinyua&lt;/a&gt;, handled the remaining experiments.&lt;/p&gt;

&lt;p&gt;It was my first time sharing responsibility for curating a scientific paper with another contributor, and it introduced me to a different side of open-source collaboration.&lt;/p&gt;

&lt;p&gt;Although we were working on separate parts of the study, our work needed to fit together into one consistent curation. This meant communicating our decisions, clarifying experiment definitions, and checking details that could affect how the study was represented.&lt;/p&gt;

&lt;p&gt;During the process, we discussed several things, including the group definitions for the pregnancy-related experiments, a trimester-related typo, and the interpretation of some findings.&lt;/p&gt;

&lt;p&gt;One discussion that stood out to me involved Shannon diversity results for pH and age. We had to pay attention to the fact that these findings came from analyses involving nonpregnant participants rather than generalizing them to the entire study population.&lt;/p&gt;

&lt;p&gt;We also discussed some of the microbial taxa and their appropriate entries, including Prevotella, Gardnerella, and Dialister.&lt;/p&gt;

&lt;p&gt;These may seem like small details, but they matter when the goal is to represent scientific findings accurately.&lt;/p&gt;

&lt;p&gt;What I appreciated most was the opportunity to learn through the process of working with someone else. I could focus on my assigned experiments while also seeing how another contributor approached the same paper.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My biggest takeaway was that collaboration requires more than dividing tasks.&lt;/strong&gt; It requires communication, consistency, and a willingness to revisit decisions when something needs clarification.&lt;/p&gt;

&lt;p&gt;I enjoyed this experience, and it gave me a better appreciation of the collaborative nature of open-source scientific research.&lt;/p&gt;

&lt;p&gt;It was a reminder that contributing to a project does not always mean working alone. Sometimes, the most valuable learning happens when you work through a research problem with someone else.&lt;/p&gt;

</description>
      <category>datascience</category>
      <category>opensource</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>My First BugSigDB Contributions Mistakes, feedback, and lessons learned</title>
      <dc:creator>𝐁𝐚𝐛𝐢 ✨</dc:creator>
      <pubDate>Tue, 17 Nov 2026 21:13:39 +0000</pubDate>
      <link>https://dev.to/babib/my-first-bugsigdb-contributions-mistakes-feedback-and-lessons-learned-4f0p</link>
      <guid>https://dev.to/babib/my-first-bugsigdb-contributions-mistakes-feedback-and-lessons-learned-4f0p</guid>
      <description>&lt;p&gt;When I started contributing to BugSigDB, I knew I would be working with scientific literature and organizing microbial findings into a structured database.&lt;/p&gt;

&lt;p&gt;What I didn't fully appreciate was how much interpretation the work would require.&lt;/p&gt;

&lt;p&gt;Although I had a background in Data Science and experience with academic research, microbiome curation introduced new challenges. I had to understand experimental comparisons, microbial abundance, statistical findings, taxonomy, and scientific terminology.&lt;/p&gt;

&lt;p&gt;Here are some lessons from my first contributions.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. My First Contribution: The Mini-Curation
&lt;/h2&gt;

&lt;p&gt;My first task was the introductory mini-curation through GitHub issue #94.&lt;/p&gt;

&lt;p&gt;The exercise involved comparing the gut microbiome of individuals living with HIV against individuals without HIV.&lt;/p&gt;

&lt;p&gt;One of my first challenges was an ontology issue. The HIV-related term EFO:0000764 was obsolete, so I had to investigate its replacement, MONDO:0005109.&lt;/p&gt;

&lt;p&gt;This introduced me to the importance of checking ontology terms rather than assuming that the terminology in a paper is always current.&lt;/p&gt;

&lt;p&gt;My mini-curation was accepted, and I moved on to full studies.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. My First Full Study: Getting Abundance Directions Right
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Effect of prophylactic dextrose gel on the neonatal gut microbiome&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GitHub issue: &lt;a href="https://github.com/waldronlab/BugSigDBcuration/issues/1928" rel="noopener noreferrer"&gt;#1928&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;View &lt;a href="https://bugsigdb.org/34857640" rel="noopener noreferrer"&gt;BugSigDB curation&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This study examined neonatal gut microbiota, including comparisons involving delivery mode and feeding practices.&lt;/p&gt;

&lt;p&gt;One mistake I made was mixing up the increased and decreased taxa in the delivery-mode comparison.&lt;/p&gt;

&lt;p&gt;I had to revisit &lt;a href="https://pmc.ncbi.nlm.nih.gov/articles/instance/9160211/bin/NIHMS1777516-supplement-Supplement_4.pdf" rel="noopener noreferrer"&gt;Supplementary Material 4&lt;/a&gt;, which contained the MaAsLin2 results, and correct the directions.&lt;/p&gt;

&lt;p&gt;I also learned to distinguish the microbiome study's observational cohort design from the larger randomized trial it was nested within. My mentor, Chloe, emphasized choosing &lt;strong&gt;the best-fitting study design&lt;/strong&gt; rather than selecting multiple descriptions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My takeaway&lt;/strong&gt;: Always verify which group has increased or decreased abundance, and understand the actual design of the analysis you are curating.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Learning to Extract Findings from Figures
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;The In Vivo Effect of Water-Based Lubricants on the Vaginal Microbiome of Women from Varying Age Groups&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GitHub issue: &lt;a href="https://github.com/waldronlab/BugSigDBcuration/issues/2077" rel="noopener noreferrer"&gt;#2077&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;View &lt;a href="https://bugsigdb.org/39338590" rel="noopener noreferrer"&gt;BugSigDB curation&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I worked on comparisons involving menopausal status and age, using Figures 3C and 3D to identify microbial findings.&lt;/p&gt;

&lt;p&gt;This study helped me become more comfortable extracting information directly from figures rather than relying only on the written Results section.&lt;/p&gt;

&lt;p&gt;For example, the findings included lower Lactobacillus abundance in the postmenopausal group.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My takeaway&lt;/strong&gt;: Figures and supplementary materials are important sources of curation information. Don't overlook them.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Understanding Statistical Findings and Conditions
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Association of Vaginal Microbiota With Signs and Symptoms of the Genitourinary Syndrome of Menopause Across Reproductive Stages&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GitHub issue: &lt;a href="https://github.com/waldronlab/BugSigDBcuration/issues/1931" rel="noopener noreferrer"&gt;#1931&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;View &lt;a href="https://bugsigdb.org/33903897" rel="noopener noreferrer"&gt;BugSigDB curation&lt;/a&gt;
This study introduced me to another set of considerations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I initially used the condition "&lt;em&gt;postmenopausal atrophic vaginitis&lt;/em&gt;" but changed it to "&lt;em&gt;atrophic vaginitis&lt;/em&gt;" after reviewing the terminology.&lt;/p&gt;

&lt;p&gt;I also spent time understanding odds ratios, confidence intervals, and p-values. In particular, I learned to consider whether a confidence interval includes or excludes 1 when interpreting an odds ratio.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My takeaway&lt;/strong&gt;: Statistical results and condition labels require careful interpretation. Don't simply copy what you see without understanding what it represents.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Distinguishing Differential Abundance from Correlation
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Characterization and correlation of gut microbiota in major depressive disorder patients with suicidal ideation&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;GitHub Issue: &lt;a href="https://github.com/waldronlab/BugSigDBcuration/issues/2133" rel="noopener noreferrer"&gt;#2133&lt;/a&gt;&lt;br&gt;
View &lt;a href="https://bugsigdb.org/42768327" rel="noopener noreferrer"&gt;BugSigDB curation&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This study examined gut microbiota in people with major depressive disorder, including comparisons involving participants with and without suicidal ideation and healthy controls.&lt;/p&gt;

&lt;p&gt;One important distinction was between differential-abundance findings and correlation analyses.&lt;/p&gt;

&lt;p&gt;A bacterium being correlated with a depression score does not automatically mean it is significantly more or less abundant in a particular comparison group.&lt;/p&gt;

&lt;p&gt;I had to keep these different types of findings separate when identifying the relevant microbial signatures.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My takeaway&lt;/strong&gt;: Not every statistical association reported in a paper is a differential-abundance finding. Understanding the analysis is essential.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. The Biggest Lessons from My First Contributions
&lt;/h2&gt;

&lt;p&gt;Looking back at these experiences, there are several lessons I keep returning to.&lt;/p&gt;

&lt;h3&gt;
  
  
  Read the supplementary materials
&lt;/h3&gt;

&lt;p&gt;Some of the most important information I needed was not in the main text.&lt;/p&gt;

&lt;p&gt;Supplementary tables helped me identify microbial taxa, verify abundance directions, and understand the statistical analyses.&lt;/p&gt;

&lt;p&gt;Do not stop at the abstract or even the Results section. Check the supplementary materials whenever the paper refers to them.&lt;/p&gt;

&lt;h3&gt;
  
  
  Understand the comparison before recording the signature
&lt;/h3&gt;

&lt;p&gt;Always know which group is Group 0 and which is Group 1.&lt;/p&gt;

&lt;p&gt;A signature is meaningful only when its direction is correctly associated with the comparison.&lt;/p&gt;

&lt;h3&gt;
  
  
  Do not confuse different types of statistical findings
&lt;/h3&gt;

&lt;p&gt;Differential abundance, alpha diversity, correlations, and associations are not interchangeable.&lt;/p&gt;

&lt;p&gt;A paper may report all of them, but each answers a different question.&lt;/p&gt;

&lt;h3&gt;
  
  
  Pay attention to taxonomic resolution
&lt;/h3&gt;

&lt;p&gt;Microbial names can be reported at different taxonomic levels.&lt;/p&gt;

&lt;p&gt;A finding reported at the genus level should not be casually converted into a species-level entry. Similarly, an ASV or an unclassified taxon requires careful interpretation.&lt;/p&gt;

&lt;p&gt;Use the appropriate taxonomy resources and follow the Curation Policy.&lt;/p&gt;

&lt;h3&gt;
  
  
  Feedback is part of the contribution process
&lt;/h3&gt;

&lt;p&gt;Receiving corrections does not mean you have failed.&lt;/p&gt;

&lt;p&gt;In fact, some of my most useful lessons came from reviewing feedback, revisiting the paper, and understanding why a particular entry needed to change.&lt;/p&gt;

&lt;p&gt;The goal is not to defend every decision you make. It is to produce an accurate curation.&lt;/p&gt;

&lt;h3&gt;
  
  
  Keep track of your decisions
&lt;/h3&gt;

&lt;p&gt;As you work through a paper, record where you found important information.&lt;/p&gt;

&lt;p&gt;Was it in Figure 2? Supplementary Table 4? The Methods section?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwq0mqzwdzw9fljy5kfhb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwq0mqzwdzw9fljy5kfhb.png" alt="A screenshot from my study notes with several important facts highlighted" width="800" height="467"&gt;&lt;/a&gt; &lt;em&gt;Figure 1: A screenshot from my study notes with several important facts highlighted&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Keeping track of these sources makes it easier to verify your work and explain your decisions during review.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. Final Thoughts
&lt;/h2&gt;

&lt;p&gt;My first BugSigDB contributions taught me that scientific data curation is much more than transferring information from a paper into a database.&lt;/p&gt;

&lt;p&gt;It requires reading carefully, interpreting research methods, understanding statistical results, identifying microbial taxa, and making decisions that preserve the meaning of the original research.&lt;/p&gt;

&lt;p&gt;I made mistakes. I received feedback. I corrected my work. I also had the opportunity to collaborate with another contributor and learn from the experience.&lt;/p&gt;

&lt;p&gt;What I appreciate most is how each study introduced me to a slightly different challenge. One taught me to pay closer attention to abundance directions. Another made me more comfortable interpreting figures. Others helped me understand study design, statistical findings, taxonomy, and collaboration.&lt;/p&gt;

&lt;p&gt;I came into this project with a Data Science background, but I am leaving these early contributions with a much better appreciation of the work involved in making scientific findings structured, searchable, and reusable.&lt;/p&gt;

&lt;p&gt;And perhaps the biggest lesson is this:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;You do not have to get everything right on your first attempt. You do have to be willing to investigate, learn from feedback, and correct your work.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That is how you become a better curator, one study at a time.&lt;/p&gt;

&lt;p&gt;Happy curating!&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>opensource</category>
      <category>datascience</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Your First Mini-Curation: Getting Started and Lessons from My Experience</title>
      <dc:creator>𝐁𝐚𝐛𝐢 ✨</dc:creator>
      <pubDate>Tue, 17 Nov 2026 20:32:40 +0000</pubDate>
      <link>https://dev.to/babib/your-first-mini-curation-getting-started-and-lessons-from-my-experience-1bcg</link>
      <guid>https://dev.to/babib/your-first-mini-curation-getting-started-and-lessons-from-my-experience-1bcg</guid>
      <description>&lt;p&gt;In my previous article, &lt;a href="https://dev.to/babib/understanding-bugsigdb-and-its-curation-policy-36nl"&gt;Understanding BugSigDB and Its Curation Policy&lt;/a&gt;, I introduced BugSigDB, explained what microbial signatures are, and discussed why the project needs a consistent approach to curating scientific findings.&lt;/p&gt;

&lt;p&gt;Now comes the interesting part: putting that knowledge into practice.&lt;/p&gt;

&lt;p&gt;If you're new to BugSigDB, your first mini-curation is an opportunity to move beyond reading documentation and actually work with a scientific paper. You'll begin identifying the information that matters, interpreting microbial findings, and learning how those findings are represented in the database.&lt;/p&gt;

&lt;p&gt;I remember approaching my first mini-curation with curiosity, but also with a lot of questions. I had a background in Data Science and experience reading scientific literature from my master's research, but microbiome research and microbial signature curation were new territory.&lt;/p&gt;

&lt;p&gt;Here is how I approached it and what I learned along the way.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Is a Mini-Curation?
&lt;/h2&gt;

&lt;p&gt;A mini-curation is a small introductory curation exercise designed to help new contributors become familiar with the BugSigDB curation process.&lt;/p&gt;

&lt;p&gt;Rather than immediately tackling a complex research paper with multiple experiments and comparisons, you get to work through a smaller exercise and understand the basic concepts involved.&lt;/p&gt;

&lt;p&gt;You begin by examining a scientific study, identifying the relevant information, interpreting its findings, and representing the microbial signatures according to &lt;a href="https://bugsigdb.org/Curation_Policy" rel="noopener noreferrer"&gt;BugSigDB's Curation Policy&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Think of it as your first opportunity to connect what you've learned from the documentation with the actual work of a curator.&lt;/p&gt;

&lt;p&gt;It is not simply about entering information into a database. You need to understand what the researchers investigated, how they conducted their study, which groups they compared, and what their results mean.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before You Begin
&lt;/h2&gt;

&lt;p&gt;Before starting, make sure you have a few things in place:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Your BugSigDB account:&lt;/strong&gt; You need access to the database to carry out the curation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The study or exercise assigned to you:&lt;/strong&gt; Familiarize yourself with the paper you will be working on.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Curation Policy:&lt;/strong&gt; Keep it accessible. You will refer to it frequently.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The project documentation:&lt;/strong&gt; Revisit the relevant guides whenever you need clarification.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;One thing I would emphasize is that you don't need to memorize the entire Curation Policy before beginning. You will understand many of its instructions better when you encounter them in an actual study.&lt;/p&gt;

&lt;p&gt;However, you should know where to find the information and be willing to consult it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Working Through Your First Mini-Curation
&lt;/h2&gt;

&lt;p&gt;Let's look at the main things you need to pay attention to when working through a scientific paper.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Understand the Study
&lt;/h3&gt;

&lt;p&gt;Before extracting anything, read the paper to understand what the researchers were investigating.&lt;/p&gt;

&lt;p&gt;Start with the title and abstract, then move to the Introduction, Methods, and Results sections.&lt;/p&gt;

&lt;p&gt;Ask yourself:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What is the research question?&lt;/li&gt;
&lt;li&gt;What population or subjects were studied?&lt;/li&gt;
&lt;li&gt;What biological samples were collected?&lt;/li&gt;
&lt;li&gt;What condition or characteristic is being investigated?&lt;/li&gt;
&lt;li&gt;What groups are being compared?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The abstract is a useful starting point, but it rarely contains everything you need for a complete curation.&lt;/p&gt;

&lt;p&gt;You will often find important details in the Methods section, tables, figures, and supplementary materials.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Identify the Study Design
&lt;/h3&gt;

&lt;p&gt;Pay attention to how the researchers conducted the study.&lt;/p&gt;

&lt;p&gt;Was it a case-control study? A cross-sectional study? A prospective cohort? Was there an intervention?&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://bugsigdb.org/Help:Study_Design" rel="noopener noreferrer"&gt;study design&lt;/a&gt; helps describe the structure of the research and how participants or subjects were selected and followed.&lt;/p&gt;

&lt;p&gt;Don't select a study design simply because the paper mentions a clinical trial or uses the word "cohort." Read the methodology and determine which design best represents the actual study.&lt;/p&gt;

&lt;p&gt;If you are uncertain, revisit the Curation Policy and ask the community for clarification.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Understand the Experimental Comparison
&lt;/h3&gt;

&lt;p&gt;This is one of the most important parts of the process.&lt;/p&gt;

&lt;p&gt;You need to identify the groups being compared in the analysis that produced the microbial findings.&lt;/p&gt;

&lt;p&gt;For example, a study might compare:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Individuals with a particular disease against healthy controls.&lt;/li&gt;
&lt;li&gt;Participants receiving a treatment against those who did not.&lt;/li&gt;
&lt;li&gt;Male participants against female participants.&lt;/li&gt;
&lt;li&gt;Different age groups.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Be precise about the comparison. A paper can contain several analyses, and not every comparison necessarily represents a separate experiment for BugSigDB purposes.&lt;/p&gt;

&lt;p&gt;You need to understand which groups are being compared and which findings belong to that comparison.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Identify the Relevant Metadata
&lt;/h3&gt;

&lt;p&gt;As you read the paper, look for information about the study subjects and how the samples were collected and analyzed.&lt;/p&gt;

&lt;p&gt;Some of the details you may need include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Host species.&lt;/li&gt;
&lt;li&gt;Country or geographical location.&lt;/li&gt;
&lt;li&gt;Body site or sample type.&lt;/li&gt;
&lt;li&gt;Condition being investigated.&lt;/li&gt;
&lt;li&gt;Sequencing method and platform.&lt;/li&gt;
&lt;li&gt;Statistical analysis and significance threshold.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Methods section is particularly useful here.&lt;/p&gt;

&lt;p&gt;For example, microbiome studies may use 16S rRNA gene sequencing or whole-metagenome shotgun sequencing. Some papers also specify the variable region sequenced, the sequencing platform, and the statistical methods used to identify differences in microbial abundance.&lt;/p&gt;

&lt;p&gt;Don't assume that every detail will be available. Record what the paper actually reports and follow the policy when information is missing.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Identify the Microbial Signatures
&lt;/h3&gt;

&lt;p&gt;Now comes the part that requires careful attention to the Results section.&lt;/p&gt;

&lt;p&gt;Look for the microbial taxa reported as significantly increased or decreased in the comparison.&lt;/p&gt;

&lt;p&gt;You may find these results in paragraphs, tables, figures, or supplementary datasets.&lt;/p&gt;

&lt;p&gt;Pay close attention to the direction of change.&lt;/p&gt;

&lt;p&gt;For example, suppose researchers compare people living with HIV against people without HIV. If a particular bacterial genus is reported as less abundant in the HIV group, you must represent that finding in the correct direction.&lt;/p&gt;

&lt;p&gt;It would be incorrect to record it as increased in the HIV group.&lt;/p&gt;

&lt;p&gt;Also, distinguish between findings that meet the study's statistical criteria and those that are merely mentioned in the discussion.&lt;/p&gt;

&lt;p&gt;Your job is to curate the findings that meet the relevant requirements of the Curation Policy, not every microbial name appearing in the paper.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Enter the Information into BugSigDB
&lt;/h3&gt;

&lt;p&gt;Once you have identified the relevant information, you can begin entering it into the database.&lt;/p&gt;

&lt;p&gt;Follow the available fields and instructions carefully. Use the appropriate ontology terms and taxonomic identifiers where required.&lt;/p&gt;

&lt;p&gt;You may encounter unfamiliar terminology or find that the wording in the paper does not exactly match the available options in BugSigDB.&lt;/p&gt;

&lt;p&gt;This is normal.&lt;/p&gt;

&lt;p&gt;Consult the documentation, check the relevant ontology or taxonomy resource, and ask for help when necessary. Avoid selecting a term simply because it looks similar to the one in the paper.&lt;/p&gt;

&lt;p&gt;Remember that the purpose of curation is to represent the scientific findings &lt;em&gt;accurately&lt;/em&gt; and &lt;em&gt;consistently&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Learned from My First Mini-Curation
&lt;/h2&gt;

&lt;p&gt;My first mini-curation involved comparing the gut microbiome of individuals living with HIV against individuals without HIV.&lt;/p&gt;

&lt;p&gt;The study examined microbial differences between the groups, and my task involved identifying the relevant microbial findings and representing them correctly in BugSigDB.&lt;/p&gt;

&lt;p&gt;It was a relatively small exercise, but it introduced me to several things I would encounter repeatedly in subsequent curations.&lt;/p&gt;

&lt;p&gt;Here are some of my biggest takeaways.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Reading a Scientific Paper for Curation Is Different
&lt;/h3&gt;

&lt;p&gt;I had read scientific papers before, particularly during my master's research. However, reading a paper to understand its general findings is different from reading one to extract structured information.&lt;/p&gt;

&lt;p&gt;As a curator, you are constantly asking specific questions.&lt;/p&gt;

&lt;p&gt;Where did the researchers collect their samples? What groups did they compare? Which statistical method did they use? Where exactly are the reported microbial findings?&lt;/p&gt;

&lt;p&gt;You begin moving between the Methods, Results, tables, figures, and supplementary materials.&lt;/p&gt;

&lt;p&gt;Sometimes, the information you need is not in the section where you initially expect to find it.&lt;/p&gt;

&lt;p&gt;I learned that effective curation requires more than reading a paper from beginning to end. It requires knowing what information to look for and where to find it.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Direction of Abundance Matters More Than You Think
&lt;/h3&gt;

&lt;p&gt;This was one of the most important lessons from my first exercise.&lt;/p&gt;

&lt;p&gt;When recording a microbial signature, you must pay attention to which group has the &lt;em&gt;increased&lt;/em&gt; or &lt;em&gt;decreased abundance&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;For example, if a bacterium is less abundant in the HIV group, you cannot record it as increased in that group.&lt;/p&gt;

&lt;p&gt;That may sound obvious, but when you are working through several findings, it is easy to lose track of the comparison direction.&lt;/p&gt;

&lt;p&gt;A small mistake can completely misrepresent what the researchers reported.&lt;/p&gt;

&lt;p&gt;My advice is to keep the comparison groups visible while extracting microbial findings. Always ask yourself: increased or decreased in which group?&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Scientific Terminology and Ontology Terms Are Not Always the Same
&lt;/h3&gt;

&lt;p&gt;Another thing I encountered was the challenge of selecting the appropriate ontology term.&lt;/p&gt;

&lt;p&gt;Scientific papers use terminology that may not correspond exactly to the available ontology labels. Some terms may also be outdated, deprecated, or replaced by newer identifiers.&lt;/p&gt;

&lt;p&gt;In my mini-curation, I encountered an HIV-related term that was obsolete in the ontology. The replacement term was not immediately obvious to me.&lt;/p&gt;

&lt;p&gt;This taught me to look beyond the wording in the paper and check the relevant ontology carefully.&lt;/p&gt;

&lt;p&gt;I also learned that it is perfectly reasonable to ask the community when you are unsure. It is much better to clarify a term than to make an unsupported choice.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. The Curation Policy Is a Working Reference, Not Just Reading Material
&lt;/h3&gt;

&lt;p&gt;Before beginning, I thought of the Curation Policy as documentation I needed to understand.&lt;/p&gt;

&lt;p&gt;After working through the mini-curation, I realized that it is something I would continually return to.&lt;/p&gt;

&lt;p&gt;You may understand a particular instruction while reading the policy, but applying it to an actual paper can raise new questions.&lt;/p&gt;

&lt;p&gt;How should you represent this comparison? Which study design fits best? Does this finding meet the criteria for inclusion?&lt;/p&gt;

&lt;p&gt;These are the kinds of questions that make the policy useful.&lt;/p&gt;

&lt;p&gt;Don't be discouraged if you find yourself revisiting the same sections. That is part of learning the process.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Asking Questions Is Part of Contributing
&lt;/h3&gt;

&lt;p&gt;One of the things I appreciated about the BugSigDB community was the opportunity to ask questions and receive guidance.&lt;/p&gt;

&lt;p&gt;When you are new to a project, it is easy to feel that you should figure everything out independently before asking for help.&lt;/p&gt;

&lt;p&gt;But open-source contribution is ✨collaborative✨.&lt;/p&gt;

&lt;p&gt;Make an effort to investigate the problem first. Read the documentation, examine the paper, and explain what you have tried. Then ask a specific question.&lt;/p&gt;

&lt;p&gt;You will not only get help with your immediate task; you will also learn how experienced contributors approach similar problems.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Accuracy Is More Important Than Speed
&lt;/h3&gt;

&lt;p&gt;Finally, I learned not to rush.&lt;/p&gt;

&lt;p&gt;When you see other contributors making progress, it can be tempting to focus on completing your curation as quickly as possible.&lt;/p&gt;

&lt;p&gt;However, scientific curation requires careful interpretation. A wrong comparison, an incorrect abundance direction, or an unsuitable ontology term can affect the quality of the resulting data.&lt;/p&gt;

&lt;p&gt;Take your time. Verify your findings. Revisit the paper when something does not make sense.&lt;/p&gt;

&lt;p&gt;The goal is not simply to complete the exercise. It is to understand what you are doing.&lt;/p&gt;

&lt;h2&gt;
  
  
  A Few Tips for Your First Mini-Curation
&lt;/h2&gt;

&lt;p&gt;If I were starting again, these are the things I would remind myself:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Read the paper beyond the abstract.&lt;/li&gt;
&lt;li&gt;Keep the Curation Policy open while working.&lt;/li&gt;
&lt;li&gt;Pay particular attention to the Methods and Results sections.&lt;/li&gt;
&lt;li&gt;Use tables, figures, and supplementary materials to verify findings.&lt;/li&gt;
&lt;li&gt;Keep track of the comparison groups when recording abundance directions.&lt;/li&gt;
&lt;li&gt;Check ontology terms instead of relying on assumptions.&lt;/li&gt;
&lt;li&gt;Write down questions as they arise.&lt;/li&gt;
&lt;li&gt;Ask the community when you cannot resolve something confidently.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You don't have to understand everything immediately. The more studies you work through, the more familiar the process becomes.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next?
&lt;/h2&gt;

&lt;p&gt;Completing your first mini-curation is an important step. You have moved from learning about BugSigDB to actually participating in the curation process.&lt;/p&gt;

&lt;p&gt;But this is only the beginning.&lt;/p&gt;

&lt;p&gt;Working on full studies introduces additional challenges. A paper may contain multiple experiments, several comparisons, different sample types, and microbial findings scattered across numerous tables and supplementary files.&lt;/p&gt;

&lt;p&gt;As you gain experience, you will begin to recognize patterns, interpret research methods more confidently, and make better curation decisions.&lt;/p&gt;

&lt;p&gt;In the next article, I'll share my transition from the mini-curation to working on full BugSigDB studies, including some of the lessons I learned from my early contributions.&lt;/p&gt;

&lt;p&gt;Happy curating!&lt;/p&gt;

</description>
      <category>datascience</category>
      <category>opensource</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Understanding BugSigDB and Its Curation Policy</title>
      <dc:creator>𝐁𝐚𝐛𝐢 ✨</dc:creator>
      <pubDate>Tue, 17 Nov 2026 20:10:21 +0000</pubDate>
      <link>https://dev.to/babib/understanding-bugsigdb-and-its-curation-policy-36nl</link>
      <guid>https://dev.to/babib/understanding-bugsigdb-and-its-curation-policy-36nl</guid>
      <description>&lt;p&gt;In my previous article, &lt;a href="https://dev.to/babib/crash-landing-into-zulip-finding-your-feet-in-the-bugsigdb-community-4hko"&gt;Crash Landing into Zulip&lt;/a&gt;, I shared my experience joining the BugSigDB community and finding my feet in an established open-source project.&lt;/p&gt;

&lt;p&gt;Now that you've joined the community and familiarized yourself with the project, it's time to understand what BugSigDB actually does and, more importantly, what you'll be contributing to.&lt;/p&gt;

&lt;p&gt;Before attempting your first curation, there are a few concepts you need to understand. Let's start with the project itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Exactly Is BugSigDB?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://bugsigdb.org/Main_Page" rel="noopener noreferrer"&gt;BugSigDB&lt;/a&gt; is an open-source, community-editable database of microbial signatures reported in scientific literature.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;But what does that mean?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Microbiome research investigates communities of microorganisms, including bacteria, fungi, viruses, and other microbes, that inhabit different environments, including the human body.&lt;/p&gt;

&lt;p&gt;Researchers conduct studies to understand how these microbial communities differ across conditions.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Do people with a particular disease have a different gut microbiome from healthy individuals?&lt;/li&gt;
&lt;li&gt;Does the vaginal microbiome change across different reproductive stages?&lt;/li&gt;
&lt;li&gt;Does a particular treatment influence the abundance of certain microorganisms?&lt;/li&gt;
&lt;li&gt;Are there differences in microbial communities between people with different dietary habits?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These studies generate findings about microorganisms that are more or less abundant under particular conditions.&lt;/p&gt;

&lt;p&gt;However, these findings are scattered across thousands of scientific publications, often reported using different methods, terminology, and formats.&lt;/p&gt;

&lt;p&gt;This is where BugSigDB comes in.&lt;/p&gt;

&lt;p&gt;BugSigDB brings these findings together in a structured database. It standardizes information about the studies, their experimental comparisons, and the microbial signatures reported in them.&lt;/p&gt;

&lt;p&gt;This makes it possible to search, compare, and analyze findings across different microbiome studies.&lt;/p&gt;

&lt;p&gt;In other words, BugSigDB helps turn findings scattered across scientific publications into structured, reusable research data.&lt;/p&gt;

&lt;h2&gt;
  
  
  First, What Is a Microbial Signature?
&lt;/h2&gt;

&lt;p&gt;A microbial signature is essentially a collection of microbial taxa that share a common property or response to a particular study condition.&lt;/p&gt;

&lt;p&gt;Let's use a hypothetical example.&lt;/p&gt;

&lt;p&gt;Imagine researchers conduct a study comparing the gut microbiome of two groups:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Group 0: Healthy individuals.&lt;/li&gt;
&lt;li&gt;Group 1: Individuals diagnosed with a particular disease.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After analyzing their samples, the researchers identify three bacterial genera that are more abundant in the disease group and two that are less abundant.&lt;/p&gt;

&lt;p&gt;These findings represent microbial signatures associated with the comparison.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Increased in the disease group:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Bacteroides&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Prevotella&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Escherichia&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Decreased in the disease group:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Faecalibacterium&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Roseburia&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are hypothetical findings, but they illustrate the kind of information BugSigDB captures.&lt;/p&gt;

&lt;p&gt;Notice that a signature is not necessarily one microorganism. It can contain several taxa reported in the same direction for a particular comparison.&lt;/p&gt;

&lt;p&gt;Also, &lt;em&gt;&lt;strong&gt;a taxon is a classification unit used to identify microorganisms&lt;/strong&gt;&lt;/em&gt;. Depending on the level of identification in a study, it could be a phylum, class, order, family, genus, species, or strain.&lt;/p&gt;

&lt;p&gt;One important thing to remember: BugSigDB records what the researchers reported. As a curator, your job is to accurately extract and standardize those findings, not to independently decide which microorganisms should be associated with a disease.&lt;/p&gt;

&lt;h2&gt;
  
  
  Understanding How BugSigDB Organizes Research
&lt;/h2&gt;

&lt;p&gt;This is probably one of the most important concepts to understand before starting your first curation.&lt;/p&gt;

&lt;p&gt;BugSigDB organizes information into four interconnected levels:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Study → Experiment → Signature → Taxa&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Let's break them down.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Study
&lt;/h3&gt;

&lt;p&gt;A study represents a published microbiome differential-abundance research report.&lt;/p&gt;

&lt;p&gt;It contains general information about the scientific paper, including its title, authors, publication details, and study design.&lt;/p&gt;

&lt;p&gt;For example, if researchers publish a paper investigating changes in the gut microbiome among individuals with HIV, that paper represents one study in BugSigDB.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Experiment
&lt;/h3&gt;

&lt;p&gt;An experiment represents a comparison between two or more groups for which differential-abundance analysis was performed.&lt;/p&gt;

&lt;p&gt;A single scientific paper can contain several experiments because researchers may investigate multiple comparisons.&lt;/p&gt;

&lt;p&gt;For example, a paper might investigate:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HIV-positive individuals versus HIV-negative individuals.&lt;/li&gt;
&lt;li&gt;Male participants versus female participants.&lt;/li&gt;
&lt;li&gt;Participants receiving treatment versus those not receiving treatment.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each distinct comparison may be represented as a separate experiment in BugSigDB.&lt;/p&gt;

&lt;p&gt;This distinction is important. Do not assume that one scientific paper automatically corresponds to one experiment.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Signature
&lt;/h3&gt;

&lt;p&gt;A signature represents the collection of microbial taxa reported as having increased or decreased abundance in a particular comparison.&lt;/p&gt;

&lt;p&gt;An experiment can have one or two signatures, depending on the findings.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One signature for taxa increased in Group 1.&lt;/li&gt;
&lt;li&gt;Another signature for taxa decreased in Group 1.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  4. Taxa
&lt;/h3&gt;

&lt;p&gt;These are the individual microorganisms or taxonomic groups reported in a signature.&lt;/p&gt;

&lt;p&gt;BugSigDB uses the &lt;a href="https://www.ncbi.nlm.nih.gov/taxonomy" rel="noopener noreferrer"&gt;NCBI Taxonomy&lt;/a&gt; to standardize microbial names and identifiers.&lt;/p&gt;

&lt;p&gt;This is important because scientific papers may report microorganisms using different naming conventions, abbreviations, or taxonomic classifications.&lt;/p&gt;

&lt;p&gt;The goal is to make sure that the same organism can be consistently identified across different studies.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does BugSigDB Need a Curation Policy?
&lt;/h2&gt;

&lt;p&gt;Now that you understand how information is organized, you might wonder why there are so many guidelines to follow.&lt;/p&gt;

&lt;p&gt;Why can't we simply read a scientific paper, identify the microorganisms, and enter them into the database?&lt;/p&gt;

&lt;p&gt;The problem is ✨consistency✨.&lt;/p&gt;

&lt;p&gt;Different researchers may use different study designs, sequencing methods, statistical tests, terminology, and reporting formats.&lt;/p&gt;

&lt;p&gt;Even when two studies investigate the same condition, the information may be presented differently.&lt;/p&gt;

&lt;p&gt;Without a common set of guidelines, two curators could interpret the same scientific paper differently and enter inconsistent information.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://bugsigdb.org/Curation_Policy" rel="noopener noreferrer"&gt;BugSigDB Curation Policy&lt;/a&gt; provides a standardized approach to extracting and representing this information.&lt;/p&gt;

&lt;p&gt;It helps ensure that curators follow consistent rules when identifying studies, defining experiments, recording metadata, and entering microbial signatures.&lt;/p&gt;

&lt;p&gt;Think of it as your reference manual. You will return to it frequently, even after completing your first few curations.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Should You Pay Attention to in the Curation Policy?
&lt;/h2&gt;

&lt;p&gt;You don't need to memorize the entire policy before starting. However, there are some important areas you should become familiar with.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Study Design
&lt;/h3&gt;

&lt;p&gt;Study design describes the general framework researchers use to conduct their investigation.&lt;/p&gt;

&lt;p&gt;You will encounter different designs, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Case-control studies.&lt;/li&gt;
&lt;li&gt;Cross-sectional studies.&lt;/li&gt;
&lt;li&gt;Prospective cohort studies.&lt;/li&gt;
&lt;li&gt;Randomized controlled trials.&lt;/li&gt;
&lt;li&gt;Longitudinal studies.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Understanding the study design requires more than identifying the terminology used in the paper. You need to understand how participants were selected, how groups were formed, and how the research was conducted.&lt;/p&gt;

&lt;p&gt;One important lesson from the policy is to select the study design that best describes the study rather than selecting several options simply because they appear applicable.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Experimental Information
&lt;/h3&gt;

&lt;p&gt;When curating an experiment, you will encounter several pieces of information about the study participants and their samples.&lt;/p&gt;

&lt;p&gt;These include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Host species:&lt;/strong&gt; The organism from which the microbiome was sampled.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Location of subjects:&lt;/strong&gt; The country where participants were recruited, or environmental samples were collected.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Body site:&lt;/strong&gt; The anatomical location from which the sample was obtained.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Condition:&lt;/strong&gt; The disease, treatment, health status, exposure, or other variable being investigated.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Contrast:&lt;/strong&gt; The actual comparison between the groups.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Pay particular attention to the distinction between condition and contrast. They are related, but they are not interchangeable.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Laboratory and Sequencing Information
&lt;/h3&gt;

&lt;p&gt;Microbiome studies use different laboratory techniques to identify and quantify microorganisms.&lt;/p&gt;

&lt;p&gt;The Curation Policy covers information such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Sequencing type, such as 16S or whole metagenome sequencing (WMS).&lt;/li&gt;
&lt;li&gt;The 16S variable region, where applicable.&lt;/li&gt;
&lt;li&gt;Sequencing platform, such as Illumina.&lt;/li&gt;
&lt;li&gt;Data transformation methods.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Much of this information is usually found in the Materials and Methods section of a scientific paper.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Statistical Analysis
&lt;/h3&gt;

&lt;p&gt;This is another important area, particularly if you are coming from a Data Science or Statistics background.&lt;/p&gt;

&lt;p&gt;BugSigDB records information about the statistical methods used to identify differentially abundant taxa.&lt;/p&gt;

&lt;p&gt;Some of the information you will encounter includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Statistical test.&lt;/li&gt;
&lt;li&gt;Significance threshold.&lt;/li&gt;
&lt;li&gt;Multiple hypothesis testing correction.&lt;/li&gt;
&lt;li&gt;LDA score, where applicable.&lt;/li&gt;
&lt;li&gt;Matching information.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Do not confuse the significance threshold with the actual p-value reported for an individual taxon. The threshold is the criterion used by the researchers to determine statistical significance.&lt;/p&gt;

&lt;p&gt;Always check how the paper reports its results and follow the Curation Policy when recording them.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Microbial Taxonomy and Signatures
&lt;/h3&gt;

&lt;p&gt;This is where you begin working directly with the microbial findings.&lt;/p&gt;

&lt;p&gt;You will need to identify the taxa reported in the paper, determine whether they increased or decreased in the relevant group, and enter them using the appropriate taxonomic identifiers.&lt;/p&gt;

&lt;p&gt;BugSigDB uses the &lt;a href="https://www.ncbi.nlm.nih.gov/taxonomy" rel="noopener noreferrer"&gt;NCBI Taxonomy&lt;/a&gt; to standardize microbial names.&lt;/p&gt;

&lt;p&gt;You will also encounter ontologies and controlled vocabularies when recording other information. For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.ebi.ac.uk/ols4/ontologies/efo" rel="noopener noreferrer"&gt;EFO&lt;/a&gt; (Experimental Factor Ontology) for conditions.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.ebi.ac.uk/ols4/ontologies/uberon" rel="noopener noreferrer"&gt;UBERON&lt;/a&gt; for anatomical structures and body sites.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.ncbi.nlm.nih.gov/taxonomy" rel="noopener noreferrer"&gt;NCBI Taxonomy&lt;/a&gt; for microbial organisms.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You don't have to become an expert in these resources immediately. However, understanding why they are used will make your curation work much easier.&lt;/p&gt;

&lt;h2&gt;
  
  
  A Few Things I Learned Along the Way
&lt;/h2&gt;

&lt;p&gt;Reading the documentation is one thing. Applying it to an actual scientific paper is another.&lt;/p&gt;

&lt;p&gt;During my first mini-curation, I worked with a study investigating differences in the gut microbiome between people living with HIV and those without HIV.&lt;/p&gt;

&lt;p&gt;One of the things I had to work through was identifying the appropriate condition and its corresponding ontology term.&lt;/p&gt;

&lt;p&gt;I also had to pay close attention to the comparison groups and the direction of microbial abundance.&lt;/p&gt;

&lt;p&gt;These details may seem small, but they matter.&lt;/p&gt;

&lt;p&gt;For example, if a paper reports that a particular bacterium is less abundant in the HIV group, recording it as increased would misrepresent the study's findings.&lt;/p&gt;

&lt;p&gt;I also learned that scientific terminology and ontology terms do not always correspond perfectly. Sometimes, a term you encounter in a paper or an existing record may be outdated or may have an alternative identifier in an ontology.&lt;/p&gt;

&lt;p&gt;This is why you should never assume that finding a familiar-looking term is enough. Check the appropriate ontology and consult the community when you are uncertain.&lt;/p&gt;

&lt;p&gt;The biggest lesson for me was that curation is not simply data entry. It requires reading carefully, interpreting scientific findings, understanding the methodology, and making sure that the information is represented accurately.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before You Move to Your First Curation
&lt;/h2&gt;

&lt;p&gt;Here is a little checklist to help you prepare:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Read the BugSigDB Curation Policy.&lt;/li&gt;
&lt;li&gt;[ ] Understand the difference between a study, experiment, signature, and taxon.&lt;/li&gt;
&lt;li&gt;[ ] Familiarize yourself with the different study designs.&lt;/li&gt;
&lt;li&gt;[ ] Understand how comparison groups and conditions are defined.&lt;/li&gt;
&lt;li&gt;[ ] Learn where to find sequencing and statistical information in a paper.&lt;/li&gt;
&lt;li&gt;[ ] Familiarize yourself with EFO, UBERON, and NCBI Taxonomy.&lt;/li&gt;
&lt;li&gt;[ ] Request your BugSigDB account if you haven't already.&lt;/li&gt;
&lt;li&gt;[ ] Keep the documentation handy. You will need it!&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You don't need to know everything before beginning. The important thing is to understand the basics and know where to find answers when you encounter something unfamiliar.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next?
&lt;/h2&gt;

&lt;p&gt;Now that you have a better understanding of BugSigDB, its structure, and the purpose of its Curation Policy, it's time to get practical.&lt;/p&gt;

&lt;p&gt;In the next article, we'll explore how to get started with your first contribution, including navigating the project, finding a study to curate, and preparing for your mini-curation.&lt;/p&gt;

&lt;p&gt;Remember: take your time, read carefully, and don't be afraid to ask questions.&lt;/p&gt;

&lt;p&gt;Happy curating!&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>opensource</category>
      <category>datascience</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Crash Landing into Zulip: Finding Your Feet in the BugSigDB Community</title>
      <dc:creator>𝐁𝐚𝐛𝐢 ✨</dc:creator>
      <pubDate>Sun, 08 Nov 2026 21:01:36 +0000</pubDate>
      <link>https://dev.to/babib/crash-landing-into-zulip-finding-your-feet-in-the-bugsigdb-community-4hko</link>
      <guid>https://dev.to/babib/crash-landing-into-zulip-finding-your-feet-in-the-bugsigdb-community-4hko</guid>
      <description>&lt;p&gt;If you are anything like me, joining an established open-source community for the first time can feel like walking into a room where everyone already knows each other.&lt;/p&gt;

&lt;p&gt;The BugSigDB project has an active community on Zulip, where contributors, maintainers, mentors, and Outreachy applicants interact across different channels and discussions. There are conversations dating back several years, discussions about ongoing projects, questions from contributors, and people sharing their progress.&lt;/p&gt;

&lt;p&gt;And then there is you. A newcomer trying to figure out where everything is and where you fit in.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Crash Landing
&lt;/h2&gt;

&lt;p&gt;When I first joined the community, I was honestly overwhelmed.&lt;/p&gt;

&lt;p&gt;You will meet other Outreachy applicants who may have been around the community for years. Some have contributed to several projects, are familiar with the codebase, and understand how things work.&lt;/p&gt;

&lt;p&gt;Meanwhile, you are probably still trying to understand the project description and figure out what everyone is talking about.&lt;/p&gt;

&lt;p&gt;That's okay.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Let those initial emotions wash over you.&lt;/strong&gt; Breathe, accept where you are, and remember that everyone was a beginner at some point.&lt;/p&gt;

&lt;p&gt;You are not expected to know everything when you arrive. You are there to learn, contribute, and become part of the community.&lt;/p&gt;

&lt;h2&gt;
  
  
  First Things First: Introduce Yourself!
&lt;/h2&gt;

&lt;p&gt;Do not be afraid to introduce yourself or ask for help. Seriously!&lt;/p&gt;

&lt;p&gt;One of the biggest advantages of open-source communities is the opportunity to interact with people who have experience in areas you are just beginning to explore.&lt;/p&gt;

&lt;p&gt;Start with a simple introduction. Tell people who you are, what brought you to the community, and what you are interested in working on.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For example:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Hello everyone! My name is Jane Doe. I'm an Outreachy applicant interested in contributing to BugSigDB. I'm new to the project and would appreciate some guidance on where to begin. Looking forward to learning and contributing alongside everyone!&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;You don't need a lengthy introduction. Just be &lt;strong&gt;polite&lt;/strong&gt;, &lt;strong&gt;friendly&lt;/strong&gt;, and &lt;strong&gt;genuine&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Also, take some time to understand how the community communicates. Every community has its own norms and guidelines. Be respectful, read the available instructions, search previous discussions before asking questions, and remember that there are real people on the other side of the screen.&lt;/p&gt;

&lt;p&gt;When you eventually need help, make your questions specific.&lt;/p&gt;

&lt;p&gt;Instead of simply saying, "I'm stuck," explain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What you are trying to accomplish.&lt;/li&gt;
&lt;li&gt;What you have done so far.&lt;/li&gt;
&lt;li&gt;Where exactly you are having difficulties.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;For example:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I'm working on my first study curation. I've gone through the paper and identified the relevant comparisons, but I'm having difficulty determining the appropriate study design. Could someone point me in the right direction?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This makes it much easier for others to understand your problem and help you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Don't Rush: Get Familiar with the Project
&lt;/h2&gt;

&lt;p&gt;My advice? Slow down.&lt;/p&gt;

&lt;p&gt;I spent approximately three days familiarizing myself with the project description, internship requirements, &lt;a href="https://bugsigdb.org/Help:Contents" rel="noopener noreferrer"&gt;BugSigDB's Contents&lt;/a&gt;, &lt;a href="https://bugsigdb.org/Project:About" rel="noopener noreferrer"&gt;its About page&lt;/a&gt;, &lt;a href="https://www.youtube.com/playlist?list=PLIUETfW6tVu2OGgZcIxqI7DbUBReHVdIq" rel="noopener noreferrer"&gt;its video guides &lt;/a&gt;, and the &lt;a href="https://bugsigdb.org/Curation_Policy" rel="noopener noreferrer"&gt;Curation Policy&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;And I recommend that you do the same.&lt;/p&gt;

&lt;p&gt;When you first join Zulip, you will see contributors working on curations, asking questions, sharing updates, and discussing different aspects of the project. It can be tempting to jump straight into the work because everyone else seems to be making progress.&lt;/p&gt;

&lt;p&gt;Resist that temptation.&lt;/p&gt;

&lt;p&gt;You need to understand what you are contributing to before you start contributing.&lt;/p&gt;

&lt;p&gt;Here is what I recommend:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Understand the project&lt;/strong&gt;: Read the project description and BugSigDB's About page.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Understand your responsibilities&lt;/strong&gt;: Review the Outreachy internship or contribution requirements.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Explore the platform&lt;/strong&gt;: Go through BugSigDB's documentation and video guides to understand how the database works.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Study the curation rules&lt;/strong&gt;: Read the Curation Policy carefully. This will become one of your most important references when extracting and entering scientific findings.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Take a notebook, grab a pen, and work through the documentation in manageable sessions. You don't have to understand every technical detail on your first read. Write down unfamiliar terms, questions, and anything you would like to revisit.&lt;/p&gt;

&lt;p&gt;I would give yourself up to three days for this initial orientation, as I did. You can always return to the documentation as you gain experience.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;The goal isn't to memorize everything. It is to build enough understanding to make your first contribution meaningful.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next?
&lt;/h2&gt;

&lt;p&gt;Once you are comfortable with the project and its documentation, you can begin your first contribution: the mini-curation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A quick but important note!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Before starting your mini-curation, request a BugSigDB account if you haven't already. Account creation may take some time, so it's best to submit your request early. You can continue familiarizing yourself with the project and preparing for your mini-curation while waiting for your account.&lt;/p&gt;

&lt;p&gt;This is where things start getting interesting!&lt;/p&gt;

&lt;p&gt;In the next article, I'll walk you through the documentation you need to pay particular attention to, what the mini-curation involves, and how to approach your first study.&lt;/p&gt;

&lt;p&gt;Remember, you don't have to arrive as an expert. You just have to be willing to learn.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>datascience</category>
      <category>opensource</category>
      <category>github</category>
    </item>
    <item>
      <title>Life Has Unexpected Turns: How I Found Myself Curating Microbiome Research</title>
      <dc:creator>𝐁𝐚𝐛𝐢 ✨</dc:creator>
      <pubDate>Sun, 08 Nov 2026 19:57:44 +0000</pubDate>
      <link>https://dev.to/babib/life-has-unexpected-turns-how-i-found-myself-curating-microbiome-research-56eg</link>
      <guid>https://dev.to/babib/life-has-unexpected-turns-how-i-found-myself-curating-microbiome-research-56eg</guid>
      <description>&lt;p&gt;Before I dive deep, let me give you a quick recap of my journey.&lt;/p&gt;

&lt;p&gt;My last post was in 2022, when I spent time sharing my completed web development projects, lessons I learned, and tips for beginners. Since then, life has taken a few unexpected turns.&lt;/p&gt;

&lt;p&gt;Today, November 2026, I find myself in a rather different place. I transitioned from web development to Data Science, with a growing interest in statistics, data analysis, and scientific research.&lt;/p&gt;

&lt;p&gt;I graduated at the top of my Data Science class and have spent a lot of my time working on analytical projects. This year, another interesting opportunity came along; I applied for the Outreachy Internship program and made it into the contribution phase.&lt;/p&gt;

&lt;p&gt;For the past 4 weeks, I have been contributing to the &lt;a href="https://bugsigdb.org/Main_Page" rel="noopener noreferrer"&gt;BugSigDB&lt;/a&gt;, an open-source project focused on curating microbial signatures reported in scientific literature. The project brings together findings from microbiome studies in a structured database, making them easier to explore, compare, and reuse for further research.&lt;/p&gt;

&lt;p&gt;Interestingly, this turned out to be a natural fit for my background in Data Science, particularly the scientific research and writing component of my master's program. &lt;/p&gt;

&lt;p&gt;This experience introduced me to a different side of data science: biological research, microbial data extraction, standardization, and curation. It also resonates with my final-year master's research, where I spent considerable time looking beyond code to understand how scientific findings are generated, interpreted, and documented.  &lt;/p&gt;

&lt;p&gt;In this series, I will take you through my journey with BugSigDB, what I have learned so far, some challenges I have encountered, and how you, too, can get started with data curation, even if you are coming from a completely different background.&lt;/p&gt;

</description>
      <category>datascience</category>
      <category>database</category>
      <category>opensource</category>
      <category>github</category>
    </item>
    <item>
      <title>Javascript cheat sheet: .slice() and .splice()</title>
      <dc:creator>𝐁𝐚𝐛𝐢 ✨</dc:creator>
      <pubDate>Sat, 30 Jul 2022 05:45:00 +0000</pubDate>
      <link>https://dev.to/babib/javascript-slice-and-splice-cheat-sheet-3hoi</link>
      <guid>https://dev.to/babib/javascript-slice-and-splice-cheat-sheet-3hoi</guid>
      <description>&lt;p&gt;I recently came across a twitter post where the user challenged others if they knew the difference between the js methods .slice() and .splice() without googling them. A lot of people mixed them up.&lt;/p&gt;

&lt;p&gt;So I've created this simplified cheat sheet of everything you need to know about the 2 methods.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you should know
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;.slice() and splice() are both array methods. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;both of them return arrays as outputs&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;the key is to pay attention to what they return as the output array and if they mutate the original array (they one on which the were applied to)&lt;/p&gt;
&lt;h2&gt;
  
  
  1)  .slice()
&lt;/h2&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;.slice() &lt;em&gt;returns selected elements in an array&lt;/em&gt;, as a new array. Selection is done by index.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;.slice() &lt;strong&gt;does not affect the original array&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With splice() you can select one or more elements. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For example:&lt;/strong&gt; This code snippet returns 3 (which is at index 2)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="nf"&gt;slice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;// returns 3 (which is at index 2)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and this code snippet returns 2,3,4 (from index 1 to 4 exclusively)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="nf"&gt;slice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;// returns 2,3,4 (from index 1 to 4 exclusively)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  2)  .splice()
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;.splice &lt;strong&gt;modifies the original array&lt;/strong&gt; (adds and/or removes elements from the array)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The method &lt;em&gt;returns the original array **modified&lt;/em&gt;**&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With splice you can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; &lt;strong&gt;remove elements&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="nf"&gt;splice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;// returns [1,2,3] (first 3 elements)&lt;/span&gt;
&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="nf"&gt;splice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;// at position 2 remove 2 elements (returns [1,2,5])&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt; &lt;strong&gt;add elements&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;
&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="nf"&gt;splice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;// at postion 2 add 2 elements (returns [1,2,3,4,5])&lt;/span&gt;

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

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt; &lt;strong&gt;remove and add elements at the same time&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// at position 2, remove 1 elements and add 2 new items&lt;/span&gt;
&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="nf"&gt;splice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;HTML&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;CSS&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;// returns [1,2,"HTML","CSS",5]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Remember:&lt;/strong&gt; .splice() mutates the array, .slice() does not!&lt;/p&gt;

&lt;p&gt;Hope this is helpful to someone 💜&lt;/p&gt;

</description>
      <category>codenewbie</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>My very first Tech YouTube video</title>
      <dc:creator>𝐁𝐚𝐛𝐢 ✨</dc:creator>
      <pubDate>Wed, 27 Jul 2022 05:43:00 +0000</pubDate>
      <link>https://dev.to/babib/opp-classes-and-objects-explained-for-beginners-4j84</link>
      <guid>https://dev.to/babib/opp-classes-and-objects-explained-for-beginners-4j84</guid>
      <description>&lt;p&gt;Just created my very first tech video on YouTube 😊&lt;/p&gt;

&lt;p&gt;This YouTube video is just 2 minutes long however, it provides a simple and visualized explanation of the concept of classes and objects as used in software engineering&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/1gxUrOBcQoA" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Please share your thoughts in the comments, like and subscribe. Thanks.&lt;/p&gt;

</description>
      <category>oop</category>
      <category>programming</category>
      <category>beginners</category>
      <category>watercooler</category>
    </item>
    <item>
      <title>JSX for beginners (and how it differs from HTML)</title>
      <dc:creator>𝐁𝐚𝐛𝐢 ✨</dc:creator>
      <pubDate>Tue, 19 Jul 2022 03:34:57 +0000</pubDate>
      <link>https://dev.to/babib/jsx-for-beginners-and-how-it-differs-from-html-2l9e</link>
      <guid>https://dev.to/babib/jsx-for-beginners-and-how-it-differs-from-html-2l9e</guid>
      <description>&lt;h2&gt;
  
  
  What is JSX
&lt;/h2&gt;

&lt;p&gt;JSX or JavaScript XML is an extension of JavaScript used to write &lt;a href="https://reactjs.org/" rel="noopener noreferrer"&gt;React&lt;/a&gt; components.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For example,&lt;/strong&gt; consider this code snippet below gives an illustration of what JSX typically looks like&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;greet&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;h1&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;Hello World&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;h1&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;So JSX permits us write Javascript and HTML together. However, unlike HTML and Javascript, JSX cannot be interpreted by browsers so it needs a compiler (Babel or Webpack) to transpile it to Javascript&lt;/p&gt;

&lt;h2&gt;
  
  
  Why use JSX
&lt;/h2&gt;

&lt;p&gt;The very first thing you should know is that JSX is &lt;strong&gt;not&lt;/strong&gt; a necessity. You can write React code without it.&lt;/p&gt;

&lt;p&gt;Then why use it? Why mix the logic and the markup? JSX is &lt;strong&gt;syntactic sugar&lt;/strong&gt;. It is designed to make things easier to read and express&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For example:&lt;/strong&gt; Consider a JSX expression&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="na"&gt;color&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"red"&lt;/span&gt; &lt;span class="na"&gt;shadowSize&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;I'm a random sentence&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;p&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It is compiled by Babel to&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;React&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;createElement&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;p&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="na"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;red&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;shadowSize&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;I'm a random sentence&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The later snippet is obviously less pretty 😀&lt;/p&gt;

&lt;h2&gt;
  
  
  How JSX differs from HTML
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Self-closing tags
&lt;/h3&gt;

&lt;p&gt;In HTML, it's okay to write self-closing tags without closing them e.g. &lt;code&gt;&amp;lt;hr /&amp;gt;&lt;/code&gt; can be &lt;code&gt;&amp;lt;hr&amp;gt;&lt;/code&gt;. This is &lt;strong&gt;not permitted&lt;/strong&gt; in JSX. &lt;strong&gt;All&lt;/strong&gt; tags must be closed.&lt;/p&gt;

&lt;p&gt;Also, all tags can be self-close e.g. &lt;code&gt;&amp;lt;div /&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;br&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  2. Adding JavaScript expressions
&lt;/h3&gt;

&lt;p&gt;JavaScript can be added directly into JSX markup using curly braces {...}&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="cm"&gt;/* Output: Everybody knows 1 + 1 = 2 */&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;p&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt; Everybody knows 1 + 1 = &lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;p&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;So no need for the &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt; tag HTML uses &lt;br&gt;
&lt;br&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  3. HTML attributes change naming conventions
&lt;/h3&gt;

&lt;p&gt;Remember JSX is writing HTML in JavaScript so certain HTML attributes like &lt;code&gt;class&lt;/code&gt; and &lt;code&gt;for&lt;/code&gt; which are keyword in JavaScript have to change to &lt;code&gt;className&lt;/code&gt; and &lt;code&gt;hmtlFor&lt;/code&gt; respectively. Take &lt;strong&gt;note&lt;/strong&gt; of the use of &lt;strong&gt;camelCasing&lt;/strong&gt; in the naming convention.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;All&lt;/strong&gt; JSX attributes follow the camelCase naming convention. So &lt;code&gt;background-color&lt;/code&gt; becomes &lt;code&gt;backgroundColor&lt;/code&gt;&lt;br&gt;
&lt;br&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  4. Inline CSS is an object
&lt;/h3&gt;

&lt;p&gt;In HTML, you can directly add your inline CSS styles in the opening tag. However, this is not so in JSX. Here, you pass an object&lt;br&gt;
For example Consider this HTML snippet&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;p&lt;/span&gt; &lt;span class="na"&gt;style=&lt;/span&gt;&lt;span class="s"&gt;"color:red;font-size:14px"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Hello there!&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In JSX, it could be written as&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="nx"&gt;cont&lt;/span&gt; &lt;span class="nx"&gt;Greet&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;myStyles&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;red&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nl"&gt;fontSize&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;14px&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="na"&gt;style&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="nx"&gt;myStyles&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;Hello there!&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;p&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;OR&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;p&lt;/span&gt; &lt;span class="na"&gt;style&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="na"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;red&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;fontSize&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;14px&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;Hello there!&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;p&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I'm currently learning React. While transitioning from writing HTML to JSX, I found some key concepts and difference that everyone should be aware of. This is me just documenting my notes. Hope you found it helpful 😊&lt;/p&gt;




&lt;p&gt;Header image credit: &lt;a href="https://www.patterns.dev/posts/reactjs/" rel="noopener noreferrer"&gt;patterns.dev&lt;/a&gt;&lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>html</category>
      <category>todayilearned</category>
    </item>
    <item>
      <title>🎨 Understanding the CSS rgb model (Visualized)</title>
      <dc:creator>𝐁𝐚𝐛𝐢 ✨</dc:creator>
      <pubDate>Mon, 04 Jul 2022 09:23:58 +0000</pubDate>
      <link>https://dev.to/babib/understanding-the-css-rgb-model-visualized-317a</link>
      <guid>https://dev.to/babib/understanding-the-css-rgb-model-visualized-317a</guid>
      <description>&lt;p&gt;The RGB model is an additive color model where the colors red, green and blue can be added together in different intensities to form a wide array of colors. The additive colors start with black, then adds red, green and blue.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fibafx101gxanyyxej701.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fibafx101gxanyyxej701.png" alt="color spectrum" width="800" height="138"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;With the rgb function, the arguments are used to produce color&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyz97atf03e9cwm2tay8e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyz97atf03e9cwm2tay8e.png" alt="the rgb function" width="348" height="72"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Each argument, red/green/blue, can range from 0 to 255. O means there is 0% of that color and 255 means there is 100% of that color.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For example&lt;/strong&gt;: We'll use 3 div elements to demonstrate the use of the rgb model&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"markers"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"strip one"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"strip two"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"strip three"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.markers&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;padding&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;10px&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.strip&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;200px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;25px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;margin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;10px&lt;/span&gt; &lt;span class="nb"&gt;auto&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now using the rgb concept explained above, we could set the background colors of strip 1, 2 and 3 to the different primary colors red, green, and blue respectively&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.one&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.two&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.three&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp29zr4v1yjkuh9j8k3ur.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp29zr4v1yjkuh9j8k3ur.png" alt="strips of the different background colors" width="225" height="136"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The intensities of each color can be varied between 0 and 255 to get different shades. For example, to get a more natural color for green (the second strip), it's intensity could be reduced to half way between 0 and 255&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.two&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;127&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flpnm0quvkk7o1yvq4n5u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flpnm0quvkk7o1yvq4n5u.png" alt="pic of a natural shade of green" width="210" height="35"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Increasing the value of the color increases its brightness.&lt;/p&gt;

&lt;p&gt;Red, blue and green are primary colors, so when they are added together in the highest intensities (255), they form white.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.white&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And the total absence of all 3 give black&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.black&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Secondary colors
&lt;/h2&gt;

&lt;p&gt;Secondary colors are formed from the combination of two primary colors. There are 3 secondary colors&lt;/p&gt;

&lt;h3&gt;
  
  
  1. &lt;strong&gt;Yellow&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Yellow is formed from the combination of &lt;strong&gt;pure&lt;/strong&gt; red and &lt;strong&gt;pure&lt;/strong&gt; green&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.one&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. &lt;strong&gt;Cyan&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Cyan is formed from the combination of pure green and pure blue&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.two&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  3. &lt;strong&gt;Magenta&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Magenta is formed from the combination of pure blue and pure red&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.three&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fem0pntt16946kjhrhw0h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fem0pntt16946kjhrhw0h.png" alt="pic of secondary colors" width="229" height="145"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Tertiary Colors
&lt;/h2&gt;

&lt;p&gt;Tertiary colors are formed from a combination of a primary color and a nearby secondary color.There are six tertiary colors.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Orange
&lt;/h3&gt;

&lt;p&gt;Orange is formed from the combination of &lt;strong&gt;pure red&lt;/strong&gt; and &lt;strong&gt;yellow&lt;/strong&gt; and falls between the two on the color wheel. Set red at max (255) and green to 127&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.one&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;127&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgixe0iy1pln89tc59qsq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgixe0iy1pln89tc59qsq.png" alt="pic of orange" width="211" height="41"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Spring Green
&lt;/h3&gt;

&lt;p&gt;Spring green is formed from the combination of &lt;strong&gt;pure green&lt;/strong&gt; and &lt;strong&gt;cyan&lt;/strong&gt;. Set green to 255 and blue to 127&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.one&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;127&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnbvn1e1vct4hawu1z9zo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnbvn1e1vct4hawu1z9zo.png" alt="pic of spring green strip" width="211" height="34"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Violet
&lt;/h3&gt;

&lt;p&gt;Violet is formed from the combination of &lt;strong&gt;pure blue&lt;/strong&gt; and &lt;strong&gt;magenta&lt;/strong&gt;. Set blue to 255 and red to 127&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.one&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;127&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fglelfek67kc9wejvbpfb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fglelfek67kc9wejvbpfb.png" alt="pic of violet strip" width="208" height="35"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Chartreuse green
&lt;/h3&gt;

&lt;p&gt;Formed from the combination of &lt;strong&gt;pure green&lt;/strong&gt; and &lt;strong&gt;yellow&lt;/strong&gt;. Set green to 255 and red to 127&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.one&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;127&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwq6b2lddvny7hsoq3b9s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwq6b2lddvny7hsoq3b9s.png" alt="pic of chartreuse green strip" width="209" height="38"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Azure
&lt;/h3&gt;

&lt;p&gt;Formed from the combination of &lt;strong&gt;pure blue&lt;/strong&gt; and &lt;strong&gt;cyan&lt;/strong&gt;. Set blue to 255 and green to 127&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.one&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;127&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fptyl4r4essc9e7r8ka2h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fptyl4r4essc9e7r8ka2h.png" alt="pic of azure strip" width="208" height="37"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Rose
&lt;/h3&gt;

&lt;p&gt;Formed from the combination of &lt;strong&gt;pure red&lt;/strong&gt; and &lt;strong&gt;magenta&lt;/strong&gt;. Set red to 255 and blue to 127&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.one&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;rgb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="m"&gt;127&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Focsqdc5f4k9quw2d2tt4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Focsqdc5f4k9quw2d2tt4.png" alt="pic of rose strip" width="216" height="39"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;/p&gt;

&lt;p&gt;Now, can you remember the combination for chartreuse green? (be honest 😅 )&lt;/p&gt;




&lt;p&gt;header pic: &lt;a href="https://unsplash.com/@katierainbow" rel="noopener noreferrer"&gt;Katie Rainbow&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>webdev</category>
      <category>todayilearned</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Interesting! Make different image parts clickable with HTML only (codepen preview)</title>
      <dc:creator>𝐁𝐚𝐛𝐢 ✨</dc:creator>
      <pubDate>Mon, 27 Jun 2022 23:39:13 +0000</pubDate>
      <link>https://dev.to/babib/interesting-making-different-image-parts-clickable-with-html-codepen-preview-3pg8</link>
      <guid>https://dev.to/babib/interesting-making-different-image-parts-clickable-with-html-codepen-preview-3pg8</guid>
      <description>&lt;p&gt;You can make different parts of an image clickable.&lt;/p&gt;

&lt;p&gt;With HTML's &lt;code&gt;&amp;lt;map&amp;gt;&lt;/code&gt;, you can create image maps which are images with clickable areas. These areas are defined using the &lt;code&gt;&amp;lt;area&amp;gt;&lt;/code&gt; tag.&lt;/p&gt;

&lt;h2&gt;
  
  
  Understanding how image maps work
&lt;/h2&gt;

&lt;p&gt;The image (which would be clickable) is imported using the &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; tag, however an attribute, &lt;code&gt;usemap&lt;/code&gt;, is added to the &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; tag with a specific ID which would later be used&lt;/p&gt;

&lt;h3&gt;
  
  
  For example
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fprco3p9dfxg3b18fr0n4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fprco3p9dfxg3b18fr0n4.png" alt="world map image code" width="800" height="281"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;img&lt;/span&gt; &lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"worldmap.png"&lt;/span&gt; &lt;span class="na"&gt;alt=&lt;/span&gt;&lt;span class="s"&gt;"Worldmap"&lt;/span&gt; &lt;span class="na"&gt;usemap=&lt;/span&gt;&lt;span class="s"&gt;"#worldmap"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Using the &lt;code&gt;&amp;lt;map&amp;gt;&lt;/code&gt; tag, the image is reference using the attribute &lt;code&gt;name&lt;/code&gt; which would be the ID used in the &lt;code&gt;usemap&lt;/code&gt; attribute of the &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; tag&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9drbwkkoo8ffvd1gujod.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9drbwkkoo8ffvd1gujod.png" alt="map code snippet" width="654" height="410"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;map&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"worldmap"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, nested in the &lt;code&gt;&amp;lt;map&amp;gt;&lt;/code&gt; elements are several &lt;code&gt;&amp;lt;area&amp;gt;&lt;/code&gt; elements which are used to define the different clickable areas&lt;/p&gt;

&lt;p&gt;In the area element we declare:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;shape&lt;/code&gt;: The shape of the clickable area 

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;rect&lt;/code&gt; - defines a rectangular region&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;circle&lt;/code&gt; - defines a circular region&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;poly&lt;/code&gt; - defines a polygonal region&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;default&lt;/code&gt; - defines the entire region&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;coords&lt;/code&gt;: The coordinates of the area&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;href&lt;/code&gt;: The link to the target resource after the image is clicked&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fijkp9uakpwcs2gkm8470.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fijkp9uakpwcs2gkm8470.png" alt="area code snippet" width="800" height="250"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;area&lt;/span&gt; &lt;span class="na"&gt;shape=&lt;/span&gt;&lt;span class="s"&gt;"rect"&lt;/span&gt; &lt;span class="na"&gt;coords=&lt;/span&gt;&lt;span class="s"&gt;"34,24,270,350"&lt;/span&gt; &lt;span class="na"&gt;alt=&lt;/span&gt;&lt;span class="s"&gt;"africa"&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"https://africa.htm"&lt;/span&gt; &lt;span class="na"&gt;title=&lt;/span&gt;&lt;span class="s"&gt;"Visit Africa"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Example: Clickable World Map
&lt;/h3&gt;

&lt;p&gt;Taking into account all explained above, this far-from-perfect example demonstrates the use of an HTML image map&lt;/p&gt;

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

&lt;p&gt;Thank you for reading (and liking 😄)&lt;/p&gt;

</description>
      <category>todayilearned</category>
      <category>html</category>
      <category>webdev</category>
      <category>codepen</category>
    </item>
  </channel>
</rss>
