Hi, I am currently doing this Random Quote Generator Project and i am stuck in so many places since few days and my debugging skills is starting to get to the point where i am about to flip out. >…<
- This Quotation well isn’t coming to the centre.
- Can’t resize my twitter image button.
I haven’t set my button events yet but i know how to do that after i debug my code first. Please can someone take a look and help me out ? Many thanks in advance :^<
Regarding the API call: You need to change your AJAX href to
https. Also, when you call the function at the end of your JS code, be sure to use the correct name for the function. Right now you are using slightly different names.
Regarding your Twitter button: In your
<img> tag, your are missing the quotes in what should
class="small". Once you do that, you can go into CSS, create the
.small class and give it a width attribute set to the size you want.
I hope this all helps!
Wow, i didn’t know about those settings. Thank you so much your response. I fixed the function name too. However, i can’t seem to resize my twitter button and i did fix the quotation marks.