r/HTML • • 7h ago

Question How do I change the background color of my project

4 Upvotes

Here's a link to my project

https://jaastultz-crypto.github.io/jonathanstultz.github.io/

<!DOCTYPE html>
<html lang="en">
<time>
<head>
   <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <title>What's Jonathan doin' now?</title>
   <style>
     body {
       font-family: system-ui, -apple-system, sans-serif; 
       line-height: 1.6;
       max-width: 650px;
       margin: 40px auto;
       padding: 0 20px;
       color: #97531b;
      }
      header, footer {
        margin-bottom: 2rem;
      }
      .updated {
        color: #666777
        font-size: 0.9rem;
      }
      h2 {
        margin-top: 1.8rem;
        border-bottom: 1px solid #eee;
        padding-bottom: 0.3rem;
      }
      .profile-picture {
      width: 200px;
      height: auto;
      display: block;
      margin: 20px auto;
      }
    </style>
   </head>
   <body>

    <header>
      <nav><a href="index.html">← Back to Home</a></nav>
      <h1>What I’m Doing Now</h1>
       
       <img src="Pic.png"
     alt="Cartoon illustration of Jonathan"
     class="profile-picture">
       
    <p class="updated">Updated <time datetime="2026-11-19">November 19, 2026</time> from Kingston, Jamaica.</p>
  </header>

  <main>
     <section>
        <h2>Current Focus</h2>
        <p>I'm working on Shape Land episode 2, I'm also working on a few videos for JonathanWhines, and most ambitious of all..I'm making a game in Godot!</p>
     </section>

      
     <section>
        <h2>Learning &amp; Reading</h2>
        <ul>
          <li>Building web projects from scratch</li>
          <li>Learning about Quadratics on Brilliant</li>
          <li>My current six school courses</li>
            <ol>
              <li>English 10</li>
              <li>Algebra II</li>
              <li>Environmental Science</li>
              <li>US Government</li>
              <li>Health and Fitness</li>
              <li>Psychology</li>
            </ol>
        </ul>
<p>Gonna be real, I don't read that much. But I'll change that...eventually!</p>
     </section>

    <section>
      <h2>Life &amp; Hobbies</h2>
       <h3> Hobbies </h3>
        <ul>
              <li>Drawing (both traditional and digital)</li>
              <li>Playing My Singing Monsters</li>
              <li>Learning HTML</li>
              <li>Listening to music</li>        
              <li>Touching grass</li>  
        </ul>
       <h3> Some of my interests </h3>    
              <li>Art</li>
              <li>Animation</li>
              <li>Video games</li>
              <li>Game development</li>        
              <li>Computer science and softwares</li>  
              <li>Engineering and hardwares</li>  
              <li>Biology, animals and nature</li> 
              <li>Psychology</li> 
              <li>Science in general</li> 
              <li>Speculative evolution</li> 
              <li>Math</li> 
              <li>Music</li> 
              <li>Making Music</li> 
              <li>Making YouTube videos</li> 
              <li>Time management</li> 
              <li>Organization</li> 
              <li>Cryptozoology</li> 
              <li>Problem solving</li> 

      <p>Share a quick note on your current routines, fitness goals, or personal interests.</p>
    </section>
  </main>

   <h2>Fun Links</h2>
      <li>
  <a href="https://www.youtube.com/@HisMajestyJay">
    My Main YouTube Channel
  </a>
      </li>
      <li>
  <a href="https://www.youtube.com/@wherejonathanwhines">
    My Commentary YouTube Channel
  </a>
      </li>
      <li>
  <a href="https://www.discord.gg/zNm9jP6Q">
    My Discord server
  </a>
      </li>
      <li>
  <a href="https://bsky.app/profile/jondiartist.bsky.social">
    Bluesky (I post lots of my art here!)
  </a>
      </li>
      <li>
  <a href="https://nononkilllki.newgrounds.com">
    My Newgrounds (I post lots of my art here too!)
  </a>
      </li>
  <footer>
    <p>Inspired by <a href="now.html">Now</a>.</p>
  </footer>

      <a href="https://youtu.be/EYeTTITYYbM?si=jhUm4cf-3m9Gkib5">
  <img src="Idk Untitled7_20260809162616.png" alt="✌︎☹︎☹︎ ☞︎🕆︎👍︎😐︎✋︎☠︎☝︎ ☼︎✋︎☝︎☟︎❄︎☜︎⚐︎🕆︎💧︎ ☞︎🕆︎👍︎😐︎✋︎☠︎☝︎ ☠︎✋︎📫︎" style="width: 300; height: auto;"/>
</a>
</body> 
</html>

r/HTML • • 20h ago

How to Make Images Actually Fill Table Cell

4 Upvotes

Hi, I'm trying to get a image to actually fill a table cell, and while I've mostly accomplished that, there's still a tiny border around the image of the background that I cannot figure out how to remove.

HTML

<div class="table-container">
<table>
<caption>Products</caption>

<tr>
<th scope="col">Name</th>
<th scope="col">Image</th>
<th scope="col">Price</th>
</tr>

<tr>
<th scope="row">1</th>

<td class="image"><img src="images/lovemug.jpg" alt=""></img></td>

<td>1.</td>

</tr>
</table>
</div><div class="table-container">
<table>
<caption>Products</caption>

<tr>
<th scope="col">Name</th>
<th scope="col">Image</th>
<th scope="col">Price</th>
</tr>

<tr>
<th scope="row">1</th>

<td class="image"><img src="images/lovemug.jpg" alt=""></img></td>

<td>1.</td>

</tr>
</table>
</div>

CSS

  .table-container {
    overflow-x: auto; 
    margin: 0.2rem 1rem 1.5rem;
  }


  table {
    border: 0.2rem solid;
    border-spacing: 0px;
  }


  table, tr {
    border-collapse: collapse;
    background-color: #fff597;
  }


  caption {
    border: 0.2rem solid;
    border-bottom: none;


    font-size: 20px;
    font-weight: bold;


    
    background-color: #ffe552
  }


  tr:hover, tr:focus {
    background-color: #fcef7f
  }


  th {
    border: 0.16rem solid #000000;
      
  }


  td {
    border: 0.16rem solid #000000;
    white-space: pre-line;
  }


  td img {
    border: none;
    width: 100%;
    display: block;
    object-fit: fill;
    
  }


  td p, th p {
    text-align: left;
  }  .table-container {
    overflow-x: auto; 
    margin: 0.2rem 1rem 1.5rem;
  }


  table {
    border: 0.2rem solid;
    border-spacing: 0px;
  }


  table, tr {
    border-collapse: collapse;
    background-color: #fff597;
  }


  caption {
    border: 0.2rem solid;
    border-bottom: none;


    font-size: 20px;
    font-weight: bold;


    
    background-color: #ffe552
  }


  tr:hover, tr:focus {
    background-color: #fcef7f
  }


  th {
    border: 0.16rem solid #000000;
      
  }


  td {
    border: 0.16rem solid #000000;
    white-space: pre-line;
  }


  td img {
    border: none;
    width: 100%;
    display: block;
    object-fit: fill;
    
  }


  td p, th p {
    text-align: left;
  }

r/HTML • • 1d ago

Amazon prime has a meowing duck

9 Upvotes
<!--       _
       .__(.)< (MEOW)
        ___)   
 ~~~~~~~~~~~~~~~~~~-->

https://www.primevideo.com/


r/HTML • • 1d ago

Just looking for feedback

4 Upvotes

Hi,

I started learning HTML in Feb of this year. I have build myself a website and my cousin one. I'm just looking for feedback as no one in my life knows anything about tech. So if you'd like to look at them I will leave the URLs below. One of the things im really proud of in my website is the Patch Notes.

Hopefully this is allowed, I swear mods this isn't self promotion.

Thanks for taking the time to look!

https://thecodingnewbie.com/

https://jacksonjbecker.com/


r/HTML • • 1d ago

HELP???

Thumbnail
gallery
0 Upvotes

Idk why it looks like this, it was fine yesterday and I didn't do anything to edit it? Not only that but nothing moves when I try to edit it pls help (┬┬﹏┬┬)


r/HTML • • 2d ago

As someone who teaches HTML to newcomers, here’s the biggest mistake I notice in beginner projects

9 Upvotes

For the past couple of years, I've been guiding students at university through the basics of HTML and web design. There’s one common pitfall I encounter almost every time:

People tend to rely heavily on <div> elements for everything.

Understanding semantic HTML is crucial, more than many realize. For those just getting started, here’s a straightforward guideline:

• Use <header> for the top part of your page

• Use <nav> for navigation menus

• Use <main> for the main content of the page

• Use <section> for different topics or groups

• Use <article> for individual articles or posts

• Use <footer> for information at the bottom

Getting into the habit of this structure right from the start will not only keep your CSS cleaner but will also enhance accessibility and make debugging a lot simpler.

If anyone's interested, I can share more common beginner missteps and some easy solutions.


r/HTML • • 2d ago

MJML - IOS Gmail dark mode hack works but links and CTAs colours are not working as intended

1 Upvotes

Hey,

At my job, I recently decided to use MJML to create HTML email templates and it's been working well overall. The only problem I faced was that when using dark mode in IOS Gmail's app, the colours would look bad.

So, I searched online and found a dark mode hack for gmail essentially It basically is a linear-gradient mix-blend mode hack.

That said, it works fine for the most part but the CTAs and links colours are not showing as indented. I tried many things but as long as I am using this hack method, it keeps happening.

Does it mean I'm stuck with this for IOS Gmail? Is it the trade-off I need to endure for the dark mode fix?

Many thanks!


r/HTML • • 2d ago

Html site/hosting

12 Upvotes

I havnt worked on anything since 2005. So im sure things are different now. How would I go about making a site and then hosting it? Its not like I was in collage. We made a few simple html sites/pages in highschool.


r/HTML • • 2d ago

Question HTML on tumblr?

Thumbnail
gallery
1 Upvotes

I want to make my tumblr blog a little more fun by adding a custom font to the title— I know tumblr has them already but I wanted one that fits the theme of my blog. I followed a tutorial but everything I tried just really broke my blog page and then the one time it didn’t break my blog, it just didn’t do anything. Does anyone know what to do??? Above is my attempt that just didn’t do anything. I tried putting it above <head> but it just broke everyrging


r/HTML • • 3d ago

Help with overlay

Post image
5 Upvotes

I know this is probably a dumb question but I'm having trouble getting my octopus to where i want it to go, as is shown in the image. What should i do :,)


r/HTML • • 3d ago

Question How do i make a button send to another page of the site

Post image
0 Upvotes

basically what do i replace "alert" with to make it do the thing


r/HTML • • 5d ago

Question How to show and hide an html button

4 Upvotes

After some Googling, I haven't been able to find what I needed, so I'm turning to y'all. Thanks in advance for your help(:

I am making a clicker game in html/css/js. Right now, I have working 'buttons' by using <div> like this:

<div id="addPebbleId" onclick="pebbleFunction()">Collect Pebble (+1 Pebble)</div>

I can easily hide the div 'buttons' by using the id. So far, so good, right?

The problem is, even with div, the buttons look like normal text. So, I figured I'd make them actual buttons, so that it's obvious you should click on them.

<button> <div id="addPebbleId" onclick="pebbleFunction()">Collect Pebble (+1 Pebble)</div> </button>

It works great when the button is visible. The issue is when the button is hidden via js, like this:

x = document.getElementById("addPebbleId");

x.style.display = "none";

There's still a tiny blank button visible, even if the text is hidden. I know you can hide buttons in html with <button hidden> but how do I code it to show or hide the button later on?


r/HTML • • 5d ago

Adding a virtual tour to my website

0 Upvotes

Would anyone be able to help me add a 360 tour to my website through HTML? make them in Gadot and I'm histing it from Hostinger then want to point it there on Wordpress.


r/HTML • • 4d ago

Describe an HTML game & play (iOS)

0 Upvotes

Select HTML games from a library or describe using AI and play what you want with a retro feel on Apple devices.

https://apps.apple.com/us/app/id1599406759?eventid=6838117076


r/HTML • • 5d ago

Alguém sabe como abrir arquivos HTML no navegador do iPad?

0 Upvotes

Criei alguns resumos para estudar utilizando o Claude, que gera os arquivos no formato HTML. No MacBook consigo abrir normalmente pelo navegador e acessar os resumos sem problemas.

Porém, quando tento abrir esses mesmos arquivos no iPad, não consigo acessá-los pelo navegador.

Alguém sabe se existe alguma forma de abrir esses arquivos HTML no Safari (ou em outro navegador) pelo iPad? Ou se preciso utilizar algum aplicativo específico, hospedar os arquivos em algum lugar ou fazer alguma configuração?

Queria muito conseguir estudar esses resumos também pelo iPad, sem precisar ficar usando o MacBook.

Se alguém já passou por isso ou sabe como resolver, agradeço muito!


r/HTML • • 6d ago

Question Photo gallery site advice?

Post image
11 Upvotes

I have a personal photo collection, and I’ve wanted to make it public in some way. Had the idea of ​​creating a website using Nekoweb for hosting - but the main problem is that I have over 1500 pics, each at least 1 MB in size, and I don’t want to compromise their quality. Recently I thought about using a image-hosting service (https://postimages.org/ or something similar), but I’m not very familiar with that. What image-hosting sites might be suitable for this? Do you have any other tips?


r/HTML • • 6d ago

Could anyone help with my bento grids I'm making?

4 Upvotes

So, basically, I was trying to make a bento grid layout for my site, and nothing shows up when I check the result?

Could anyone explain what's wrong with this code, and how I could fix it? My code is below:

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>placeholder</title>

<link rel="icon" type="image/x-icon" href="/images/favicon.ico">

<style> body { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2%; } .box { background-color: #000000; } .grid-container { display: grid; grid-template-columns: 200px 200px 200px 200px; grid template-rows: 200px 200px; gap: 1em; grid-template-areas: "box-1 box-2 box-2 box-3"; "box-1 box-4 box-5 box-5"; } </style>

</head>

<body>

<div class="grid-container">

<div class="box" style="grid-area: box-1"></div>

<div class="box" style="grid-area: box-2"></div>

<div class="box" style="grid-area: box-3"></div>

<div class="box" style="grid-area: box-4"></div>

<div class="box" style="grid-area: box-5"></div>

</div>

</body>

</html>


r/HTML • • 5d ago

can anyone explain how to change the name of the link ?

0 Upvotes

i have made my project public but i don’t know how to change the name of the link like when someone trying to type it in google should shows the website


r/HTML • • 7d ago

Looking to slow this down.

Thumbnail animalhousepetcare.com
2 Upvotes

I'm looking to slow this down. To pause at each review longer. I've scoured thru the HTML, All the CSS files, and JS files. I wonder if any one can point me in the right direction. Above is the link to the section titled "What they Say" a review section. Can anyone point to the right CSS or JS file? Here are the JS and CSS files. The HTML section is <!-- Start-client-area --> The CSS files are:

And the JS files are:

Thanks so much.


r/HTML • • 8d ago

Question Get Selected Values from Select Tag “multiple” HTML/JavaScript

Post image
7 Upvotes

I created a select tag in HTML and gave it multiple size=“1” to get a drop down multi select element on my website. The element works exactly how I want it to however, I have no idea how to get the selected values in JavaScript. If I use .value to get the value like I would in a select tag it will give me the value like normal if only 1 option is selected, and will give me undefined if none are selected but if multiple options are selected it returns a bunch of information I don’t understand how to parse.

Please help teach me how to get the selected values from my HTML multiple select tag in JavaScript.
Also if this isn’t a good subreddit for this post please help me find somewhere that could help me.


r/HTML • • 7d ago

وكيل دكاء اصطناعي

0 Upvotes

كيف أصنع وكيل دكاء اصطناعي في وتساب الأعمال ايرد علا كل اطلبيات تبعي


r/HTML • • 8d ago

Small HTML/CSS issue for anyone wanting a first open source PR

3 Upvotes

I have a small open source project with a static web page, and I opened an issue meant for someone who has never contributed to open source before. It's adding a short info section to one HTML file. The text is already written in the issue, and there's a comment in the file showing where it goes. The tricky part is matching the existing CSS and making it look right on a phone.

https://github.com/eoSalinas/prensa/issues/62


r/HTML • • 8d ago

What was the hardest part of learning HTML and CSS for you?

3 Upvotes

I’m curious to hear from people who have learned web development.

When you first started learning HTML and CSS, what did you find most difficult?

Was it understanding the basics, remembering all the tags and properties, making things look good with CSS, or actually building your first website?

And if you could give one piece of advice to someone just starting out, what would it be?

I’d love to hear your experiences!


r/HTML • • 8d ago

Opinion/Advice

1 Upvotes

Hello. This is my spacehey profile, i coded it from scratch myself, but i been having some trouble.

Im inspired off this myspace layout (i have the og code, i think), what do i change on mine to make it more accurate to the og pic, and how i do that?

https://spacehey.com/emoxitaquiinn

Its broken af on mobile, even if you switch to pc mode on your browser. Just in case you cant open it, this is how its looking like rn on pc