Sample prompt:
Create an HTML file that uses a JavaScript function.
- The function prompts users to input a list of URLs separated by line breaks. For each URL entered, the function will extract the domain and display it in a formatted list.
- The list should present just output files. Don’t include the input. The list should be named: "Output:"
- To enhance the user experience, style the HTML with CSS. Use an appealing layout, fonts, and colors.