Welcome!

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

SignUp Now!

html

  1. IMMaximum

    CSS Within HTML Code

    So in my HTML Code I have, there is code that is CSS code. How does this work, since they are 2 separate types of code? I noticed this before and I ignored it, but I aa starting to get curious now. Since HTML and CSS code are separate, shouldn't the CSS code and the HTML code be separate? I at...
  2. IMMaximum

    HTML & CSS Ideas For Gaming Website

    So this is a post where I do and I don't need help. I have been creating a website for my Programming 2 class using AI per his instructions, and it went well. The project has come to an end, but I still want to work on it because I find coding interesting. I have a couple questions that I want...
  3. IMMaximum

    Best Way To Learn HTML, CSS, and JavaScript?

    So I am currently using a website called CodeCademy to learn more coding skills, and it is kind of going good, I am just wondering are there any other ways to learn coding. Specifically HTML, CSS, and JavaScript? It doesn't have to be online, I just want to know the best way. I am mostly asking...
  4. IMMaximum

    The Purpose Of Span and ID Tags, and It's Uses

    As you may have seen my post before, I am going through the process of learning HTML, CSS, and JavaScript! So this one is about ID's and Span tags. So for ID's what is their purpose and why do we use them? I get they are an attribute, and I know they do something, but I don't know why, so could...
  5. IMMaximum

    Don't We Just Confuse Ourselves and Increase The Complexity Of Our Code?

    So I am currently taking a course to learn HTML Code, then after that I will move on to CSS Code, and then finally JavaScript Code! But I have a question, so when we use the <div> and </div> tags, doesn't that just increase how complex our code is? I saw someone else mention this before, but I...
  6. IMMaximum

    ChatGPT and Coding Problems

    So since I don't personally use JavaScript, CSS, and HTML to make code, I had to use ChatGPT to write the code for me. I was coding this on Replit, as per the instructions I was given, but I ran into some problems with my website. I went to ChatGPT to help me, and many other AI Models, but they...
  7. JosiahMaybe

    HTML Best way to have GIF favicon but icon in all browsers?

    Okay, I want a GIF icon for https://gugquettex.com but Yandex complained about no valid icon found. It cannot do animated icons. Is there any way I could have a default icon for incompatibility? I hear at root of hosting puting a file named favicon.ico makes an icon regardless of whether it is...
  8. H

    Grid item with aspect-ratio

    Hello there! The problem I want to solve is in this codepen: https://codepen.io/hebrerillo/pen/rNbLXaR As you can see, the second grid item overlaps the first item, even though the first item has a specific width and height. Why?? Thank you so much!
  9. tomliv

    Reusable component structure

    We're all about components these days right? Here's a situation I struggle with frequently. You are making a reusable card component - theoretically built as reusable and should be able to be placed anywhere you need a card-type layout. There is an image on left, and copy on right. Copy has a...
  10. M

    Help with removing space in <h1>

    What is responsible for all the whitespace around the text in this <h1>? It's so big it's almost acting as a margin-top. View: https://imgur.com/bTUg9uR <section class="contact-hero"> <h1>Contact us...</h1> <p>Write us a brief, ask us a question or tell us what you’re looking for in...
  11. cbreemer

    Syntax for external files

    Not a problem, just a question. I am struggling to understand why the syntax for including external CSS and JS is so different. Currently I use this : <script src="http://localhost:80/lib/dialogs.js"></script> <link rel="stylesheet" href="http://localhost:80/lib/dialogs.css">...
  12. Samantha Groves

    JavaScript HTML canvas isnt working properly(I cant draw anything on the screen)

    Hello I have this code and it is supposed to be a drawing app with the ability to choose between up to 3 colors: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Draw a picture</title> </head> <body> <script> let color = ""; let mouseDownVar = 0...
  13. J

    Responsive problem - html and css site in development

    Hi guys, I've decided (for some reason :-) ) to re-code my Wordpress site from scratch with my own code... It's going well, though there is a minor problem within the responsive framework and I can't find the mistake. The problem occurs when scaling the site below approx. 400 px - something...
  14. AntiokusPensato

    HTML & CSS Help with a breakpoint

    I am doing a school project and am having trouble getting a certain breakpoint to work. I'm sure it is something simple and I just can't see it. This is my first month coding, tried to use chatGPT to help but the few suggestions through there seemed to make it worse or not change it at all. I am...
  15. Kaworu

    CSS I cannot center the divs contents.

    Hi. I am working on a website. I have two divs (classes: centered-text and center-div - the first is supposed to center the text, the second pictures) and my CSS code for them is not working as intended. The detailed problem is below, in SPOILER: [/SPOILER] I really cannot guess why...
  16. E

    Answered File path

    Given the following folder structure, how do I write the full html tags needed to reach the different different files starting from the orange file? a) house.jpg b) menu.js c) style.css
  17. I

    How do I display the new comment in the comments section when added and still keep the submission ajax code?

    My code is below: $commentsQuery = "SELECT username, created_at, content FROM comments WHERE post_id ={$row['id']} ORDER BY created_at DESC"; $commentsResult = mysqli_query($con, $commentsQuery); $commentsCount = $commentsResult->num_rows; if ($commentsCount > 0) { echo "<details>...
  18. I

    How do I make this layout possible?

    I have tried many, many times to make this possible but can't figure out how to get the comments box and button to be inline with the reactions emojis and I can't get it working. It has frustrated me so much that I have thought of quitting the project but I'm hoping I won't have to and I'm...
  19. T

    JavaScript How to make CSS animation show on page for a set time on page reload

    so I have a js loading animation with a progress bar that I want to show on page load. I put this under the JS section because I assume js is needed for this to work. If the page loads quicker than the 1s animation, then I want it to hide everything else and play the animation, then show content...
  20. JosiahMaybe

    How to restrict access to PHP scripts to only be called from a single web site on same server?

    I know $_SERVER['HTTP_REFERER'] should be like my web page. I also would have dedicated IP and could check that address but can't someone have a duplicate or spoof that? If it helps, I would be using shared hosting from Asurahosting.com, Unlimited Plus plan. I have not made this site yet. I am...
Back
Top Bottom