Simple typo Looks like you misspelled âRequiredâ for your HTML Validation for the name
@Karma Please note, you can find these errors by clicking on the red button when a test fails. Be sure and read more than just the first line of the failing message.
You should revisit your form, there are too many things that were copied from the sample project (html & css) to be original.
Make the project from scratch, with your own code, style and content. Donât take code from the sample project.
- The projects arenât just another challenge. Each one is meant to be a significant step in your progress. Every project you do will require research, planning, trial and error, and strengthening your skills beyond what you gain from the incremental challenges.
thanks a lot i will re do it now
thanks so much, bro I really appreciate
Youâre still using .form-group
. I know thatâs not original and you never use it.
Some other 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. - Run your HTML code through the W3C validator.
- There are HTML coding errors you should be aware of and address.
- Mentioning because you have elements out of order. Everything the browser renders belongs in the
body
element. Review this for an understanding of the HTML boilerplate tags.
- 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 and address the issue(s). Be careful of duplicating selectors.
- (The one for HTML misses things which is why I recommend W3C)
- This,
</br>
is not a valid HTML element. And along with that, do not use the<br>
element to force line breaks or spacing. Thatâs what CSS is for. - Make your page responsive. Remember, the R in RWD stands for Responsive
- Thereâs a horizontal scrollbar on smaller screens
wow! thanks so much bro i really appreciate all your efforts in giving me the right corrections i have really learnt a lot from u here already, u have opened my eye to a whole lot of stuff that i donât know before because am new in all this and believes i can always be better and u are helping me get better, just started all this from scratch on the 14th December and am never giving up, is like i will be disturbing you with my challenges bro please donât be offended anytime i send my challenges to u to verify them before i submit, please
Youâre not disturbing me but it looks like not much was done.
Previously I said;
- 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 â box.- Mentioning because you have elements out of order. Everything the browser renders belongs in the
body
element. Review this for an understanding of the HTML boilerplate tags. - This is still ongoing in your pen. Youâve mixed up the
head
andheader
elements. Please read the link about the boilerplate elements.
- Mentioning because you have elements out of order. Everything the browser renders belongs in the
Also said,
- Make your page responsive.
Thereâs been no improvement on the way the page displays on smaller screens.
Some things to help, start with the narrow view (mobile) design first and then work your way wider, adding breakpoints where needed for the wider design.
In yourbody
declaration youâve given side margins that total 600px. Itâs better to use relative units like percentages, rem or em units for widths rather than hardcoding pixels.
To help see how youâve got elements defined, add the following at the first line in your CSS. It should help you with responsiveness;
* {
border: solid 1px red;
}
thanks a lot for all your help and corrections i really appreciate them, please re-check them again i have done some corrections. God bless u bro
-
You forgot to close the opening
form
tag (missing>
). -
You forgot the closing div tag for the
.name
div element.
thanks so much, i really appreciate this
That looks a lot better @Karma. A couple of things,
- the addition of the
border
in the universal reset was meant to be temporary so you could see what your elements look like - on smaller screens, the default text in the dropdowns cannot be seen
All tests pass and your page is responsive.
Look forward to seeing your next project.
My mentor please help me am seriously stocked here on styling, please give me clues on what to do and how to go about it , the header styling and logo styling is seriously messing me up for days now on this my product landing page
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.