Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 17 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 17:13
    @mstellaluna banned @cmal
  • Jan 08 22:05
    @mstellaluna banned @dertiuss323
  • Nov 07 2018 04:42
    User @texas2010 unbanned @ows-ali
  • Nov 02 2018 16:25
    @texas2010 banned @ows-ali
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:12
    User @bjorno43 unbanned @androuino
  • Sep 05 2018 07:38
    @bjorno43 banned @androuino
  • Aug 23 2018 16:57
    User @bjorno43 unbanned @rahuldkjain
  • Aug 23 2018 16:23
    @bjorno43 banned @rahuldkjain
  • Jul 29 2018 14:13
    User @bjorno43 unbanned @jkyereh
  • Jul 29 2018 01:00
    @bjorno43 banned @jkyereh
  • Jul 10 2018 22:09
    @bjorno43 banned @manafn
  • Jul 06 2018 15:20
    @texas2010 banned @imlegend19
  • Jul 03 2018 12:28
    @bjorno43 banned @vbvmatta
  • Jun 29 2018 13:54
    @bjorno43 banned @OGTechnoBoy
GetBig33
@GetBig33
@walidashri waiting on ideas man
@walidashri wow would have never thot about that part ahhhh will get back to it later am taking another break this coding got me all puzzled
its fun but stressing at the same time lol
Walid Ashri
@walidashri
@GetBig33 :+1:
Richard
@richao03
Hello all
im trying to have the red line interset the right top corner of the black box
however, even though i have all the units in percentages, when i resize the window
the red line moves all over the place away from the box
thats the code pen i created to illustrate my problem
Walid Ashri
@walidashri
@richao03 change .box height : 30 vh
Richard
@richao03
yeah but the red line still doesnt stay in oplace
Walid Ashri
@walidashri
@richao03 it did for me
Richard
@richao03
even when u make the window really small?
Walid Ashri
@walidashri
yes
Richard
@richao03
when i resize the redline still moves and doesnt stay in the "relative" place
Walid Ashri
@walidashri
.box height : 30 vh not vw
Jerzz
@2cool4school
This message was deleted
can anyone tell me why this code wont work? Im trying to replicate and example of a dropdown button but use a link inside my navbar instead:
<!DOCTYPE html>
<html>
<head>
<style>

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

li {
    float: left;
}

li a {
    display: block;
    color: powderblue;
    text-align: center;
    padding: 7px 7px;
    text-decoration: none;
}

li a:hover {
    background-color: #111;
}

.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}
</style>
</head>
<body>

<h2>Hoverable Dropdown</h2>
<p>Move the mouse over the button to open the dropdown menu.</p>



<ul>
  <li class='dropdown'>
    <a href='#' class='dropbtn'>Dropdown</a>
    <div class="dropdown-content">
      <a href="#">Link 1</a>
      <a href="#">Link 2</a>
      <a href="#">Link 3</a>
    </div>
  </li>
</ul>

</body>
</html>
Evan W
@Dirtier
Can someone please help me figure out why I'm getting a reference error? I'm using Vue.js
I've been at this for 3 days
John Garrison
@johntg96
I am making a hangman game and I get:
game.js:71 Uncaught SyntaxError: Unexpected end of input
// start a new game
$('#new-game').on('click', function() {
$('.game').removeClass('hide');
$(this).addClass("hide");
$('#reset').removeClass('hide');
main()
});
@johntg96 Why would I get this error? I am pretty sure I have all the right closings..
// start a new game
$('#new-game').on('click', function() {
    $('.game').removeClass('hide');
    $(this).addClass("hide");
    $('#reset').removeClass('hide');
    main()
});
Jordan Bartholomew
@tourdejord
3 days? That's rough, Your tic tac toe worked for me.
Beautifully I might add. Looks good.
Evan, what's the issue?
@Dirtier
I had to jump on the computer. My phone isn't being tag(@) friendly.
Stephen James
@sjames1958gm
@Dirtier Try game.compStart("X") the modal is not part of game
@johntg96 That is all there is?
Evan W
@Dirtier
I'm back
sorry
Ok so when you click the versus computer
you should be able to click on either the X or the O
and that will call the function compStart that sets the respective marker, and then makes the modal disappear
Stephen James
@sjames1958gm
In your modal template try game.compStart
Evan W
@Dirtier
v-on:click='game.compStart' ?
Stephen James
@sjames1958gm
yes, add game. to the front of the two calls
Evan W
@Dirtier
Holy shit
are you fing kidding me
Stephen James
@sjames1958gm
@Dirtier Sorry :(
Evan W
@Dirtier
that actually worked? I've been smashing my head against the wall for days
trying to figure out why this wasn't working
Lol wow @sjames1958gm thanks a lot man
CamperBot
@camperbot
dirtier sends brownie points to @sjames1958gm :sparkles: :thumbsup: :sparkles:
:star2: 3780 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
Stephen James
@sjames1958gm
@Dirtier I believe it did, the modal is outside of the game object, so it needed to reference it
Evan W
@Dirtier
Yea it worked lol I'm just astounded
Bc I swear it was able to change data