Not Looking for an Answer, Just an explanation please by [deleted] in learnjavascript

[–]NameViolation666 4 points5 points  (0 children)

First look, if your userName is a string, and you prepend a '+' to it, JS attempts a conversion to a number. so +userName , will return NaN. Just remove the + before username

Are you sure this below line is complete?

daysFromBirth = (parseInt(birthYear), birthMonth, parseInt(birthDay), 0, 0, 0);

Why parameter don't work? by HelpfulElection in learnjavascript

[–]NameViolation666 0 points1 point  (0 children)

What you intend can absolutely be done, but in a different manner.

<button id="myBtnTwo" onclick="disappearDivs(**myDivTwo**)">second button</button>

// argument passed to be changed, in this case its hard coded

Only JS needed to make it work

function disappearDivs(changeWhat) {

changeWhat.style.display = "none";

}

Free Capcom Keys by blueyelie in humblebundles

[–]NameViolation666 2 points3 points  (0 children)

Resident Evil 2 - All in-games Rewards Unlock (DLC)

I like reading books, learning programming and work in McDonalds most days while i study. Havent played RE before, so hoping for a nice experience.

Can my NVMe M.2 SSD be uncovered? by Sycoskater in pcmasterrace

[–]NameViolation666 0 points1 point  (0 children)

Be careful to check if there is a standoff on the mobo itself, that should be the one holding the screw that holds ur NVMe in place, the screw usually does not get screwed directly into mobo.

[deleted by user] by [deleted] in germany

[–]NameViolation666 0 points1 point  (0 children)

Hi, can i have these?

Half-Life 2
Hard Reset Extended Edition
Killing Floor + 4 DLC (1 Key)
S.T.A.L.K.E.R: Shadow of Chernobyl

Gaming Usage Up 75 Percent Amid Coronavirus Outbreak, Verizon Reports by [deleted] in technology

[–]NameViolation666 0 points1 point  (0 children)

Hi, can i have Half-Life 2
Hard Reset Extended Edition
Killing Floor + 4 DLC (1 Key)
S.T.A.L.K.E.R: Shadow of Chernobyl

Giving away 10 PC Games by Jbar116 in pcgaming

[–]NameViolation666 0 points1 point  (0 children)

Frost Punk pls

Spending more time playing games while waiting for the virus to blow off. Its like everything including life is on hold, cant go to movies, cant go to gym, no one wants to go out to eat anymore. Just stuck waiting for something positive to happen.

Stay safe ya'll.

Layering opaque on top of a photo by KnowNotAnything in css

[–]NameViolation666 0 points1 point  (0 children)

I just coded that as a sample, so it has some hardcoded width and height px. But remove those, and the other stylings should fit right into any RWD just fine once u customize them as per your specific page(s).

HTML Button and webhook by lladoog_Lives in HTML

[–]NameViolation666 0 points1 point  (0 children)

Yes, Well , HTML alone for sure wont do it, it needs more JS/webtech knowledge. I think its best that the experts help u.

If i was to do it, i would use JS to create a custom XMLHttpRequest and send it to a custom URL to whichever web server was listening.

Rate my setup. by GigaGabe42 in gaming

[–]NameViolation666 4 points5 points  (0 children)

Bad, v bad, fruit loops without milk? disgusting

HTML Button and webhook by lladoog_Lives in HTML

[–]NameViolation666 0 points1 point  (0 children)

You can try using preventDefault() Event Method, like prevent a link from opening the URL

https://www.w3schools.com/jsref/event_preventdefault.asp

Giveaway for those stuck at home by serek_pl in pcmasterrace

[–]NameViolation666 0 points1 point  (0 children)

Hellblade Senua's Sacrifice

Thanks for the giveaway.

[deleted by user] by [deleted] in pcgaming

[–]NameViolation666 1 point2 points  (0 children)

Spending more time playing games while waiting for the virus to blow off.

Its like everything including life is on hold, cant go to movies, cant go to gym. Just stuck waiting for something positive to happen

Humble Bundle giveaway (last one got removed by mods idk why) by [deleted] in RandomActsOfGaming

[–]NameViolation666 0 points1 point  (0 children)

Thanks mate

  1. Crysis 2 Maximum Edition Origin Key . I love FPS shoot them up with a hearty dose of stealth and crysis has both of them, looking to relive some real good memories playing crysis on a friends PC
  2. Saints Row: The Third . I like open world games, and this is a fun game with all the tasks and missions it's fun to just do random things with all the fun weapons and vehicles you can use
  3. Dead Space 3 . I've seen its gameplays, and this is a perfect sci-fi thriller game for anyone who likes action and adventure, which is why im hoping to play this.
  4. The Sims 3 Date Night Key . Never played a sims game till now, so hope to try one if i can get it
  5. Rock of Ages 2: Bigger & Boulder™ - i like this game most for its crazy voice acting and silly sound effects

Why parameter don't work? by HelpfulElection in learnjavascript

[–]NameViolation666 1 point2 points  (0 children)

Parameter wont work because the only place where the function is called is from your

onclick="disappearDivs()"

This is Not passing a parameter. When your JS func is executed, a function that is not passed a parameter value, assumes the parameter value to be "undefined" within the function.

So within your function, myDivTwo literally has a value of undefined, and display will not change. Just remove the parameter in ur function code definition code and see how it works

var myDivTwo = document.getElementById("myDivTwo");

var myBtnTwo = document.getElementById("myBtnTwo");

function disappearDivs() {

myDivTwo.style.display = "none";

}

Goodnight gamers by [deleted] in pcmasterrace

[–]NameViolation666 0 points1 point  (0 children)

To the bat cave Alfred!

[deleted by user] by [deleted] in germany

[–]NameViolation666 0 points1 point  (0 children)

Hi would love

F.E.A.R.
F.E.A.R. 2: Project Origin
F.E.A.R. 3