I added a fun facts window as my first personalized/advanced app! This used the normal style of a fun fact generator - a button and text.
When I customize all my css, I’m hoping to add a border for the fun fact container in order for the size to be constant.
Btw, I previously had all my fun facts in an html list, but then in order for it to be a random generator, I moved the strings to a javascript array and had to make sure my code wasn’t (displayfunfact is an id):
—–displayfunfact.textContent,
but:
—–displayfunfact.innerHTML.
That way my and tags would work!
In the end, this worked out well:)
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.