Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

html and css

  1. P

    Need help for applying simple font-style

    I've used some google fonts, let me show you some <link rel="stylesheet" href="style.css"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link...
  2. Quonit

    Custom font not loading on Neocities

    I am making a new webpage for my website on neocities: (FRIDAY NIGHT JAMMIN'). On it, I want a few places to use a specific font that looks like the game the webpage is about. I used this tutorial: How To Load and Use Custom Fonts with CSS | DigitalOcean 1. I use the website they told me to use...
  3. Z

    PHP How do I get the if statement correct in the lines that has it in the program?

    We are encountering problems in the if statements in the program and cannot run it in the local host in the xampp. if(isset($_POST['submit'])) { $kWh=$_POST['kWh']; $offsetpercent = 0.0; $offset = 0.0; $offsetpercent = $offset / 100; $offsetpercent = $offsetpercent + 1; $size=$kWh /...
  4. Y

    Why I have padding-left on my .nav_primary when i did not set it

    Hi All, Could you please tell me why i have padding on my .nav_primary when i did not set it? I added a media query and was not able to center that class and then found out there is a padding-left and do not know why. When i add padding:0 all work. Here are my codes Thank you <header...
  5. L

    HTML & CSS How to add a description in the center frame every time you click on a tab above

    Hi, I built this portal for online courses. I can only use HTML and CSS without scripts. Could you help me add a description in the center frame when you click on each tab from above without clicking on the side buttons that have each one? Thanks in advance...
  6. J

    HTML & CSS Need Help Using Semantic Elements - Refactor Code

    Hi Everyone, I am starting out on learning how to code (the proper way) and I simply am at a total loss or confusion. I need to be able to refactor code using semantic elements in HTML & CSS. I cant figure out where to break each section or where to use its proper semantic element so that its...
  7. J

    HTML & CSS How to Properly refactor your code using Semantic Elements HTML & CSS

    Hi Everyone, I am starting out on learning how to code and I simply am at a total loss or confusion. I need to be able to refactor code using semantic elements in HTML & CSS. I cant figure out where to break each section or where to use its proper semantic element so that its not using so many...
  8. F

    JavaScript Canva drawing Javascript on elementor

    Hello everyone, I wanted to implement an interactive drawing on my wordpress using the HTML element. The code works well outside of wordpress but once implemented, the mouse is movement seems off ( it is far away from the cursor). Any idea why that is ? Here is the page where i want to...
  9. Y

    HTML & CSS Empty div has width and height in % but does not appear

    Hi All, I have just bumped into this case while i am doing a freecodecamp challenge. In the freecodecamp editor the div showed per given % but when i tried to do the same in VSC i did not get the same result, so i created a little example. Could you please tell me how it works as it works with...
  10. Idle Commander - The Dev

    JavaScript Why is this not working [edit]

    I'm making an online free web game and I got to the point where I don't know how to fix a particular bug. What I'm confused about is that the thing I'm building works perfectly when you perform it the normal way but If you go on a quest in my game and fight a monster it breaks. If you want a...
  11. Idle Commander - The Dev

    JavaScript Why is this not working?

    I'm making an online free web game and I got to the point where I don't know how to fix a particular bug. What I'm confused about is that the thing I'm building works perfectly when you perform it the normal way but If you go on a quest in my game and fight a monster it breaks. If you want a...
  12. S

    Metrostyle tile

    Hello everyone, I hope someone here can help me with the following problem. At my work we use sharepoint with the metrostyle layout . Now they want me to extend the current layout. Currently the tile can slide open 1 time (parent and child system) but now the child tile should also slide open ...
  13. Idle Commander - The Dev

    Why is my background not fully covering my span?

    Why is my background not covering the whole span element? You can inspect the element here Gem Hunt 2. image1139×327 40.6 KB The span that covers the picture and text and the background are red and black gradients. The span has a class of tablinks. The circled thing is the background and it's...
  14. SolidSnake2003

    JavaScript Adding Different Dropdown Menus

    Hello I am currently working on reviving an old fansite of mine. I have finished designing the main site elements across the whole fansite in photoshop, and have begun coding them in HTML. One of the elements I have created is a series of 3 dropdown menus for a quick navigation of the games in...
  15. Idle Commander - The Dev

    JavaScript How do I do something to the body while a popup is showing

    Well, there is a little bit of javascript in here but when a popup in my game shows I want to disable all other things on the screen and make them not respond and create a little tint over everything but the popup. And when the user closes the popup everything resumes. I have no idea I tried to...
  16. S

    use checkbox for image switch

    I have created a checkbox and want that when using all images change to other images, is such a thing possible?
  17. Connor

    HTML & CSS HTML Searching System

    I am working on a search project. I am new to html, css, etc., and haven't the slightest idea of how to accomplish this. Here is my idea in simplest form: 1. User visits website. 2. User finds search box (form) I created. 3. User types something into search box. 4. When the user clicks the...
  18. woweya

    HTML & CSS Responsive website.

    Hello to everyone, Since 1/2 months ago, I wanted to start coding and learning HTML & CSS. Everything is going very well, I'm learning a lot of stuff but right now, I'm trying to understand and learn the logic behind a responsive website to be able to view the website on all devices without...
  19. D

    HTML & CSS Please help me manage to adjust img size in my @media in CSS.

    So i have recently made a website and now i'm working on the format to get it in a good size for phones etc. But for some reasons the pictures are not doing as i please, anyone able to give me some tips? "See photo for current result." I also added my HTML and CSS code. I hope someone can help...
  20. D

    HTML & CSS Slide menu stays open

    Hi. First time on the forum. :) I figure this will probably be an easy one for the coders here. I've found a free HTML 5 template that overall suits what I want to use it for. Here's the link to the website that provides it: https://html5up.net/editorial On that page it shows the menu open...
Back
Top Bottom