Add two elements to define fields for the user input. The difference between :placeholder-shown and ::placeholder:placeholder-shown is for selecting the input itself when it’s placeholder text is being shown. By using the code snippet below, you are selecting the placeholder inside your input, and any code placed inside will affect only the placeholder. The placeholder text is the text output for the user what is that input for. According to Mozilla Dev Network, placeholder is not a valid attribute on a