Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. 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. B

    Moving UL to right side of page

    So this is my page as it stands now ( I know it's silly, it's just for practice): I want to move the Related menu in the top right corner to the side of the article so it's next to the aqua boxes, with the menu items running down the right side of the page. How can I do this? Any help would...
  2. ijndsfijkansmf

    school project being stupid, columns and rows not working.

    this is due in like a week or two and I've tried using chatgpt but it doesn't work. I've got like a background image and I have it so that when the image finishes it goes back to the normal background colour, which is white. I'm trying to put some writing next to an image which is in the middle...
  3. yumedoll

    JavaScript Why is the placement of the declaration of my let variables being misinterpreted?

    I have declared a few variables for a game I'm making about baking a cake and the variables will act as indicators of the amount of each ingredient to decide the outcome of the cake. let mixamnt = flouramnt = sugaramnt = chocoamnt = milkamnt = eggamnt = butteramnt = redamnt = vanillaamnt =...
  4. yumedoll

    JavaScript Why is the placement of the first declaration of my let variable being misinterpreted?

    I have declared a few variables for a game I'm making about baking a cake and the variables will act as indicators of the amount of each ingredient to decide the outcome of the cake. let mixamnt = flouramnt = sugaramnt = chocoamnt = milkamnt = eggamnt = butteramnt = redamnt = vanillaamnt = 0...
  5. A

    Have the 3 images in the same line

    Hello Friends, I am trying to have the description of image come below the image. Once, I tried with figure and figcaption tags, the- second image goes below. I want to have the three images in same horizontal line while have the description to be below. If you run the code below, you may...
  6. A

    To have more space in right side

    Hello Friends: I am trying to have more space in right side of after the text. Photo, then, text. I extracted the part of the code. If you look at www.sis.anura7.ca , On the right side of the text, there is no space at all, specially on a smart phone. Thanks for your help. <!DOCTYPE...
  7. C

    JavaScript Navigate images with javascript

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet"...
  8. proompter

    CSS CSS Grids Tutorial

    Hey guys, I've just created a new channel where I'm going to cover Full Stack related topics extensively, including CSS. Content isn't being monitized at the time of posting this so this is 100% free, hopefully you will learn a thing or two :) If you can like, comment, share and subscribe I'd...
  9. RealImmortal2004

    How do I hide the modal after 5 seconds?

    I’ve tried the code below but it doesn’t seem to work well. Please help!!! I’m trying to get the modal to popup with an onclick event as it normally would but then I want it to disappear after about 5 seconds and hide the ability to allow the user from making it hide. <html...
  10. 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...
  11. 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...
  12. 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 /...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...
Back
Top Bottom