Posts by Filipe Neves • 55 points
4 posts
-
1
votes1
answer30
viewsA: How to insert an image and move the text by hovering the mouse on the button?
#botao_genero { display: flex; justify-content: center; align-items: center; width: 241px; height: 56px; border: 0; outline: 0; padding-left: 8px; margin: 10px; background: #FFFFFF; border-radius:…
-
1
votes2
answers71
viewsA: How to define a dynamic named CSS property via Javascript?
If it is just a type of property, you can use the style attribute itself, which contains all CSS values, both for query and for change: const color = "blue"; element.style.backgroundColor = color;…
-
-2
votes1
answer47
viewsA: Save button
You can use Local Storage Definition by documentation: The localStorage property allows you to access a local Storage object. The localStorage is similar to sessionStorage. The only difference is…
-
0
votes1
answer31
viewsA: how to tag
You can use the logic of calling the parent element with .parentNode and then use the .removeChild() in the element you want to remove. this.script.parentNode.removeChild(this.script);…