Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

223
Views
Make html text bold but not the ejs variable next to the text

enter image description here

How do I make the "Guest signed up" and "Guests attended" text bold (from image above) while keeping the values not bold? Here's what I have now:

          <li class="list-group-item">Guests signed up: <%= guestSignups %></li>
          <li class="list-group-item">Guests attended: <%= guestAttends %></li>

I tried below and it dropped the values down one line and looked terrible.

          <li class="list-group-item fw-bold">Guests signed up: 
              <p class="fw-normal"><%= guestSignups %></p>
            </li>
          <li class="list-group-item fw-bold">Guests attended: 
            <p class="fw-normal"><%= guestAttends %></p>
            </li>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

you can wrap the string around a b or strong tag

or even a <span class="specialBoldFontClass"> with a custom class

 <li class="list-group-item"><b>Guests signed up:</b> <%= guestSignups %></li>
<li class="list-group-item"><b>Guests attended:</b> <%= guestAttends %></li>

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!