question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tests don't check tags' case sensitivity in "Basic HTML and HTML5: Inform with the Paragraph Element"

See original GitHub issue

Describe 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

error

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
thecodingaviatorcommented, Oct 18, 2018

@DarthOstrich seeing you’re not up to this yet afaics I’m gonna give it a try

1reaction
DarthOstrichcommented, Oct 2, 2018

I’d like to tackle this!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found