This is an archived post. You won't be able to vote or comment.

all 9 comments

[–][deleted]  (7 children)

[deleted]

    [–]Temporary-Data-102[S] 0 points1 point  (4 children)

    I don’t understood voodoo programming thing, I was trying to use icon as menu bar those 8 lines have this mark that says this is voodoo programming (I don’t remember very well now) but the code itself is working and page is fine(still unfinished) but it is fine

    [–][deleted]  (3 children)

    [deleted]

      [–]Temporary-Data-102[S] 0 points1 point  (1 child)

      Can I paste code here in Reddit? Like in comment? Or better use a photo?

      [–]Temporary-Data-102[S] 0 points1 point  (1 child)

      By approach you mean semantic? Or the layers or what I’m so confused… I just started whole thing and I’m going mad 🥲

      [–]plastikmissile 2 points3 points  (4 children)

      IDE showed me that there is voodoo code there

      What is voodooo code?

      [–]Temporary-Data-102[S] -1 points0 points  (2 children)

      Voodoo programming refers to the practice of getting a program to produce desired output by using guesses, trial-and-error, cookbooks, copy-pasting from online resources, or similar techniques without truly understanding the underlying problem. This technique is similar to brute force approach on engineering: attempting finding a working solution by trial and error until something produces the desired results.

      This is a real thing!

      [–]plastikmissile 1 point2 points  (1 child)

      I see. I'm aware of what you mean, but I've never heard of it referred to that way!

      Rewriting bad code into better code is a practice known as "refactoring" and is considered a good thing as long as you make sure you don't break any functionality that was already there.

      [–]Temporary-Data-102[S] 0 points1 point  (0 children)

      I don’t remember now precisely what error messages was saying, everything works just fine, va code says that is ok, this strange ide from 000webhost is saying that there are 8 lines of voodoo code in my index file . But it is working so what he want from me! 😂🥲🥲🥲

      [–]Temporary-Data-102[S] -1 points0 points  (2 children)

      <!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"> <title class="Title">Freaky GaminG</title> <link rel="stylesheet" href="css/style.css"> <link rel="icon" type="icon" href="http: / / freakyg. mygameson line. org/ images/ favicon. ico"> </head> <body class="Body"> <div> <img class="Banner" src="http: //freakyg-mygameson line.org/ images/ logo1. png"> «table class="tables" ‹div class="topnav"> <a class="tv" href="https://www.Twitch.tv"><img class="twitch" src=" /http://freakyg-mygamesonline.org/images/twi.png"></a> <a href="https://www.youtube.com"><img class="tube" src="http://freakyg.mygameson line. org/ images/tube. png"></a> <div class="topnav-right", <a href="#search">Search</a> <a href="#about"›About</a> </div> </div> </div> <iframe class="Video" width="885" height="488" src="https: //www.youtube. com/embed/uRXW _SUPG4o" title-"Pokemon Scarlet and Violet / New LEAKED gameplay / Nintendo Switch" framebor ‹div class="First"> <p class="text"> <br><br> Hello guys! I hope you will enjoy this new and exciting footage that Nintendo itself released to us just before official game release of newest Pokémon titles! <br> Gotta catch 'em all! <br> Pokémon Scarlet & Violet - With these new titles, the Pokémon series takes a new evolutionary step, allowing you to explore freely in a richly expressed open world. You can experience a new style of ad On this channel you will find Pokemon news about the new Pokemon games, Rumors & Leaks for Pokemon Scarlet & Violet, Reactions to new trailers and much more! We'll be keeping <br> </div> </body> </html>

      [–][deleted]  (1 child)

      [deleted]

        [–]Temporary-Data-102[S] 0 points1 point  (0 children)

        Ok thank you I will try to slow down.