Rothko Painting ( step 1 )
You can skip html, head and body tags just only writing DOCTYPE declaration.
1 Like
Please provide your actual code instead of a picture. Also, please provide a link to the challenge you are working on. Those together will help us help you. Thanks.
<!DOCTYPE html>
do I need to specify my browser version as well or doesn’t matter?
Ahha, this one. There is a bug report filed:
opened 10:11PM - 30 Dec 21 UTC
type: bug
help wanted
scope: curriculum
## Affected page
Several. One example is [Learn HTML Forms by Building a Regi… stration Form / Step 2](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-forms-by-building-a-registration-form/step-2)
## Your code
```
<!DOCTYPE html><html></html>
```
## Expected behavior
The hint for this step seems to indicate that the user must add the `html` element below the `DOCTYPE` (there must be at least one new line separating them).
Hint: "Your `html` element should be below the `DOCTYPE` declaration.:"
So the expected behavior would be that the user will not pass this step until they add the `html` element below the `DOCTYPE`.
## System
- Device: Desktop
- OS: Linux/Fedora 34
- Browser: Firefox
- Version: [e.g. 22]
## Additional context
This is happening for several courses. The regex used for this test is not enforcing the newline between the elements. If this requirement is important enough to be enforced then we should probably come up with one regex that enforces this requirement and use it for all courses.
Basically there is some strangeness between browsers and there is a fix in the works.
1 Like
system
Closed
July 21, 2022, 2:48am
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.