Need feedback on my random quote generator project, I don’t know how to create an external json file so I just create an array of objects. Thanks for any response !
Nice but for the moment its not responsive. You may try to add a couple of lines of css code to solve the problem:
1st You need to change your body background-attachment from fixed to background-attachment:cover;
2nd you need to add in css a code like this:
@media (max-width:576px){
.container{
width: 80vw;
}
#quote{
text-align: left;
}
}
3rd You may consider in the future to add api usage instead of a hard coded array.
Anyway, good job.
thanks a lot! it’s responsive now, i’ll find a way on how to use json next time!