coding180 icon
Coding180

Common Interaction Methods


This chapter mainly explains how to input content into the webpage and how to interact with the browser window, which can be easily realized through simple object methods.

JavaScript - open new window (window.open)

JavaScript - open new window (window.open)

The open() method can find an existing or newly created browser window. For example: open the http://www.coding180.com website, the size is 30...

Date: 2022-11-16 10:50:34

JavaScript - close window (window.close)

JavaScript - close window (window.close)

Note: The above code closes the window while opening a new window, and the opened window cannot be seen. Task - Exercise. Supplement the seventh li...

Date: 2022-11-16 10:57:46

JavaScript interactive methods exercises

JavaScript interactive methods exercises

Make a new button, "Open website in new window", click to open a new window. Task 1. When a new window is opened, a confirmation box pop...

Date: 2022-11-16 11:01:21

Show and hide (display property) - Javascript

Show and hide (display property) - Javascript

Display and hide effects are often seen in web pages, which can be set through the display attribute. Syntax: Object.style.display = value Note:&n...

Date: 2022-11-16 11:37:17

user

Robort Gabriel

Lagos, Nigeria

Freelance Web Developer, Native Android Developer, and Coding Tutor.

Skills
  • UI / UX
  • JavaScript
  • Python
  • PHP
  • Kotlin
  • Java
  • Bootrap
  • Android
  • Laravel