<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: What does this &amp;quot;a { }&amp;quot;  do to the code ? in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/What-does-this-quot-a-quot-do-to-the-code/m-p/765347#M33169</link>
    <description>&lt;P&gt;It can't get clearer than that,thank you himanshurauthan!&lt;/P&gt;</description>
    <pubDate>Tue, 07 Mar 2023 16:39:03 GMT</pubDate>
    <dc:creator>DOchieng</dc:creator>
    <dc:date>2023-03-07T16:39:03Z</dc:date>
    <item>
      <title>What does this "a { }"  do to the code ?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/What-does-this-quot-a-quot-do-to-the-code/m-p/764261#M33129</link>
      <description>&lt;P&gt;% set primaryColor = '#F7761F' %} {# defines variable and assigns HEX color #}&lt;BR /&gt;&lt;BR /&gt;a {&lt;BR /&gt;color: {{ primaryColor }}; {# prints variable HEX value #}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Sun, 05 Mar 2023 07:00:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/What-does-this-quot-a-quot-do-to-the-code/m-p/764261#M33129</guid>
      <dc:creator>DOchieng</dc:creator>
      <dc:date>2023-03-05T07:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: What does this "a { }"  do to the code ?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/What-does-this-quot-a-quot-do-to-the-code/m-p/764421#M33133</link>
      <description>&lt;P&gt;The code block you provided is using the Twig template engine syntax, which is commonly used in web development with PHP or other programming languages.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;In this code, &lt;CODE&gt;{}&lt;/CODE&gt; is an empty CSS selector, which means that the CSS rules inside the curly braces will be applied to all &lt;CODE&gt;&amp;lt;a&amp;gt;&lt;/CODE&gt; tags in the HTML document.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The first line &lt;CODE&gt;{% set primaryColor = '#F7761F' %}&lt;/CODE&gt; defines a Twig variable named &lt;CODE&gt;primaryColor&lt;/CODE&gt; and assigns it the value &lt;CODE&gt;#F7761F&lt;/CODE&gt;, which is a hexadecimal color code.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Then, the CSS rule &lt;CODE&gt;color: {{ primaryColor }};&lt;/CODE&gt; is applied to all &lt;CODE&gt;&amp;lt;a&amp;gt;&lt;/CODE&gt; tags. The &lt;CODE&gt;{{ primaryColor }}&lt;/CODE&gt; syntax is used to print the value of the &lt;CODE&gt;primaryColor&lt;/CODE&gt; variable, which is the hexadecimal color code &lt;CODE&gt;#F7761F&lt;/CODE&gt;. Therefore, all &lt;CODE&gt;&amp;lt;a&amp;gt;&lt;/CODE&gt; tags will have the text color set to &lt;CODE&gt;#F7761F&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 07:40:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/What-does-this-quot-a-quot-do-to-the-code/m-p/764421#M33133</guid>
      <dc:creator>himanshurauthan</dc:creator>
      <dc:date>2023-03-06T07:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: What does this "a { }"  do to the code ?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/What-does-this-quot-a-quot-do-to-the-code/m-p/764828#M33146</link>
      <description>&lt;P&gt;All very well explained and accurate, but just for anyone reading, the language is HubL and not Twig, although they're both similar in that they're based on Jinja.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But HubL is exclusive to HubSpot (&lt;A href="https://developers.hubspot.com/docs/cms/hubl" target="_blank" rel="noopener"&gt;HubL Syntax&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Stephanie O'Gay Garcia&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A style="cursor: pointer; text-decoration: none; color: #000000;" href="http://www.stephanieogaygarcia.com?utm_source=HubSpotCommunity" target="_blank"&gt;Freelance HubSpot CMS Developer&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.stephanieogaygarcia.com?utm_source=HubSpotCommunity" target="_blank"&gt;Website&lt;/A&gt; | &lt;A href="http://www.stephanieogaygarcia.com/contact?utm_source=HubSpotCommunity" target="_blank"&gt;Contact&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 19:15:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/What-does-this-quot-a-quot-do-to-the-code/m-p/764828#M33146</guid>
      <dc:creator>Stephanie-OG</dc:creator>
      <dc:date>2023-03-06T19:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: What does this "a { }"  do to the code ?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/What-does-this-quot-a-quot-do-to-the-code/m-p/765347#M33169</link>
      <description>&lt;P&gt;It can't get clearer than that,thank you himanshurauthan!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 16:39:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/What-does-this-quot-a-quot-do-to-the-code/m-p/765347#M33169</guid>
      <dc:creator>DOchieng</dc:creator>
      <dc:date>2023-03-07T16:39:03Z</dc:date>
    </item>
  </channel>
</rss>

