Ask coding questions

← Back to all posts
1
Help with html/css/js please
HenryShearer (2)

https://repl.it/@HenryShearer/AP-Hug-Website

So I'm working on my (quite weak) HTML, Javascript, and CSS skills by doing a class project. My main problem is that the javascript quiz thing I have in it right now won't fit in the container class I specified, even though inspecting it says it does. The quiz also interfered with a bootstrap carousel I have now removed to get the site to work. I have no idea what's wrong with this, and will be grateful for literally any advice anyone can give me. I'm terrible at this.

Answered by Geocube101 (190) [earned 5 cycles]
View Answer
Commentshotnewtop
1
Geocube101 (190)

Placed "previous" and "next" buttons in "div" element container (ID="buttonCont")
Styled "#buttonCont": display = block; margin-top = 150px;
Styled ".question": position = relative; top = 250px; display = block;
Styled ".answer": margin-top = 250px;
I'm not sure if this is exactly what you wanted
New code here