Ready to get started?Download WordPress


Question About Learning JavaScript (3 posts)

  1. 4795209
    Posted 8 months ago #

    Hi! I'm learning JavaScript and wanted to test out some coding on a demo self-hosted site I have. What surprised me was when I entered a few lines of basic JavaScript coding and tried to set the page up to be password protected, the JavaScript seemed to cancel out the password protection aspect. After I deleted the JavaScript and reset the password to something different, it worked again.

    I'm a 100% newbie to JavaScript but am very familiar with HTML and WordPress and want to make sure I understand cause and effect.

    Can anyone please help me understand what happened and why?


  2. ClaytonJames
    Posted 8 months ago #

    I can't say what happened, but there is some basic documentation on Using Javascript in WordPress. Maybe something there will help point you in the right direction.

  3. 4795209
    Posted 8 months ago #

    Thanks for the link. I'll read everything through and see what comes.


You must log in to post.

About this Topic