Any suggestions would be much appreciated guys…
1 Like
Your form looks good @Rashmi_Rajah. Some things to revisit;
- Codepen provides the boilerplate for you. It only expects the code you’d put within the
body
element in HTML. (No need to include thebody
tags). For anything you want to add to the<head>
element click on the ‘Settings’ button, then HTML and add it into the ‘Stuff for <head>’ box.- The link to the font goes in the box labeled ‘Stuff for <head>’
- Run your HTML code through the W3C validator.
- Since copy/paste from codepen you can ignore the first warning and first two errors.
- There are HTML coding errors you should be aware of and address.
- Codepen provides validators for HTML, CSS and JS. Click on the down arrow in the upper right of each section and then click on the respective ‘Analyze’ link.
- The one for CSS is good. Use it, there are things to clean up.
- (The one for HTML misses things which is why I recommend W3C)
- Don’t use the
<br>
element to force line breaks or spacing. That’s what CSS is for.
1 Like