Well that's what I've tried to do, but it just renders my React app at the path /portfolio/twitch/index.html.
Hey everyone, i've almost finished my jQuery calculator. Can someone explain me why the last three buttons don't align with the others ? I think there is some margin somewhere but i can't find it. https://codepen.io/Ophe/pen/JOWQJW?editors=1111
which three buttons?
ok wait i try to fix.
@Ophellia just by looking at the calculator, it appears the zero button is to large.
The end of zero button does not line up with your other buttons, 2 & 5 for instance
Looks like I needed to include my static pages in /public. Thanks for your help @sorinr
jheebz sends brownie points to @sorinr :sparkles: :thumbsup: :sparkles:
@leet-hacks which colors? Than u need if true show colors[i] if false show colors[i+1]
If u want random colors, put your colors in an array and use math.random
var colors = ['white', 'orange', 'blue'];
var color = colors[Math.floor(Math.random()*colors.length)];
console.log(color); something like that and u dont need isColor variable
@leet-hacks Your code always selects the last color in the array. Your i variable you don't need a loop but a global idnex variable if you want to select from the array. Or use the random code as described above
@rajarahull what is the error ?
Thanks @padunk it working fine now
leet-hacks sends brownie points to @padunk :sparkles: :thumbsup: :sparkles:
Hi all I am doing the random quote machine challenge
but i am not sure how to proceed from here
abraham anak agung
@alessiochiffi nice ui, a link to the news is even better. What news company after financial times? The logo didnt show up
@Seahchye If you have confirm that you are getting the quotes (maybe use console.log in your forEach) You can then examine the json and determine what string values you want to put into your page. you can use the browser DOM API or something like jquery to do that
@padunk thanks! I have inserted a placeholder for articles without images
alessiochiffi sends brownie points to @padunk :sparkles: :thumbsup: :sparkles: