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
Brad
@bradtaniguchi
@rajkumart08_twitter You have a stackblitz for this?
@rajkumart08_twitter From what I see what does the class delcaration for player-contacts.component.ts look like? (the component decorator and class name stuff)
cuse it looks like the name of the player-component has a caps, and angular is complaning the .html file isn't found.
Ehsan Shadmehri
@ehsansh
@bradtaniguchi But the only problem I have is that as this project has 4-5 pages. It works great when I click on the links because I have used vue-router but when I want to open the links directly it does not work. for example this link: http://localhost:8081/posts does not open.
I am not sure what I have done is the best practice.
Ken Haduch
@khaduch
@zootechdrum - since a random number is supposed to be "random" it could come to the same number twice, especially if you only have 4 possibilities, it looks like that is what you are limiting it to. But you could do something like keep a variable to "remember" the last number that came up, and make a loop that will keep generating random numbers until it gets something different. That would at least prevent repeated values. And obviously the larger your set of possible numbers, the less of a chance it will hit the same one often, but that's not guaranteed. You could remember a series of the latest numbers and check against them all, and use the same technique, then add additional numbers to your list, and remove the oldest value.
Brad
@bradtaniguchi
@ehsansh This is because when you go to the /post routes your asking express for this, which doesn't exist on express's side. So usually you redirect the user to the index.html, for that route. You might have to lookup how to handle this in vue. (There's also the "hash" routing strategy which is usually an option, but it makes less nice urls, as they start with a hash)
Ehsan Shadmehri
@ehsansh
@bradtaniguchi Yes. I think I have seen a solution in videos of this repo: https://github.com/blogscot/tab-tracker .I should search to find.
What is your idea about this way of coding for vue and express in one project?
Brad
@bradtaniguchi
idk, I don't use express or vue. (I use Angular tho, so its similar in terms of both being a SPA
Ehsan Shadmehri
@ehsansh
@bradtaniguchi thanks
CamperBot
@camperbot
:cookie: 458 | @bradtaniguchi |http://www.freecodecamp.org/bradtaniguchi
ehsansh sends brownie points to @bradtaniguchi :sparkles: :thumbsup: :sparkles:
Brad
@bradtaniguchi
@ehsansh np, this is another common issue so I know the sources are out there. (I don't work on the backend so idk how we solve the same problem your having right now, its some sort of redirect tho)
Alvin
@AlvinW89
Second Attempt On first Project. Any Feedback: https://codepen.io/alvinw89/full/zWQgXm/
Better in desktop view
Devina
@Devina
@zootechdrum, if the random number set is low, one way is to push and keep the random number into an array. Then, when you run a statement for the random number, check if is present in array. If present then redo the random number generation, otherwise keep it and push into array.
include*engine
@newtothat
@AlvinW89 i loved your tribute page
Alvin
@AlvinW89
Thanks @newtothat
CamperBot
@camperbot
alvinw89 sends brownie points to @newtothat :sparkles: :thumbsup: :sparkles:
api offline
include*engine
@newtothat
how long you learning
Alvin
@AlvinW89
About 2-3 years. Mostly free resources I could fine. I been learnign from TeamTreeHosue for the past month
doing there front-end
But it a lot of follow along and FreeCodeCamp lets you think XD
So I am doing both now
include*engine
@newtothat
so whats the difference between two?
Alvin
@AlvinW89
From Youtube videos to jon duckett books
include*engine
@newtothat
books?
Alvin
@AlvinW89
well TeamTreeHouse is apaid service, they are a bit mroe detail on the learning, but it can become overwhealming.
Yea, hus books
include*engine
@newtothat
do people read books about
Alvin
@AlvinW89
XD well his covers Html, CSS and he has another for JS and jQuery
include*engine
@newtothat
do you think reading books is useful or do you learn anything from books?
Devina
@Devina
@AlvinW89, the embedded YouTube video is a brilliant idea. It's a nice variation of a tribute page, a different concept but per
Alvin
@AlvinW89
These books are good, and I also keep up on my comptia A+
include*engine
@newtothat
what is comptia a+
Devina
@Devina
*but perfect for a music page. Nice one. :+1:
Alvin
@AlvinW89
Computer technician
certfication
include*engine
@newtothat
from?
Alvin
@AlvinW89
@Devina9 Thanks, I wanted to have a way for people to enjoy the music.
CamperBot
@camperbot
alvinw89 sends brownie points to @devina9 :sparkles: :thumbsup: :sparkles:
:cookie: 262 | @devina9 |http://www.freecodecamp.org/devina9
Alvin
@AlvinW89
Comptia A+ Certification is a globally accepted cert for anyone who wants to be a computer tech
include*engine
@newtothat
but where do you study
Alvin
@AlvinW89
Liek I just seen a IT Job with Amazon on linkdin near me requireing it and Comptia Networ+ Certification
Oh, by myself
self taught everything
include*engine
@newtothat
i mean is it like online or you have to go to a uilding
Alvin
@AlvinW89
book
XD