JavaScript can change HTML content.

  • BestBuy (Official Account)

    BestBuy (Official Account)

    alexahchen (179 )100%
    Save this seller

    <html> <body> <p id="demo">JavaScript can change HTML content.</p> <button type="button" onclick="document.getElementById('demo').innerH...read more

    BestBuy (Official Account)

    <html> <body> <p id="demo">JavaScript can change HTML content.</p> <button type="button" onclick="document.getElementById('demo').innerHTML = 'Hello JavaScript!'"> Click Me!</button> </body> </html>

    Comments?
    Cal Link