Declan is creating a web page and wants a pop-up box to ask the user to enter their name how can this be accomplished.

by using a prompt function in CSS
by using a prompt function in HTML
by using a prompt function in JavaScript
by using a prompt function in Python

For creating a pop-up box where the user can enter their name, you can use a prompt function in JavaScript. Here is an example code snippet:

```javascript
var userName = prompt("Please enter your name:");

if (userName != null) {
alert("Hello " + userName + "! Welcome to our website");
} else {
alert("You did not enter your name. Please try again.");
}
```

You can include this script within a <script> tag in your HTML file to make the pop-up box appear when the page loads. Remember to use appropriate styling in CSS to make the pop-up box visually appealing.