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
korzo
@korzo
@Justin25 I think 10$/day means fortune in some parts of world
ADIL KARMOUZI
@mradil16
yes 300$-350$ / month in Morocco its a good salary
@Justin25 where do I find those potential clients . Upwork declined my request. it said that there is no job offers for me with those skills.
Justin25
@Justin25
Can you link me to some stuff you've done?
You can check here for some jobs guru
linkin-park
@linkin-park
are you working on any freelance jobs ?
linkin-park
@linkin-park
in 10$ you wont get a cup of coffee :/
linkin-park
@linkin-park
awesome!
ADIL KARMOUZI
@mradil16
thanks bro
linkin-park
@linkin-park
wish i can make something like that :(
my question sir like how do you do multiple page at once
ADIL KARMOUZI
@mradil16
I don't get your question . This is a one page website with multiple sections
linkin-park
@linkin-park
i see
i really meant that
ADIL KARMOUZI
@mradil16
@Justin25 demo : https://codepen.io/mradil16/full/zEvgmx/ what do you think justin ?
linkin-park
@linkin-park
did you use any tools like bootstrap ? @mradil16
LydaTech
@lydatech
@mradil16 layouts broke for me
Capture.PNG
LydaTech
@lydatech
@mradil16 background-size: cover; will fix it. Remove the center center no-repeat and add the cover
@mradil16 youre also losing your images in the "Still showing properties ?" section on resize
ect
Ghost
@ghost~55a04b725e0d51bd787af54c
Hey guys :smile: I was wondering if you guys could leave some feedback on my chrome web app?
linkin-park
@linkin-park
chrome web app ?
whats that
Ghost
@ghost~55a04b725e0d51bd787af54c
Just a website with a fancy name (it's called a web app because it's designed to work on mobile devices as well, but it may still have a few bugs)
linkin-park
@linkin-park
what does it do :)
Ghost
@ghost~55a04b725e0d51bd787af54c
So it's basically a bookmarking app for your new tab page. You can also click the Simplify button to make the website into a sort of relaxing screensaver, for productivity purposes, or likewise.
Justin25
@Justin25
@mradil16 That looks great, you could easily make much more than 350$ a month
Sorry for the late reply
ivanabojic
@ivanabojic

Hi, I need help with Simon Memory game.
How can I prevent or ignore further clicks after a wrong sound is played? At the moment, my code plays more than one example melody in paralel. When wrong note is clicked exmaple melody starts playing. If note is clicked before the end second example melody plays at the same time. Third could be added the same way.

Here is the link:
https://codepen.io/Jo-anna/pen/LzENyX

Strict mode is not implemented yet. Player's notes are not held in an array, but checked against example melody as they are pressed.
Gersho
@Gersho
@ivanabojic i don't really know what's best practice on this, but i used boolean checks to prevent user input
for exemple, at the start of your function that plays the melody after an error, put melodyPlaying = true
Allister
@AlyxMoon
@ivanabojic How I would handle it is to use a variable along with a timer to track when you are playing a sound back, and you don't want the user to be able to do anything.
For example, once they click something and you are giving feedback in the form of sound, set a variable givingFeedback or something to true and create a timer at the moment to set it false after some amount of time, after sound would be done.
Then, when you are getting user input, check whether givingFeedback is true or not. If it's true, don't do anything.
Gersho
@Gersho
and at the stat of your click functions a check if it's true or not, and return right away if it is
(and of course set if to false when you're done)
Allister
@AlyxMoon
@Gersho Great minds think alike :D
piteto
@piteto
I don't know if you two are looking at the code, but they are using clickEnabled = true;
they need help with getting that to work, it seems
Allister
@AlyxMoon
Yeah I didn't go that deep.
Gersho
@Gersho
@piteto i didn't look to be honest :D
piteto
@piteto
230 lines of code are hard to go through in a few minutes
Gersho
@Gersho
oh they already have similar logic but turned the other way around
(for input check i mean)
piteto
@piteto
@ivanabojic maybe you can help narrow down where you're trying to enable/disable clicks - what function/lines of code
Gersho
@Gersho
i didn't even know about.off().on(
Allister
@AlyxMoon
Ah okay, so in the part where it's commented // enable further clicks
The code itself runs really fast, you are setting that variable back to true in an inconsequential amount of time after you've set it false. The sound, in comparison, is going to take a second or so. You just want a timer to delay the setting of clickEnabled to true.
Gersho
@Gersho
can we set up a promise in such a case ? (is there an event when an audio is done playing ?)
Geekomatic
@Geekomatic
@ivanabojic Try disabling the click function after each click, and reenabling whenever applicable.