Skip to content

Tag: html

Expand background jQuery trigger not working

The goal is when you click on the image behind the red square, the red square expands to the whole webpage. But the moment after you clicked on the image the transition plays like this… …and ended like this. when you click on the red expanded square it transitions perfectly back to this, but in a …

How to filter numbers in a drop down list?

I have an HTML table with a numeric variable called statut. The statut variable is a drop-down list, it has two values -> 1 and 9. The method in typescript seems to be correct I think my problem is the HTML, how to make the HTML know that it must filter a number and not a string? Thank you for

How can I place two statements on same line?

I just need both statements on the same line. This must be simple!! (but I cant do it!) Thanks Answer p is representing a paragraph and therefore is (usually) a block element. For what you are doing, you would be better served with using an inline element like span. Making the element inline will lead to both…

Show rating stars in react not showing any stars

I am building website of Mangas where each Manga has star reviews. I am done with backend but since I am very new to react, I can not figure out how to display stars on webpage. I’m developing it in Django so: id=”{{ rating }}” is a loop where I display each manga with title, rating and so o…

When click button change text in code tag

I’m trying to make a code box you can see in image . My question is how can ı change code in code tag when click another language button ? Answer You have to put some Javascript code. If click on JavaScript tab, display none PHP tab data and if click on PHP tab, display none the Javascript tab data.