Isn’t this question a bit backwards? Usually you write the html for the structure of what you want, and then you style it with CSS. Not write the html to try to fit some CSS. Have you studied html at all, so that you can provide a start with the code?
??? I don’t understand what you’re saying here.
What @WebMachine is saying is the “typical” method is to ensure your html is working before you worry about your styling. So including the css here is an unneeded distraction. Get your html working as you expect before you make it pretty.
That being said, this link will guide you on BOTH getting the HTML set up and getting an appropriate error response (hint: popups may not be the most pleasant way to handle these types of errors. There are more elegant solutions in the linked page.
If you’re having specific styling issues AFTER you’re applied some of the concepts here, please feel free to repost with your current page and styling.
Yes, and it’s been explained to you that your approach is the wrong way round. You should always start by ensuring you have well-structured HTML in place, and then add the CSS to it.
To have CSS first, you must have copied it from somewhere. I suggest you find the HTML that goes with your CSS, and use that as a basis to work from, adjusting it to suit your needs.
I copied this css from here where I am unable to find what it’s html. I am providing you a screenshot of alert. How it’s looking. But again if you want to watch live of alert please visit link and click green button “SUBMIT” the popup show automatically if it’s empty.
OK. When you visit that page, right-click on the alert, and choose “Inspect element” (or something similar) from the menu. The developer tools will show you the relevant HTML.
I’m the person who’s trying to help you, despite a certain lack of cooperation and some degree of belligerence on your part.
I was asking how you managed to copy the CSS to try to understand and to help you access the HTML. The best I can do in the circumstances is to tell you to wait until you have access to a computer and then follow my instruction above. Presumably you do have access to a computer somewhere, as you were taking a course in web design.