Tests don't check tags' case sensitivity in "Basic HTML and HTML5: Inform with the Paragraph Element"
See original GitHub issueDescribe your problem and - if possible - how to reproduce it
If you use uppercase P
tags in this challenge, tests will output:
Make sure your p element has a closing tag.
That took me a good few minutes of tinkering with the code here and there, refreshing the page and trying different placeholder texts to realize that I accidentally typed an uppercase <P>
in the opening tag and autocompleted that with TAB
to </P>
.
Solution: either adjust autocompletion to convert tags to lowercase or include check for case sensitivity of tags in tests.
Add a Link to the page with the problem
Basic HTML and HTML5: Inform with the Paragraph Element
If possible, add a screenshot here
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
FreeCodeCamp: Basic HTML and HTML5 | by Eleftheria Batsou
The ! and uppercase DOCTYPE is important, especially for older browsers. The html is not case sensitive. Next, the rest of your HTML...
Read more >Basic HTML and HTML5: Inform with the Paragraph Element
In this HTML / HTML5 tutorial we practice one of the core HTML elements, the paragraph tag.This is a short tutorial in which...
Read more >Are HTML5 Tags Case Sensitive? - ThoughtCo
New web designers may wonder whether HTML tags are case sensitive. While the short answer is that HTML tags aren't case sensitive, there...
Read more >HTML Elements - W3Schools
HTML tags are not case sensitive: <P> means the same as <p> . The HTML standard does not require lowercase tags, but W3C...
Read more >Are HTML5 tags case sensitive ? - GeeksforGeeks
We will see the example related to it for more understanding. All the HTML elements/tags are case-insensitive. Case-insensitive means the tags/ ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@DarthOstrich seeing you’re not up to this yet afaics I’m gonna give it a try
I’d like to tackle this!