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
Tom
@moT01
@ogwel5 you can't link to an image on your computer through codepen
codepen doesnt have access to your hard drive
ogwel5
@ogwel5
@moT01 actually the images are fine and i understand that...look at the header...nav ..i am stuck there
to put them in one line and separate gmail icon and images they are all attached
Tom
@moT01
add a margin
a {
  margin: 10px; }
or padding
put them in one line?
Ghost
@ghost~5a4a80acd73408ce4f859755
Do you reckon you could help me out with that code for the fish tank?
@moT01
MichaelGngr
@MichaelGngr
@jorgemoya
Web technology for developers > Web APIs it is in MDN site, for what languages are exist this APIs?
Tom
@moT01
@MuhammedKarim lets take another look
Ghost
@ghost~5a4a80acd73408ce4f859755
Kaz Baig
@kbaig
Has anyone tried deploying a project on Glitch?
Tiago Correia
@tiagocorreiaalmeida
@kbaig yeah
Kaz Baig
@kbaig
@tiagocorreiaalmeida I'm getting a bunch of errors in the log related to node package installation when I try importing a project from github
Tiago Correia
@tiagocorreiaalmeida
if you have package.json nested in folders it wont install them
Ghost
@ghost~5a4a80acd73408ce4f859755
@moT01 i dont understand how i can make a random fish...
Kaz Baig
@kbaig
It is trying to install them but the errors look something like npm ERR! tar.unpack untar error /tmp/npm-cache/6.12.3/core-js/2.5.3/package.tgz 3:20 PM
Tom
@moT01
@MuhammedKarim all that stuff you're doing... when you find yourself writing the same line of code multiple times you should think about putting it into a reusable function
as for a random fish - you can make one just like you did - instead of putting in x,y values yourself - make x and y random
x = math.random
Tiago Correia
@tiagocorreiaalmeida
@kbaig it seems an issue with the package but never runned into it if you google it what comes up?
Ghost
@ghost~5a4a80acd73408ce4f859755
image.png
that doesnt work there for some reason @moT01
Kaz Baig
@kbaig
@tiagocorreiaalmeida since they named the site Glitch, it's not easy to search for issues specific to it lol
Tom
@moT01
yea, that's not how to get a random number
Ghost
@ghost~5a4a80acd73408ce4f859755
that still doesn't work :( @moT01
image.png
Tom
@moT01
what repo
Ghost
@ghost~5a4a80acd73408ce4f859755
Now that is amazing, that's really cool
but my main issue was making a random sized and coloured fish at each click...
Tom
@moT01
start with putting a fish on in a random spot
get a random x and y
Math.floor(Math.random() * 20)) will give you a number between 0 and 19
you can console.log it to see for yourself
var random = Math.floor(Math.random() * 20));
console.log(random);
Ghost
@ghost~5a4a80acd73408ce4f859755
@moT01 im working on it but things just dont add up :(
ogwel5
@ogwel5
hi is there anyone who can help make my horizontal navigation bar be in straight?..getting that icon in the same line a others
Tom
@moT01
@ogwel5 i would use flexbox
you can align things vertically
Eric Weiss
@eweiss17
if you are recreating the google homepage, you can use the icons google provides, https://material.io/icons/
apps and notifications
Ghost
@ghost~5a4a80acd73408ce4f859755
@moT01 no luck maan :(