Jump to content


Popular Content

Showing content with the highest reputation since 12/21/2019 in all areas

  1. 1 point
    While you find a way to make an example out of your code, here are some tutorials you could follow for the effects you requrie. In the meantime you may want to have a look at the following tutorials: https://www.w3schools.com/jsref/event_onclick.asp For your Click Event https://www.w3schools.com/js/js_htmldom_css.asp For your color change https://www.w3schools.com/js/js_htmldom_html.asp To change the ?'s to numbers If you have any more questions, please let me know. In thread please.
  2. 1 point
    Without the code I can't directly advise, however you should be able to use a click handler on those buttons, change the clicked button to blue (either apply class or direct style), and then display another one of those buttons where you'd like them to appear. The last one would be a lot more dependent on how it all works to begin with.
  3. 1 point
    Be aware that the recent version of Firefox is having some issues with some of the exercises. As an alternative, Chrome works just fine on this question.
  4. 1 point
    Hi, I have been working on the design of this website https://www.mockofun.com and I would really like some constructive criticism. What do you think about the logo, the blue & orange color combination, the fonts, etc? Do you think the design is too busy? Thank you in advance!
  5. 1 point
    The flags are wrapped in <div> tags, so they're blocks and force adjacent content to the next line. It's easy to fix. All of these divs have a class "svg-flag", so you can just display them as inline blocks. You can add vertical-align to better align them with the text. .svg-flag { display: inline-block; vertical-align: middle; }
  6. 1 point
    If you want to send an email based on form submission, then you'll need to use a server-side programming language. Try the PHP tutorial, and proceed onto PHP Forms for Form Handling. Then check out the mail() function after that. You can take a look at other server side languages but PHP is my bias.
  7. 1 point
    You can use an internet address as the src attribute of the iframe and it will work without any problem. If you write HTML between the iframe tags, that won't work. The browser ignores it. I'm referring to code like this: <iframe> <table> <tr> <td>...</td> <td>...</td> <td>...</td> </tr> </table> </iframe> That table gets ignored, the only thing that gets shown in the iframe is whatever is in its src attribute.
  8. 1 point
    "+" is used for string concatenation. If the values are strings then they will use the string version of the "+" operator. You have to convert the value to a number before operating in order for it to work as you intend it to. var x = Number(byyr.value); var y = x + 1;
  9. 1 point
    Thank you, Funci, for your very hard effort. Together we nailed the source of the problem. And, thank you, Ingolme, for providing the solution. Once again, I wish Ingolme, Funci, Dsonesuk, and everyone else at W3Schools a very Happy New Year! Roddy
  10. 1 point
    Try using this way : <button onclick = "someFunction()">Button</button> Else you can even try : <button class="someFunction">button</button> <script> $(".someFunction").click(function(){ alert("This is a function"); }); </script>
  11. 1 point
    The error message you are getting indicates that the PHP version is most likely the issue. Make an empty PHP file and run the phpversion() function to verify that the version is what you need it to be.
  12. 1 point
    I can stick around for a while Roddy. Just grabbed lunch(Oh New Zealand time) so I'm quite clear for the next few hours.
  13. 1 point
    The $lang_type variable is only being created on specific conditions, if these conditions are not met then you will get a warning. You should initialize $lang_type with a default value outside of all of the if statements.
  14. 1 point
    position: fixed takes the element out of the flow of other elements, other elements will occupy the space it would have occupied, so you need to add padding the same height as the w3--top element to force it back into view.
  15. 1 point
    Attribute autocomplete="off" https://www.w3schools.com/tags/att_input_autocomplete.asp https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_autocomplete
  16. 1 point
    Are you sure this isn't just your browser's auto-fill? Like this 'tooltip' only includes what you've previously written into similar fields?
  17. 1 point
    HTML without CSS is practically useless in the modern web. If you don't know CSS in depth then you might as well not know HTML. CSS appears simple on the surface but it is actually more difficult to master than many people think. If you intend to be a full stack developer, it is usually a good idea to master the front end before moving on to the back end.
  18. 1 point
  19. 1 point
    If you truly have that many followers on those websites and are the director of technology at your company, you should take caution before taking such rash actions because your reputation is on the line. A majority of the people are going to look at what you're saying and conclude that you are an unreasonable person as you're complaining about something that is completely outside of the control of W3Schools.
  • Create New...