Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Ingolme last won the day on July 28

Ingolme had the most liked content!


Previous Fields

  • Languages
    C++, Java, PHP, SQL, Javascript, CSS, HTML

Contact Methods

  • Website URL

Profile Information

  • Interests
    Web development, drawing, videogames, foxes.

Recent Profile Visitors

191,605 profile views

Ingolme's Achievements

w3schools Guru

w3schools Guru (7/7)



  1. You can change how your website appears in Discord and many other places by using OpenGraph <meta> tags. You can read more about it here: https://ogp.me/
  2. You probably will have to find a forum where people specialize in Visual Basic. Almost nobody uses Visual Basic, I think even Microsoft discourages its use in favor of better maintained languages like C# or even Javascript.
  3. Those characters would be something like left arrows and right arrows. Your document's character set has not been specified. You need to do two things: In your code editor, make sure that the character encoding is set to UTF-8 before saving the HTML file. Add a <meta> tag in the <head> indicating which character encoding is being used in the document like the following: <meta charset="UTF-8">
  4. The information you pass to the send() method of the XMLHttpRequest object is just a string. The Javascript variable "data" does not exist in the HTTP request, it just holds the string "Test String" temporarily on the client side. The variable name "data" has to be included as part of the body of the request, like this: xhr.send("data=Test String");
  5. Spaces are important in HTTP requests. You've sent this to the server: "?d = data", so that key would be "d " and the value would be " data" If you remove the spaces it should work. It would be better to use $_GET than $_REQUEST to make it clear where the information is meant to come from. $_REQUEST also searches for data in POST data and cookies.
  6. The value of top has to be a number, it cannot be "absolute". "absolute" should be the value of the position property. The element which wraps around the overlay should have a relative position. I cut out some superfluous elements and changed some of the code back to what it was in the original W3Schools examples: https://www.w3schools.com/code/tryit.asp?filename=GSU8T8H7Z2IN
  7. It seems that W3Schools does not explain how to set up and use Python on the server-side, maybe because it is very common for people to use Python for programming on their PC rather than as a server-side programming language. I don't use Python myself, so I can't tell you how it works. This page seems to have some explanations: https://pythonbasics.org/webserver/
  8. There are only a few people on the forums and they all would have seen your topic by now. I don't think tags are going to change anything, but I can add them to the topic if you want.
  9. I've never made an app for Android so I can't answer that. If I intended to build an app, I would download Android Studio and build it there.
  10. Regarding answers to your topics, this is a forum where ordinary people sign up to ask or answer questions. The W3Schools staff are not actually directly involved, answers come from regular users like you. If nobody knows the answer to your question you may not get any answers.
  11. The reason you're finding code that prints all of the terms up to N is because that is what a progression is: a sequence of terms. Math.pow() already provides everything you need to find any one term in a geometric progression, which is why browsers will never implement a more specific function to do it. If browsers had a dedicated built-in function for every single little problem somebody wanted to solve there would be millions of them. The formula for a term is right on the page you linked to: TN = a1 * r(n-1) The code is simple: function geometricProgression(a1, r, n) { return a1 * Math.pow(r, n-1); } Putting into the HTML with the inputs and outputs it would look like this: Progression factor: <input type="number" id="factor" value="2"><br> Term number: <input type="number" id="term" value="1"> <button onclick="myExample()">Convert</button> <p id="exmpone1"></p> <script> function myExample() { var factor = Number(document.getElementById("factor").value); var term = Number(document.getElementById("term").value); document.getElementById("exmpone1").innerHTML = geometricProgression(factor, factor, term); } function geometricProgression(a1, r, n) { return a1 * Math.pow(r, n-1); } </script>
  12. Your initial array is already sorted. Try changing the numbers to be out of order.
  13. The value stored in i is still less than 6, you are just printing numbers larger than 6 without changing the value of i.
  14. You can use the attribute ^= selector on the class attribute. It would look something like this: [class^="col-"]. Though this will only match elements where the first class in the attribute begins with "col", it would not match <div class="something col-sm-4"> because the attribute starts with "something".
  15. There is no way for the server to predict what a computer's next IP address will be, so I can't think of any way it could work. If you happen to have a list of all the IP addresses that may be assigned to the computer you could allow all of them.
  • Create New...