Assign div text to variable then show it

后端 未结 3 1012
一整个雨季
一整个雨季 2021-01-27 08:39

I have a simple task I\'m trying to accomplish learning JavaScript but haven\'t been able to find a clear answer. Here\'s the code;



        
3条回答
  •  清酒与你
    2021-01-27 09:13

    First of all, your JavaScript should find the element you address. Hence you need to put your

    Finally, for testing purposes you'd better use console. To make your script output values to the console, use console.log().

提交回复
热议问题