Jump to content


Popular Content

Showing content with the highest reputation since 04/25/2020 in all areas

  1. 1 point
    Usually a decent editor would highlight something like this, it would give you the ability to collapse these containers to identify misplaced opening or closing tags. You can also use W3C html validator.
  2. 1 point
    You might need to upgrade your version of Edge. The <details> tag is not supported in versions prior to 79.
  3. 1 point
    Surprisingly, we get people putting their usernames as a topic title quite frequently. I don't know why.
  4. 1 point
    You should go through the effort of learning PHP rather than asking people to write code for you. Most of us have jobs and can't spend the time writing code if we're not getting paid for it, but just to illustrate my previous post, I'll write the code for this example. <?php if($_SERVER['REQUEST_METHOD'] == 'POST') { $data = [ 'tag' => implode(',', $_POST['txt']), 'year' => $_POST['year'], 'month' => $_POST['month'], 'day' => $_POST['day'], 's' => $_POST['s'] ]; $target = 'http://test.com/class/category-photography/?' . http_build_query($data); header("Location: {$target}"); exit; } ?> <!DOCTYPE html> <html> <body> <form method="POST"> <input type="checkbox" name="txt[]" value="photo">With tag1<br> <input type="checkbox" name="txt[]" value="pic">With tag2<br> <input type="checkbox" name="txt[]" value="cream">With tag3<br> <input name="year" value=""> <input name="month" value=""> <input name="day" value=""> <br> <input name="s" value=""> <br> <button type="submit">Search It!</button> </form> </body> </html>
  5. 1 point
    All those new Javascript features are just syntactical sugar. Since they don't do anything particularly useful besides that, I generally don't use them since I prefer my websites to be accessible to the widest range of people. Now if Javascript introduced something useful like strict typing or passing primitive values by reference I'd be more in favor of pushing for new versions of Javascript.
  6. 1 point
    Oh no, Ingolme!!! It seems to be an interesting behaviour of window.getComputedStyle() and getPropertyValue("text-decoration") Its important to note, that the exercise checks for the existence of none inside this property value. On Firefox, when you've defined the text-decoration as none it actually removes the text-decoration-line(default: underline) and text-decoration-style(solid) keywords from the text-decoration property value. So you're only left with the text-decoration-color. Hence the process fails. On Chrome, text-decoration is property that seems to be directly combined from text-decoration-line, text-decoration-style, and text-decoration-color. Hence none exists, the process succeeds, and the question is marked correct. If the question checked for text-decoration-line instead of generic text-decoration, this question would no longer be an issue. I agree, this is very interesting stuff!
  7. 1 point
    Whether I agree with you or not, this isn't a place for politics, it's a place of learning and you should feel privileged that you are able to join a place such as this which offers FREE advice! I suspect your "blacklisting" of this redound website will have zero effect on its future. Goodbye!
  8. 1 point
    And all of the w3schools ad space is google powered, which only shows you what you've been looking at before that. If you do not like an ad, you can always report it in the corner of said ad if it says "powered by Google"
  • Create New...