Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 08/06/2020 in all areas

  1. You can add a <meta> robots tag to the page telling search engines not to index the page. <meta name="robots" content="noindex nofollow">
    2 points
  2. Hi All! I'm the coding projects manager at [link removed] and I'm very thrilled with W3Schools' latest developments. These signed-in learning paths and forums are great! I'm from New York, and Ruby on Rails is what I/we code with the most. But I'm excited to be learning more here at W3Schools. If any of you are interested, we have a bustling and supportive coding community at [link removed] --- we are the world's first not-for-profit social media community, where we help our members worldwide DIVE for their big BREAKs in life. I hope you'll come check it out--not only are we always looking for new members, but we're always looking for new volunteers to join our official team! Nice to meet each of you! -Monroe
    2 points
  3. That was the days of html4 with strict doctype no longer supporting it, it was my main gripe as there was not cross browser support for anything else similar, so you had to use transitional doctype which allowed iframes. Then whoever realised what a major blunder they made, and it was resupported in html5
    2 points
  4. Just get started on your 10,000 hours. I used the w3schools tuits for my start.
    2 points
  5. 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">
    1 point
  6. 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/
    1 point
  7. Waiting for a Reply.
    1 point
  8. Is thee any New HTML and CSS learner or coder with whom I can learn or practice Coding Learning? Please contact with me and let's begin...! Note: I wan some effective suggestion from which I can a Website Designer or Programmer or a Full Stack Web Developer. It;s my dream to be a Full Stack Web Developer, Please HELP Me. Thanks.
    1 point
  9. A have a list in Python : numbers = [ 5, 7, 2, 6, 1, 3, 44,14, 9 ] how to do a function to sort (ascending or descending) this list, but putting even numbers first, odd numbers in second place? ( see result below) sorted_numbers= [ 2, 6, 14, 44,1, 3, 7, 9]
    1 point
  10. You have defined a function, but are not calling it. The code in a function only runs when the function is called. See the "function invocation" section in the Javascript tutorial: https://www.w3schools.com/js/js_functions.asp
    1 point
  11. There's no need to show the code that he wrote, it's the code that is on the tutorial page: https://www.w3schools.com/howto/howto_js_slideshow_gallery.asp The topic is asking how to put two of them on the page at the same time without duplicating the Javascript. I've answered this one already. The problem can be solved by attaching events using Javascript instead of as an HTML attribute.
    1 point
  12. Yes, it will prevent anybody from seeing the blocked paths, whether they're search engines or people.
    1 point
  13. Study all aspects of CSS, then you'll have it all covered to pass.
    1 point
  14. Apart from where it will only show the last option everytime. (.= required to append each option) $statelist .= "<option value='".$states."'>".$states."</option>";
    1 point
  15. Oh, I see you were referring to the website account rather than the forum account. I'm afraid I cannot really help, but you can send an e-mail to help@w3schools.com to see if they can resolve your issue.
    1 point
  16. Hi all, Joined the site learn and master the art of Java and other skills. This is my attempt to changing my career path from the healthcare industry to the technology side. Hoping that Java will be a stepping stone for a more fulfilling career.
    1 point
  17. Hi Adam nice to hear from you. Your web site is really nice. Good job on that. I'm joined this site to improve on some of my skills. I do a few chapters now and then. I don't think I'm qualified or good enough to be a teacher.
    1 point
  18. "Width" and "Height" are used for the width and height of the image. Whereas "alt" is used when there is no image displayed on the page. Means if there is a wrong source of image is given then text in the alt will display.
    1 point
  19. Alt shows the ALTernative text if image failt to load. The width and height as they suggest allows you add these dimensions in 'px', most of the time this is controlled by css, but these can help set the size beforehand and prevent layout jumping as images fill there occupying locations.
    1 point
  20. It is impossible to protect HTML code, but I will do what you asked. Here is the above code without password: <html> <head><title>Encryptor</title></head> <body> <div id="thecode" style="display:none"> &lt;script&gt; document.write(unescape("thecode")); &lt;/script&gt; &lt;noscript&gt;JavaScript must be enabled in your browse in order to see protected page.&lt;/noscript&gt; </div> <script> function do_encode() { orig = document.getElementById("as1").value; thecode1 = document.getElementById("thecode").innerHTML; thecode1 = thecode1.replace(/&lt;/g,'<'); thecode1 = thecode1.replace(/&gt;/g,'>'); thecode1 = thecode1.replace(/&amp;/g,'&'); orig1 = thecode1.replace(/thecode/,escape(orig)); document.getElementById("as2").value = orig1; } </script> <b>Enter your HTML code to be encrypted:<br></b> <textarea id="as1" rows="10" cols="50"></textarea><br> <button onclick="do_encode()">Click Here to Encrypt and Password Protect Your HTML</button><br> <br> This is your protected HTML page text. Save this text as an HTML file:<br> <textarea id="as2" rows="10" cols="50"></textarea> </body> </html>
    1 point
  21. Would be great if you had a special chapter devoted to creating website that has an index on the left side which updates the highlighted text in response to the user scrolling up and down on the right side. For example: https://docs.spring.io/spring-data/commons/docs/current/reference/html/#reference. I do realize that there's probably enough on the html tutorial to eventually be able to hack this thing together on your own, but I think it deserves its own special section/chapter. Thanks.
    1 point
  22. the tag you need is <abbr title="test to appear on hover">thing to hover over</abbr>
    1 point
  23. I have been dabbling for some time and still consider myself a newbie. If I can lend a hand in any way I will. But I would suggest taking Niche's advice and just get on with it. I would also suggest starting simple and build on that. At the moment, I am doing a Tribute page project which is part of the curriculum on Free Code Camp. But if you want my advice, in terms of learning to code and build websites, w3schools is number 1 for learning. Others are ok, but you will always find yourself coming back here. The tutorials here are clearer and concise and much better to understand. Just using w3schools will increase your working knowledge and understanding of coding. Good luck! Jayne🤠
    1 point
  24. its a vertical-align issue, of all the ones to give it, they give it one that give a space at bottom. many ways to fix it, change default vertical-align, display: block, for img, font-size: 0; line-height: 0; for parent.
    1 point
  25. It's the http root which is not the same as your file system root. This is because you don't want to put your entire file system online. It is configurable on your file server. And the first part of the URL is handled by a DNS lookup, so that vistor to your site are directed to your computer at whatever IP address it has been registered. So say you are using Apache on a server running Linux then there will be a file called /etc/httpd/conf/httpd.conf In that (text) file will be a line saying something like: DocumentRoot "/srv/http" The actual file that visitors access thus will be /srv/http/images/picture.jpg but your web pages can reference them as /images/picture.jpg
    1 point
  26. Please, leave the moderating to the moderators. While the General forum is described as general discussion about W3Schools.com, we do allow topics that don't fit other categories to go there. The guidelines are just guidelines, not necessarily strict rules. The guidelines are written this way to make it more likely for somebody to have their question answered. With that out of the way, it's not a good idea to just sign up to the forums to recruit people. On these forums, what people can offer you is advice about coding, software design and even game design if you need it. To start, you will need to describe in which areas you need help. There's a whole lot more to game development than programming, in fact, programming is only a small part of it.
    1 point
  27. That's a start. This is the place to learn some of the other scripting languages you'll need to know and work out the bugs in the code that you'll need to write.
    1 point
  28. Please read our guidelines: [topics] Must be a Specific Problem or Question related to web design and developmen Do you code?
    1 point
  29. No it is not found twice in the DB. Meanwhile I made a little search and what finally solved the issue is that intead of tracking keyup I used the input event...that solved it. Follows part of the event handler(JS) so you can understand what I am talking about. $('#search').on('input', function(e) { e.preventDefault(); var searchKeyword = $.trim($(this).val()); if(searchKeyword!=='') {//// tell me what you think...
    1 point
  30. Good. You have many options for your local developer environment I recommend this for starters: https://www.wampserver.com/en/ It's completely free. You don't even have to register. They don't care who you are. It's the localhost I use. Their download is clean. No viruses, malware, spyware, etc. EDIT: Still, run their dl through your virus scan before using it!!
    1 point
  31. Hi Ingolme Thank you once again! I was away for a while due to the holidays and an illness in the family. For some reason, the SVG filter is not being applied to the canvas cPreview, but is being applied to the canvas cSave. Do you have any thoughts on why this may be happening? Here's my code: <style> #cSave { filter: url("#svgCOLOR"); } #cPreview { filter: url("#svgCOLOR"); } </style> <!-- SVG Declaration --> <svg xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml" width="2" height="1"> <defs> <filter id="svgCOLOR"> <!-- Matrix values will eventually be adjustable using a range slider control --> <feColorMatrix type="matrix" values="2 0 0 0 0 0 1 0 0 0 0 0 2 0 0 0 0 0 0 1" /> </filter> </defs> </svg> <!-- CANVAS cPreview --> <canvas id="cPreview" width="2" height="1" style="position:relative; max-width:100%;"></canvas> <!-- CANVAS cSave --> <canvas id="cSave" width="2" height="1" onclick="clickPreview()" style="position:relative; max-width:100%;"></canvas> Thank you!
    1 point
  32. The first slash is directory root for more subfolders before images folder.
    1 point
  33. It's not an array because you overwrote the array with an object of type "component" on this line: gameObstacle = new component(10, 200, "green", 300, 120);
    1 point
  34. That worked. At one point I was close, only a . away! Thanks!
    1 point
  35. hy..i happy learn programming !!!
    1 point
  36. /*This refers to browser viewport width*/ @media screen and (max-width: 575px) { /*this should refer to a selector of element/s, class/s, id name to apply style display block, as you normally would ie*/ div, .classname, #idname{ display: block; } }
    1 point
  37. lol... I'm getting my post mixed up. I figured out how to make a flexbox to replace an old table. Now I'll try this!
    1 point
  38. .w3-display-container { overflow: hidden; } .w3-display-container img { max-width: 100%; max-height: 100%; height: 100%; width: 100%; object-fit: cover; } But! your img containers are not! fixed width! or height!
    1 point
  39. The more general solution would be to have a string containing the name of the method and use the square brackets notation to access it. var methodName = "toUpperCase"; var str = "Hello World!"; var result = str[methodName](); This solution only works with methods that don't take arguments, of course.
    1 point
  40. Use window.open() to open a URL in a new tab.
    1 point
  41. 1 point
  42. Hi Myself imran ali i am a programmer i have 5 years of exp. i like html, css, js, bootstrap, amp, ionic 4. i am also a blogger my blog related to programming w3codemasters
    1 point
  43. <div class="navbar"> <a href="#home" class="bkcolor1">Home</a> <a href="#news" class="bkcolor2">News</a> <div class="dropdown"> <button class="dropbtn bkcolor3">Dropdown <i class="fa fa-caret-down"></i> </button> <div class="dropdown-content"> <a href="#" class="bkcolor4">Link 1</a> <a href="#" class="bkcolor5">Link 2</a> <a href="#" class="bkcolor6">Link 3</a> </div> </div> </div> .bkcolor1{background: "red";} .bkcolor2{background: "orange";} .bkcolor3{background: "yellow";} .bkcolor4{background: "green";} .bkcolor5{background: "blue";} .bkcolor6{background: "indigo";}
    1 point
  44. Hello, everyone. I'm going to be working on becoming a web developer. I'm probably more interested in back end developing but hoping to learn as much as I can as I would like this to be my next career. I love gaming. I do live streams sometimes. I am currently a house husband and raising and will be home schooling our 7 year old daughter. My time will be pretty full. Anyway, so far I'm really enjoying w3school. I love how it's totally free. I'm not rich so this is best avenue for me to learn atm. I'm also using the free part of codecademy and bitdegree. I just started about a week ago so very new still. I recently moved from Oregon to Iowa. Loving the slower pace of life out here and how less crazy and crowded everything is out here. Love the price of houses out here also. Anyway, that about wraps it up for me. I have a question though. Is there a way to create a profile on w3schools so it will remember my progress or do I just need to notate somewhere where I leave off?
    1 point
  45. Hi, guess I'll introduce myself as well: I'm Jurgen, from Belgium. I'm actually by skill a strength and conditioning coach (which I do as a side-hustle), and always have mostly worked lower management and sales jobs, but through sheer circumstances am now also working on websites. However I'm still a very big amateur, so expect frequent questions about sometimes very basics things hahahahahah.
    1 point
  46. Hi I've written one article on Introduction to Python . Do read once and suggest me if yoy have any feedback.
    1 point
  47. If you understood, then you would be doing it correctly. Please stop to read carefully, I've explained it very clearly. The link (or button) needs an href attribute. That attribute has a URL pointing to the page and position to which you want to go. The hash is the important part of the URL. You can call it "bottom", or "end" or "anything", it doesn't matter what you call it, it's just an identifier for a part of the page. Here's your button: <a class="button hexagon" href="#abcdefg">Chcete se dozvědět více?</a> This piece of code has to be at the very end of your code, as far down on the page as you can put it. This is where the browser will go when you click on the button <span id="abcdefg"></span> You'll notice I used a <span> instead of a <div>. That's because it doesn't matter, you can use anything you want as long as the ID attribute has the right value. Here's a page in the W3Schools tutorial which explains exactly how to do it if you read carefully. Read the "HTML Links - Create a Bookmark" section: http://www.w3schools.com/html/html_links.asp
    1 point
×
×
  • Create New...