+ 1

how can I delete an information from a website through coding

still learning web development guys help

7th Dec 2018, 9:16 AM
Norbert Oketch
Norbert Oketch - avatar
3 odpowiedzi
+ 3
As alternative to the css method stated by Rstar (wich doesn't technically "delete" the information from the page content but only hide it), you can use JS to select an element and remove it... or select the element and change it's innerHTML or innerText property to remove part of it. https://developer.mozilla.org/en-US/docs/Web/API/Node/removeChild
7th Dec 2018, 9:47 AM
visph
visph - avatar
+ 5
You can hide it by changing css attribute display of the element that you want to hide display:none; https://www.w3schools.com/jsref/prop_style_display.asp
7th Dec 2018, 9:21 AM
Rstar
Rstar - avatar
0
Visph I think I can try that buddy
7th Dec 2018, 9:54 AM
Norbert Oketch
Norbert Oketch - avatar