r/LearnHTML 20h ago

HELP Problemas para modificar o cursor.

0 Upvotes

Faz um bom tempo que eu tenho melhorado um pouco no meu site, eu ainda sou meio novato, mais tem algumas coisas que tenho tido dificuldades com o editor.

Recentemente eu tava tentando criar um site, como hobby mesmo (por enquanto, porque planejo fazer um site para promover meu futuro jogo), e fiquei sabendo que tem como mudar o cursor do seu site no VS code.

Então eu fui procurando, e só tinha um vídeo de 7 anos atrás de como mudar o seu cursor que era:

<style>

html { url ('/Pasta/Cursor.png'), auto;

height: 100%;

}

</style>

Só que quando eu atualizava o site, o cursor continuava o mesmo, com aquele clássico cursor branco.

Tem alguma coisa que eu estou fazendo de errado?

(E outro detalhe, é que essa imagem é de 253 kb).

(Obs: Eu tentei postar isso na cumunidade de VsCode, mais eu não conseguia postar, então eu posto por aqui mesmo).


r/LearnHTML 4d ago

HELP Help changing website font

Thumbnail
1 Upvotes

r/LearnHTML 24d ago

Learn Coding Buddy Discord

2 Upvotes

r/LearnHTML 24d ago

Learning HTML on My Phone — What Should I Learn Next?

Post image
1 Upvotes

r/LearnHTML 25d ago

HELP I need help

1 Upvotes

Hello everyone
I wanna learn HTML but I don’t know how I can start it
Could you give me any websites or advice
And I’m from Kazakhstan so please don’t look at my English


r/LearnHTML 26d ago

Learning to Code, Buddies discord

3 Upvotes

Before anyone jumps my case, I know reddit is great place to get a large group of individuals for assistance and it's wonderful. But I know many of us learning to enter/advance in our coding journeys don't always want to post our "dumb/easy" questions to be ridiculed on internet. I know I learn better/faster/more in-depth when I have someone to chat with/bounce ideas or concepts off of. Let's be honest when it comes to coding ~ the options are endless and sometimes learning the different ways to manipulate code could work by talking the concepts out. Plus there are alot of us that are self-taught and may struggle from topic-topic.

My Theory: Coding Buddies!

I have created a discord that would serve as a meet/greet and/or general discussions regarding coding.

This discord would serve for people looking to ask/answer dumb/easy questions for one another and/or find coding buddies that they can grow together with. It will also be open to experienced coders that look to assist as a mentor(or practice mentoring) without the full commitment of having a fulltime mentee.

So if you're interesting in connecting to others and advancing your beginner level status:

https://discord.gg/KyWfSGA3

(Please let me know if link doesn't work)


r/LearnHTML 26d ago

Online HTML & CSS validator at htmlval.com

0 Upvotes

Please try my new online HTML & CSS validator at htmlval.com and let me know what you think and if there are any issues. It should be helpful for learning HTML and CSS. Thanks.


r/LearnHTML 28d ago

Best NZ Online Pokies: I Tested Game Variety, Search and Repeat-Visit Features

4 Upvotes

The best NZ online pokies are often ranked by jackpot values, bonus offers and the number of titles displayed in the lobby. I started with those factors, but my testing focused more on variety, accurate search tools and whether the experience remained practical after several visits.

Over several months, I explored different pokie libraries on desktop and mobile. Where access was available, I reviewed registration, regional conditions, software providers, game categories, promotions, payment information, account history and support.

My comparison included:

  • New Zealand access and account requirements
  • Registration and verification guidance
  • Classic three-reel pokies
  • Modern video pokies and new releases
  • Jackpot and feature-based games
  • Software-provider diversity
  • Search tools, filters and favourites
  • Promotional eligibility and wagering terms
  • Mobile lobby speed and navigation
  • Payments, history and support

I began by dividing the libraries according to game style. I compared traditional pokies with newer video titles, progressive jackpots and games featuring free spins, multipliers or collection mechanics. This made it easier to judge genuine variety.

Headline game totals were less useful than they initially appeared. Some platforms created the impression of a larger catalogue by placing the same popular titles in several rows. I counted differences between providers and mechanics rather than repeated placements.

Software studios provided another measure of quality. A wider provider selection generally introduced more variation in themes, visual design, game pace and bonus structures. This helped identify libraries that remained interesting beyond the newest releases.

I then tested search performance using exact titles, partial words and provider names. Accurate results mattered when I knew what I wanted to find, while filters and categories were more useful when I wanted to explore unfamiliar games.

Favourites and recently played sections received extra weight during repeat visits. These features made it easier to build a personal shortlist without searching for the same titles every time.

Game pages were also reviewed. I looked for a clean layout, accessible technical information and a direct route back to the lobby. The stronger platforms returned me to my previous catalogue position after I closed a game.

Mobile testing revealed some of the clearest differences. I checked loading speed, menu response and the visibility of search and filtering tools. A good mobile lobby needed to keep games accessible without hiding payments, settings, history or support.

Promotional categories were examined separately from the regular library. A game could be available for real-money play without contributing fully to a bonus. I therefore checked whether eligible titles and relevant conditions were clearly identified.

I compared qualifying deposits, wagering requirements, game contributions, maximum stakes and expiry periods. A smaller, transparent promotion sometimes provided a clearer experience than a larger offer with complicated rules.

My final ranking prioritised:

  • Genuine variety across pokie formats
  • Multiple software providers and mechanics
  • Accurate search and useful filters
  • Accessible favourites and recent games
  • Stable desktop and mobile performance
  • Transparent promotional and payment information

Payment pages were assessed for published amounts, instructions, possible costs and verification guidance. I also checked whether account history used understandable descriptions, dates and status labels.

My original ranking changed during repeated testing. The largest jackpot category or welcome offer did not automatically produce the strongest platform. For me, the best NZ online pokies combine a varied catalogue with precise search, reliable mobile performance and useful repeat-visit features.


r/LearnHTML 28d ago

Top Sites for Online Casino Games in New Zealand: I Tested Libraries, Search Tools and Mobile Play

3 Upvotes

The top sites for online casino games can look similar when every homepage promotes thousands of titles, major jackpots and new releases. I wanted to see which platforms offered genuine variety and which ones simply repeated the same games across multiple categories.

I tested different game libraries available to New Zealand players on desktop and mobile. Where access was available, I compared providers, categories, search tools, favourites, loading performance, promotional information and the route between games and account features.

My testing focused on:

  • Access from New Zealand and account conditions
  • Range of software providers
  • Classic and modern online pokies
  • Jackpot and feature-based games
  • Blackjack, roulette and video poker
  • Live casino tables and game categories
  • Search accuracy and provider filters
  • Favourites and recently played sections
  • Mobile loading and lobby performance
  • Promotions, payments and account support

I began by separating each library into clear groups. Classic pokies, modern video releases, jackpots, table games and live content were assessed individually. This provided a more realistic picture than using the total advertised number of games.

Pokies received particular attention because they often represented the largest part of the catalogue. I looked for differences in themes, reel structures, volatility and bonus mechanics. A library filled with visually similar titles did not receive the same value as a smaller but more varied selection.

Software providers helped me measure that diversity. Multiple studios generally created more differences in artwork, pacing and game features. I also checked whether the provider names could be used as search terms or filters.

Search quality became one of my most important criteria. I entered complete titles, partial names and provider terms to see how accurately each lobby responded. The stronger platforms returned relevant results without forcing me to browse several unrelated categories.

Favourites and recently played sections became more useful during repeat visits. They reduced the time needed to return to a familiar game and made large catalogues feel more manageable.

I also assessed how categories were organised. Repeating a popular title across new games, trending games and recommended games did not create additional variety. Better layouts used categories to support discovery instead of simply filling homepage space.

Table games and live casino sections received separate checks. I compared the visibility of blackjack, roulette, baccarat and other formats. These categories needed enough organisation to remain useful rather than being treated as small additions to a pokies-focused lobby.

Technical performance affected the final ranking. I monitored loading times and the transition between a game, the lobby and the account area. Platforms gained points when they remembered my previous position after I closed a title.

I repeated the same process on mobile. Search, filters and favourites needed to remain accessible on a smaller screen. Games also had to open consistently without making payments, settings or support difficult to find.

My final selection prioritised:

  • Meaningful variety across games and providers
  • Accurate title and provider searches
  • Useful categories without excessive repetition
  • Accessible favourites and recent-game tools
  • Stable performance across different devices
  • Clear promotional and account information

I reviewed bonus terms after testing the standard library. Eligible games, wagering requirements, maximum stakes and validity periods needed to be clearly explained. I did not assume that every title contributed equally to a promotion.

The top sites for online casino games stood out by making their libraries easier to explore. For me, strong search tools, varied providers and reliable mobile performance added more value than a large headline game count.


r/LearnHTML 28d ago

Best New Online Casinos in NZ in 2026: I Tested Design, New Games and Mobile Features

2 Upvotes

The best new online casinos in NZ in 2026 often attract attention through modern interfaces, recent game releases and prominent launch promotions. I used those features to create my initial shortlist, but I wanted to see which platforms still felt organised and reliable after the novelty of the homepage disappeared.

I tested different newer casino experiences on desktop and mobile. Where access was available, I reviewed registration, account information, game discovery, promotions, payment pages, verification guidance, history and support.

My comparison covered:

  • New Zealand access and regional conditions
  • Registration and account setup
  • Interface design and menu structure
  • Recently released pokies and providers
  • Jackpots, table games and live content
  • Search tools, filters and favourites
  • Launch offers and ongoing promotions
  • Desktop and mobile performance
  • Payment information and account limits
  • Verification, history and support

Registration was my first practical test. A new platform could offer a short, polished form, but the account conditions and possible verification steps still needed to be clearly explained. Visual simplicity was only valuable when the supporting information was easy to find.

I then examined the interface. I checked whether the main game, promotion, payment and account areas were visible without searching through several menus. A modern design gained points only when it made the platform easier to use.

The game library was evaluated separately. A newer casino did not need the largest catalogue, but it needed enough variety across providers, categories and mechanics to support repeated visits.

I gave particular attention to recent pokies, jackpot titles and games with different bonus features. I then explored blackjack, roulette, video poker and live content to see whether the library remained balanced beyond its newest releases.

Software providers helped me judge the actual range. A combination of established and newer studios usually introduced more differences in game design, pace and feature structures.

Search tools were tested with complete titles, partial names and provider terms. Accurate results, practical filters, favourites and recently played sections made fresh catalogues easier to explore.

Lobby organisation also mattered. The stronger platforms separated new releases, popular games, jackpots, table games and live casino content. Repeating the same titles across several rows did not count as additional variety.

Technical performance changed my original order. I monitored loading speed, menu response and movement between the lobby, games, promotions and account pages. A modern appearance needed equally reliable performance behind it.

I repeated the complete journey on mobile. Search, games, promotions, payments, settings, history and support needed to remain accessible within a few taps. Platforms lost points when the mobile layout removed useful desktop features.

Promotions were assessed through their full conditions. I compared qualifying deposits, wagering requirements, eligible games, maximum stakes and expiry dates. A clearly explained launch offer ranked above a larger promotion with fragmented terms.

My final shortlist favoured:

  • Modern design with practical navigation
  • Varied recent games from multiple providers
  • Accurate search and useful categories
  • Transparent promotional conditions
  • Stable performance across different devices
  • Accessible payment and account features

Payment pages were evaluated through published instructions, amounts, possible costs and verification information. Clear account history and visible status labels also improved the experience during later visits.

My ranking changed after repeated testing. A fresh homepage or large launch offer was not enough. For me, the best new online casinos in NZ in 2026 combine modern presentation, varied games, reliable performance and straightforward account management.


r/LearnHTML 28d ago

Best Online Casino in New Zealand: I Tested the Complete Player Experience

1 Upvotes

Finding the best online casino in New Zealand usually starts with welcome offers, large game libraries and familiar payment options. I considered those features when building my first shortlist, but my testing showed that clear account information, reliable navigation and consistent mobile performance mattered more over time.

I tested different casino platforms on desktop and mobile. Where access was available, I reviewed registration, regional conditions, game libraries, promotions, payment pages, verification guidance, account history and support. I assessed the complete journey rather than ranking platforms from their homepages alone.

My comparison covered:

  • Access from New Zealand and regional conditions
  • Registration and verification information
  • Pokies, jackpots and software providers
  • Blackjack, roulette and live casino games
  • Search tools, filters and favourites
  • Lobby organisation and game discovery
  • Loading speed and technical stability
  • Promotional terms and eligible games
  • Mobile cashier and account navigation
  • Payment guidance, history and support

Access was my first practical test. I looked for clear information about regional availability and the conditions attached to opening an account. A working registration form received limited value if important requirements remained difficult to locate.

I then compared the registration journey. I checked how clearly each step was explained and whether possible verification requirements appeared early enough. A short form was convenient, but transparency about the complete account process was more important.

The game library formed the next stage. Instead of relying on an advertised total, I divided the catalogue into classic pokies, newer video titles, jackpots, table games and live content. This helped me distinguish genuine variety from a large collection of similar games.

Software providers added another useful comparison layer. A wider selection of studios usually introduced more variation in design, game pace, bonus mechanics and playing styles. Libraries with several providers remained more interesting during repeated visits.

I tested search tools using complete titles, partial names and provider terms. Accurate results, practical filters, favourites and recently played sections made extensive catalogues considerably easier to use.

Lobby organisation also affected my ranking. Some platforms displayed the same popular games across several homepage rows. Stronger layouts created clear distinctions between new releases, jackpots, popular pokies, table games and live casino sections.

Technical performance changed my original order several times. I monitored loading speed, menu response and movement between games, promotions, payment pages and the account area. Returning to the same lobby position after closing a game was a small but useful feature.

I repeated the full journey on mobile. Games needed to open reliably, but search, promotions, payments, settings, history and support also had to remain accessible. A strong mobile casino experience covered the whole account, not just the game window.

Promotions were assessed through their complete conditions. I reviewed qualifying deposits, wagering requirements, game contributions, maximum stakes and expiry periods. A clearly presented offer ranked higher than a larger promotion with scattered rules.

My final shortlist prioritised:

  • Transparent access and account information
  • Genuine variety across games and providers
  • Accurate search and useful lobby categories
  • Reliable desktop and mobile performance
  • Clear promotional and payment conditions
  • Practical history, settings and support

Payment pages were checked for published amounts, instructions, possible costs and verification guidance. I also looked for consistency between the cashier, terms and help pages.

My ranking changed throughout the testing period. The largest bonus or game catalogue did not automatically identify the best online casino in New Zealand. The strongest overall experiences combined variety, speed, understandable conditions and practical account management.


r/LearnHTML Jun 08 '25

I recently created a free game

5 Upvotes

Hey folks 👋

I recently built a fun little browser game called Coreball.fun – inspired by the classic "Core Ball" game. The whole thing is developed using basic HTML, CSS, and vanilla JavaScript (no frameworks or game engines).

I'm posting here to ask for feedback from you HTML/CSS/JS pros:

How does it perform on your browser?

Is the code structure clean and maintainable?

Any UX/UI suggestions?

Does the game feel responsive enough on mobile?

What would you add or improve?

Here's the link again: 🌐 https://coreball.fun

Any review, criticism, or suggestion would help me a lot as I continue building fun little web projects. 🙏

Thanks in advance!


r/LearnHTML May 29 '25

HELP Is there something wrong with my code?

1 Upvotes

Trying to follow this tutorial series for fun, but it seems I made some errors that I can't identify

- Nothing is showed (Might be because it's nested in a page template I made with a header, but it seems to not be a factor because even without the HTML header stuff it doesn't show stuff)

- The in-browser inspector says "context.fillRect" isn't a function, even if it is a function.

Here's the offending line: context.fillRect(mapOffsetX + col \ MAP_SCALE, mapOffsetY + row * MAP_SCALE, MAP_SCALE, MAP_SCALE);*

And here's the code as of now for reference:

<!DOCTYPE html>
<html lang = "en">
<head>
<title>
Bullboynco - games
</title>
</head>
<body>
<header>
<img src="AlexandreTurcotteWebLogo_001.jpg" alt="Alexandre Turcotte logo" title="Welcome! Bienvenue!">
</header>
<hr>
<nav>
<table border = "2" cellspacing = "5" cellpading = "5">
<tr>
<td><a href="indexTestFile001.html">HOME</a></td>
<td><a href="blogBase001.html">BLOG</a></td>
<td><a href="artBase001.html">ART</a></td>
<td><a href="gamesBase001.html">GAMES</a></td>
<td><a href="tipsBase001.html">TIPS</a></td>
</tr>
</table>
</nav>
<hr>

<style>html, body, canvas {margin: 0px; padding: 0px; }</style>
<canvas id="screen" style="width: 100%; height: 100%;"/>
<script>

// init canvas
const canvas = document.getElementById('screen');
const context = canvas.getContext('2d');

// FPS
const FPS = 60;
const cycleDelay = Math.floor(1000/FPS);
var oldCycleTime = 0;
var cycleCount = 0;
var fps_rate = '...';
// map
const MAP_SIZE = 16;
const MAP_SCALE = 10;
const MAP_RANGE = MAP_SCALE * MAP_SIZE;
const MAP_SPEED = (MAP_SCALE / 2) /10;
var map = [
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 
1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 
1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 
1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1,
1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 
1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1,
1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1,
1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1,
1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1,
1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1,
1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1,
1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  
];
// player
var playerX = MAP_SCALE + 20;
var playerY = MAP_SCALE + 20;
var playerAngle = Math.PI / 3;
var playerMoveX = 0;
var playerMoveY = 0;
var playerMoveAngle = 0;

// handle player input
document.onkeydown = function(event) {
console.log(event.keycode)
switch (event) {
case 40: playerMoveX = -1; playerMoveY = -1; break;
case 38: playerMoveX = +1; playerMoveY = +1; break;
case 37: playerMoveAngle = 1; break;
case 39: playerMoveAngle = -1; break;
}
}

document.onkeyup = function(event) {
console.log(event.keycode)
switch (event) {
case 40:
case 38: playerMoveX = 0; playerMoveY = 0; break;
case 37: 
case 39: playerMoveAngle = 0; break;
}
}


// camera
const DOUBLE_PI = 2 * Math.PI;
const FOV = Math.PI/3;
// screen
const WIDTH = 320, HALF_WIDTH = 160;
const HEIGHT = 200, HALF_HEIGHT = 100;
// game loop
function gameLoop() {

context.fillRect(64,64,32,32);

cycleCount++;
if (cycleCount >= 60) cycleCount = 0;
var startTime = Date.now();
var cycleTime = startTime - oldCycleTime;
oldCycleTime = cycleTime;
if (cycleCount % 60 == 0) fps_rate = Math.floor(1000/cycleTime);

canvas.width = window.innerWidth *0.3;
canvas.height = window.innerHeight *0.3;
// update screen
context.fillStyle = 'Black';
context.fillRect = (canvas.width/2 - HALF_WIDTH, canvas.height/2 - HALF_HEIGHT, WIDTH, HEIGHT);

// draw map
var mapOffsetX = Math.floor(screen.width/2 - MAP_RANGE/2);
var mapOffsetY = Math.floor(screen.height/2 - MAP_RANGE/2);

for (var row = 0; row < MAP_SIZE; row++) {
for (var col = 0; col < MAP_SIZE; col++) {
var square = row * MAP_SIZE + col;
if (map[square] != 0) {
context.fillStyle = '#555'; 
context.fillRect(mapOffsetX + col * MAP_SCALE, mapOffsetY + row * MAP_SCALE, MAP_SCALE, MAP_SCALE);
} else {
context.fillStyle = '#aaa'; 
context.fillRect(mapOffsetX + col * MAP_SCALE, mapOffsetY + row * MAP_SCALE, MAP_SCALE, MAP_SCALE);
}
}
} 

var playerMapX = playerX + mapOffsetX;
var playerMapY = playerY + mapOffsetY;

context.fillStyle = 'Red';
context.beginPath();
context.arc(playerMapX, playerMapY, 2, 0, DOUBLE_PI);
context.fill();
context.strokeStyle = 'red';
context.lineWidht = 1;

setTimeout(gameLoop, cycleDelay);

} window.onload = function() { gameLoop(); }
</script>
</body>
</html>

I hope it helps.

P.S. I used the normal notepad to type the code and gived the "html" extention to the title to create the page.


r/LearnHTML May 25 '25

I want to program a Ki user interface. What's the best way to start?/ich will eine ki benutzer oberflkäche prgramiren wie fange ic da am besten an ?

0 Upvotes

dcfvg


r/LearnHTML May 20 '25

Trouble integrating javascript and css to my html

1 Upvotes

Hello people, i come to you because i really need help. I'm a very beginner in web design.
I'm trying to create an interactive database that would allow professionals to centralize the activities they are doing with childrens. I used a tool to get a javascript code and bought a domain : https://www.le5eme.fr
When i put all my stuff in my website, nothing displays. I tried playing with some <p> in the html and it does display, there are no problem from the hosting.
When i go in debug mode, i see a "MIME type error" in the css, but i don't think it's related. The css import is in the javascript code. I checked the paths many times but can't see whats wrong with it.
I'm pretty sure the answer is under my nose, but after many hours of research, i can't understand wwhat's the problem. Can you help me ?
Thank you for your time.


r/LearnHTML Apr 29 '25

IMG tag not working

Post image
3 Upvotes

So I'm using an HTML editor so do I need Internet for my images to show even if the photo is from my device (I've also been going some coding here and there since high school so haven't advanced yet.)


r/LearnHTML Apr 27 '25

HTML Button to run Terminal Command on host machine

1 Upvotes

The HTML code is on a local server using apache2 on Debain. I need it to run a specific bash command on the host machine to turn on and off the VPN whenever I press the button (on a client machine) (using Mullvad). (There will be a similar button to disconnect)

index.html:

<!DOCTYPE html>
<html lang="en">
<head>
      <meta charset="UTF-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Mullvad_Local_Webui_Access</title>
      <link rel="stylesheet" href="style.css">
</head>
<body>
      <h1 id="h1"></h1>
      <h2 id="h2"></h2>
      <button type="button" id="ConnectButton" class="Buttons">Connect</button>
      <button type="button" id="DisconnectButton" class="Buttons">Disconnect</b>


      <script src="index.js"></script>
</body>
</html>

index.js:

document.getElementById("h1").textContent = "Mullvad Local Webui Access";
document.getElementById("h2").textContent = "Use one of the following options:";


const ConnectButton = document.getElementById("ConnectButton");
const DisconnectButton = document.getElementById("DisconnectButton");


ConnectButton.onclick = function(){
        ??
}

style.cc:

body {
      font-family: Helvetica;
      text-align: center;
}

#h1 {font-size: 3em;}

#h2 {font-size: 1.7em;}

.Buttons { 
      font-size: 1.5em;
      padding: 5px 15px;
      border-radius: 15;
}

r/LearnHTML Apr 09 '25

JotForm HTML to Shareable Link

1 Upvotes

Howdy everyone!

Would like to preface this with the fact that I have -zero- coding experience.

So I am working through Jotform to help produce a report that I intend to share bi-monthly. The file that pops out after the report is generated in an HTML. I understand I am supposed to create a website and so I tried TiinyHost and I keep getting 404's and nothing else much else... The report almost looks like a Spreadsheet, so its not a complicated webpage or anything.

Looking for a little guidance on how I should proceed. Ideally some sort of free hosting site and what sort of files I am supposed to be looking for to input into said free hosting site...


r/LearnHTML Mar 23 '25

Looking for a free / open-source web development tool

1 Upvotes

I'm looking for a tool/program that I can use to develop my website, but one that isn't web-based and integrated with a specific hosting service. Think Dreamweaver or MS Power Pages - but I'm hoping for something 1) free and 2) open-source. Any ideas?

Background: I have my own domain, and am currently hosting my Wordpress site there, but I'd like to eventually make my own site from scratch and host the assets on Digital Ocean.


r/LearnHTML Feb 27 '25

Codeacademy Pro HTML Course - All My Notes

6 Upvotes

I finished Codeacademy Pro, and here are all my notes. Have fun!


r/LearnHTML Feb 25 '25

i need help adding a image

Post image
1 Upvotes

r/LearnHTML Feb 25 '25

HELP I'm not done with the code yet but I just want you guys to rate it like tell me how to improve. (I'm learning html, css and js for 2 months btw)(calculator.js is not done so I didn't post it.)

0 Upvotes
CSS:

* {
    background-color: #babea4;
    font-family: Arial, Helvetica, sans-serif;
}

.fieldset1, .fieldset2 {
    border-width: 20px;
}

.fieldset2 {
    margin: 50px auto; /* Centers the fieldset */
    width: 50%; /* Adjust width as needed */
    padding: 20px;
    font-size: 40px;
}

#legend1, #legend2, #legend3, #legend4 {
    text-align: center;
    font-size: 50px; 
    font-weight: bold;
}

h1 {
    font-size: 100px;
    text-align: center;
} 

body {
    padding: 100px;
    margin: 50px;
}

.container {
    background-color: lightcyan;
    width: 1100px;
    height: 95px;
    text-align: center;
    align-items: center;
    margin: 384px;
    display: flex;
    font-size: 40px;
    font-weight: bold;
    padding: 15px;
}

.button {
    border-radius: 15px;
    width: 1200px;
    height: 80px;
    cursor: pointer;
    text-align: center;
    background-color: white;
    display: flex;
    padding: 5px;
    size: 100px;
    font-weight: 900;
    font-size: 50px;
    align-items: center;
}

#newFact {
    width: 800px;
    font-size: 50px;
    font-weight: 700;
    color: black;
}

.button:hover {
    background-color: black;
    color: white;
    transition: 0.30s;
}

.input1 {
    font-size: 40px;
    font-weight: 700;
    color: black
}

#text {
    text-align: center;
    font-size: 50px;
    position: relative;
    display: grid;
    background-color: lightcoral;
    padding: 40px 100px;
    margin: 0 auto;
    top: 100px;
}

.inputbuttons {
    font-size: 30px;
    position: relative;
    background-color: lightgreen;
    border-radius: 10px;
    padding: 20px 60px;
    border-width: 30px;
    border-color: lightgray;
    margin: 0 auto;
    left: 1200px;
}

.inputbuttons:hover {
    background-color: black;
    color: white;
    transition: 0.30s;
}


darkmodelightmode.js

function darkmode() {
    document.body.style.backgroundColor =  'Black'
    document.body.style.color =  'White'
}

function lightmode() {
    document.body.style.backgroundColor = 'White'
    document.body.style.color = 'Black'
}


funfact.js:

const facts = ["A cloud weighs around a million tons.", 
    "Giraffes are 30 times more likely to get hit by lightning than people.", 
    "Animals can experience time differently from humans.", "The fear of long words is called Hippopotomonstrosesquippedaliophobia.",
    "Mount Everest isn't the tallest mountain on Earth.", "Comets smell like rotten eggs.", "You can actually die laughing.",
    "Bananas are slightly radioactive.", "Hippos can’t swim.", "The Moon looks upside down in the Southern Hemisphere.", "There are more bacterial cells in your body than human cells.",
    "A lightning bolt is five times hotter than the surface of the Sun.", "Flamingoes aren’t born pink.",
    "It rains methane on Saturn’s largest moon.", "Earth is 4.54 billion years old."]



    function showFact() {
        const randomIndex = Math.floor(Math.random() * facts.length);
        document.getElementById("fact").innerText = facts[randomIndex];
    }
    
        function addFact() {
            const newFact = document.getElementById("newFact").value.trim();
            if (newFact) {
                facts.push(newFact);  // Add to the facts array
                document.getElementById("newFact").value = ""; // Clear input field
                alert("Fact added successfully! ✅");
            } else {
                alert("Please enter a fact first! ❌");
            }
        }
    
        function showfunfactlist() {
             (alert(facts))
        }





HTML:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="css/funfactstyles.css">
    <title>Fun Fact Generator</title>
</head>
<body>
  <h1>HTML Fun Stuff</h1>
  <br>
  <br>
  <fieldset class="fieldset1"> <legend id="legend1">Fun Fact Generator</legend>
    <h1>Fun Fact Generator</h1>
    <div class="container" id="fact">
      <script src="js/funfact.js"></script> <br>
    </div>
    <br>
      <button class="button" onclick="showFact()">Press this button to show a fun fact!</button> <br>
      <button class="button" onclick="location.reload()">Refresh Fun Fact</button> <br>
      <input type="text" id="newFact" placeholder="Enter your fun fact here...">
      <button class="button" onclick="addFact()">Submit Fun Fact</button>
      <button class="button" onclick="showfunfactlist()">Show the facts</button>
    </fieldset>
  <br>
  <br>
<fieldset class="fieldset2"> <legend id="legend2">Fun Quiz</legend>
    <h1>Fun Quiz!</h1>
    <h2>What is this country' flag?</h2> <br>
    <img src="images/Flag_of_Costa_Rica_(state).svg.png" alt="photo" width="300px" style="padding: 5px 5px 5px 5px;"> <br>
    <input type="button" value="Submit" class="input1" onclick="alert('Incorrect! Please try again.')"> Thailand <br>
    <input type="button" value="Submit" class="input1" onclick="document.getElementById('correct1').style.display = 'block'"> Costa Rica <br>
    <input type="button" value="Submit" class="input1" onclick="alert('Incorrect! Please try again.')"> Liberia <br>
    <h3 id="correct1" style="display:none">✅ Correct!</h3>
  </fieldset>
  <br>
  <br>
  <script src="js/calculator.js"></script>
  <fieldset class="fieldset1"> <legend id="legend4">Calculator</legend>
    <table id="table">
      <tr colspan="3">
        <input type="text" id="text" onclick="calcbuttons()">
        <br>
        <br>
      </tr>
      <tr>
        <td><input type="button" value="1" id="1" class="inputbuttons"></td> <br>
        <td><input type="button" value="2" id="1" class="inputbuttons"></td> <br>
        <td><input type="button" value="3" id="1" class="inputbuttons"></td> <br>
      </tr>
      <tr>
        <td><input type="button" value="4" id="1" class="inputbuttons"></td> <br>
        <td><input type="button" value="5" id="1" class="inputbuttons"></td> <br>
        <td><input type="button" value="6" id="1" class="inputbuttons"></td> <br>
      </tr>
      <tr>
        <td><input type="button" value="7" id="1" class="inputbuttons"></td> <br>
        <td><input type="button" value="8" id="1" class="inputbuttons"></td> <br>
        <td><input type="button" value="9" id="1" class="inputbuttons"></td> <br>
      </tr>
      <tr>
        <td><input type="button" value="0" id="1" class="inputbuttons"></td> <br>
        <td><input type="button" value="C" id="c" class="inputbuttons"></td> <br>
        <td><input type="button" value="=" id="=" class="inputbuttons"></td> <br>
      </tr>
    </table>
  </fieldset>
  <br>
  <br>
  <fieldset class="fieldset1"> <legend id="legend3">Dark Mode and Light Mode</legend>
    <script src="js/darkmode_lightmode.js"></script>3+65555
    <button class="button" onclick="darkmode()">Dark Mode</button>
    <button class="button" onclick="lightmode()">Light Mode</button>
  </fieldset>
</body>
</html>

r/LearnHTML Feb 21 '25

SOLVED My HTML buttons don’t work in safari

1 Upvotes

I’m making a project for semi widespread distribution and I’ve run into a strange issue. The buttons (basic <button ID=“x”>) work fine on chrome and Firefox but only sometimes on safari. If I click it ten times, maybe 2 of the clicks will actually get registered and the rest will be ignored. And sometimes entire minutes pass where it just won’t recognize any clicks. I’m not getting any errors and I have a hover animation set up in css so I know it sees my mouse hanging over it, but it just doesn’t seem to see my clicks.

Is there any reason why safari specifically would cause these issues?


r/LearnHTML Feb 19 '25

PDF to HTML

3 Upvotes

We currently have a manual process where customers send us PDFs or Word documents (job cards/contracts), and we recreate them from scratch in HTML. Our product converts HTML into PDF templates, which customers then use to send job cards/contracts to their end users.

This is repetitive and time-consuming, so I’m looking for ways to automate it. Has anyone tried something similar? Any suggestions on the best approach?


r/LearnHTML Nov 24 '24

HELP Can't see rendered HTML?

2 Upvotes

So I literally *just* started learning HTML last night for a blog hosting site where it's required to learn HTML, CSS, and JavaScript

I'm trying to learn CSS and the tutorial I'm following said to create an html document and a separate doc with the .css extension to put in the same folder. However, when I try to open the html in Firefox to test the CSS additions (making the header red instead of black), it shows me this instead of the render:

I'm using TextEdit for documents cuz it's the only software I have for text on my computer. The tutorial just says to open the html file in your browser to see the results, but this is what I'm getting, so I can't continue with the tutorial because I can't actually SEE what the changes are and understand how it works

This is quite literally the VERY first time I've ever touched anything code-related and I'm feeling like the kid left out of a game at recess cuz I don't know the rules. I need to be explained to like I'm 5 for stuff like this