Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

233
Visualizações
Hiding calculations in HTML

i'm pretty new to coding and stuffs.. so i have website where it has a mortgage calculator, and i have trouble with hiding the calculations (I don't want the calculations to be visible)

I've tried using <!--- and ---> but it didn't work out,

Do anyone have suggestions?

<table class="table" style="line-height:1.5">
  <tbody>
    <tr>
      <td rowspan="3" valign="top" style="font-family:Avenir;">Harga Rumah</td>

    </tr>
    <tr>
      <td style="font-family:Avenir;"> = Rp <span id="hasil_harga_rumah">0</span> - Rp <span id="hasil_uang_muka">0</span></td>
    </tr>
    <tr>
      <td style="font-family:Avenir;"> = Rp <strong><span id="pinjaman">0</span></strong></td>
    </tr>
    <tr>
      <td rowspan="3" valign="top" style="font-family:Avenir;">Total Kredit</td>

    </tr>
    <tr>
      <td style="font-family:Avenir;"> = Rp <span class="hasil_pinjaman">0</span> + (Rp <span class="hasil_pinjaman">0</span> * <span id="hasil_margin">0</span>% * <span class="hasil_tenor">0</span> tahun)</td>
    </tr>
    <tr>
      <td style="font-family:Avenir;"> = Rp <strong><span id="total_pinjaman">0</span></strong></td>
    </tr>
    <tr>
      <td rowspan="3" valign="top" style="font-family:Avenir;">Cicilan / bulan </td>

    </tr>
    <tr>
      <td style="font-family:Avenir;"> = Rp <span id="hasil_total_pinjaman">0</span> / <span class="hasil_tenor">0</span> / 12 </td>
    </tr>
    <tr>
      <td style="font-family:Avenir;"> = Rp <strong><span id="cicilan_bulanan">0</span></strong></td>
    </tr>
    <tr>
      <td rowspan="2" valign="top" style="font-family:Avenir;">Persentase Cicilan</td>

    </tr>
    <tr>
      <td style="font-family:Avenir;"> = <strong><span id="persentase_cicilan">0</span> %</strong></td>
    </tr>
    <tr>
      <td colspan="2" style="font-family:Avenir;"></td>
    </tr>
  </tbody>
</table>

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Can you try adding the display="none" style property?
For example on a <div> tag:

<div style="display: none">
... calculator stuff...
</div>

If you can you should try using a Cascading Stylesheet instead of adding style attributes on html tags:
see for example the 'External CSS' part of https://www.w3schools.com/html/html_css.asp .
And here is some additional info on the CSS display property: https://www.w3schools.com/css/css_display_visibility.asp

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda