Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 03/19/2023 in Posts

  1. If you set the margin of the <ul> element to zero it should remove the space between the divs. The <h1> margin also has an effect and might also need to be set to zero.
    1 point
  2. Hello coders, I have been coding for a while now and I learned most of the coding from W3Schools and YouTube. I have built the following blog using PHP and MySQL. Here is the website: https://farrisblog.farrisfahad.com/ I am also selling it on CodeGrape if you are interested: https://bit.ly/3vZ1lN9 Let me know what you think Thank you, Farris
    1 point
  3. Good day Please advise if I get full lifetime access to the Data Analytics Certification Course from W3 Schools once I purchase it? Regards Rob3RT
    1 point
  4. Having a marketplace is a good idea. But, the market is pretty saturated. Some developers have luck selling things like WordPress themes and plugins. There are sites out there which allow you to sell code. But, there's so much plagiarism and theft that it's almost impossible to stop people from stealing your web code. As soon as you stop one person from doing it, 5 new ones pop up. I think that a lot of devs do good by offering free versions of their stuff to gain an audience and then sell your services to customize it for people who are unable (or unwilling) to do their own coding. I think a marketplace of available coders would be cool (like Fiverr). But, since web code isn't compiled, it's hard to stop people from stealing it and reselling your work as theirs. It seems like the money is in the customization of your code -- not the direct sale. Make it open source and then charge people to customize it.
    1 point
  5. Hi I’m Will from Tasmania. I’ve used W3Schools for a long time but I think this is the first time I have asked a question here. I know what a Web App is broadly speaking. I am trying to create a really simple one that I can use offline - on my iPad. I have a working page that does what I want and I can add it to the iPad homescreen. All it does is present a list of links with images and pass to the shortcuts app a url with the choice made. HTML, CSS and some PNG image files. But I can’t get it to work offline. I know Apple and Google have very different approaches to web apps. I’m only concerned with the Apple way for my purposes. Can anyone point me to information on how to do this? Preferably with examples?
    1 point
  6. Hello, Currently, we have a button with a specific CTA that applies to all brands on our website. What we would like to do is change what this CTA says along with the link destination but only for one specific brand. All others should remain how they are currently. We are working with Razor and partials which makes this a little more complicated. I have the two buttons set up: <div class="GNEPdpCTAButtonWrapper"> <div> <div class="GNEPdpCTAButtonsB"> <a class="btnPri" href="/dealerlocator@(brandParam)" target="_self">Where to Buy</a> </div> </div> <div> <div class="GNEPdpCTAButtonCEI"> <a class="btnPri" href="https://www.ceisupply.com/" target="_blank">Buy Direct on CEISupply.com</a> </div> </div> </div> But targeting the brand and tying that to which button shows is a little beyond me. There are several areas within the code where "brandName" is present. Before I add more code to this ticket I wanted to know if I am posting the code properly so as not to overly annoy anyone. [{ 'id': '@Model.Sku', 'name': '@Model.Name', 'price': '@Model.ProductPrice.PriceValue', 'brand': '@brandName', 'category': '@categoryName' }] Essentially I am looking for: if brand = CEI show this and display none to the original button I can provide more code information if someone is interested in helping me solve this. Thanks in advance for any assistance
    1 point
  7. Hi, I like the layout of your blog. Very modern and clean looking. I also like the dark theme. Very nice!
    1 point
  8. I humbly appologize, it was an error in my code that was preventing this from working - moderators: please feel free to remove 🫣
    1 point
  9. 1 point
  10. Yes, that's about right. Only one of the values can be selected at the same time, so there's only ever one value associated with the name when the form is submitted.
    1 point
  11. There is some information available in the reference. Here's the description of the list attribute which specifies that it expects the id of a <datalist> element: https://www.w3schools.com/tags/att_input_list.asp <input> elements without a type attribute are always assumed to be text inputs by browsers. It's mentioned in the reference page as well: https://www.w3schools.com/tags/att_input_type.asp
    1 point
  12. The content at the bottom of the page has to be manually put there by you, then you can have links that point to it using the #hash part of the URL In your page content your code should look like this: <abbr title="InterPlanetary File System">IPFS</abbr><sup><a href="#reference-1">1</a></sup> Then you have to add this to the references section of your page. The id attribute has to match the href of the link above. <h2>References</h2> <ol> <li id="reference-1"><a href="https://wikipedia.org/wiki/IPFS">IPFS on wikipedia</a></li> </ol>
    1 point
  13. In the two places where it says padding: 14px 16px; replace 14px with a smaller number.
    1 point
  14. There's no need to memorize anything. You just need to understand enough to know what to look for when you need it.
    1 point
  15. I'm 81 yo, retired as CIO for a multi-state bank. Wrote my first mainframe code in the early '70s. Progressed through the ranks from programmer, to project leader, to analyst, to project manager and eventually to CIO. I haven't written code in a long time although I did create a web page for my high school class about 15 years ago using HTML/CSS/js. I'm trying to get my hand back in intending to create a family web page. I'm working my way through the W3c Schools tutorials. I don't intend to do any certifications 😂 I intend to make good use of this forum by picking your brains when I run into problems I can't find answers for or can't figure out. Be kind to an old man, please!
    1 point
  16. Find the position of the substring, then get everything up to that position. let pos = document.URL.indexOf("#blah"); let address = document.URL; if(pos >= 0) { address = address.substr(0, pos); }
    1 point
  17. I first went on W3Schools around 2014 to learn HTML and a bit of Javascript. Back then, there were only tutorials on web programming languages. Therefore, I went to learn programming languages on tutorialspoint but the quality of their tutorials aren't that great, although they have a quite large library. I only came back to W3Schools around 2021 or 2022 and noticed that programming languages such as C, C++, C#, Java and Python were added as tutorials and I found them far better than those at tutorialspoint. Though, it is a shame that W3School's library isn't as large as tutorialpoint's. That is why I'm suggesting that creating a tool to allow the community to create custom tutorials would be an excellent addition to this website. Let's say that, for instance, I wanted to create a Lua tutorial. If it hasn't been created by the community yet, I could create it and anyone could contribute to it. If at some point, the staff reviews the tutorial and judges that the quality is good enough, they could decide to make it official. Such a tool could greatly improve the user experience and expand the library of tutorials on this website. What do you guys think?
    1 point
  18. Here are some tweaks I made to the CSS to get it to align to the right. You just need to replace the existing .topnav, .topnav a and .dropdown rules with these ones: .topnav { text-align: right; overflow: hidden; background-color: #333; } .topnav a { display: inline-block; vertical-align: middle; color: #f2f2f2; text-align: center; padding: 14px 16px; text-decoration: none; font-size: 17px; } .dropdown { display: inline-block; vertical-align: middle; overflow: hidden; }
    1 point
  19. Dear team, I am a K-12 teacher. I instructed my students to sign-up in the site to learn Python. Is there a way to track my students' progress? for example, I add them to class, etc. thank you for your continued support.. Kind regards, Wasim Khachan
    1 point
×
×
  • Create New...