I've been trying to style the postal code like the staff version, but without success. The code runs if I enclose <%- postal_code %>
with the <span>
tag, but if I try to add an id, something like
<span id="me">
or <span style="color:blue">
,
then the code doesn't run and I get this error at the console Uncaught SyntaxError: missing ) after argument list
, and this points to the line in the scripts.js.
I know the staff solution added a specific styling to styles.css
, but I can't quite grasp how to encapsulate the variable to activate that styling. Any hints would be appreciated :)