Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

212
Views
Button not appearing and hover not working either

My button and hover were working before I started on the Javascript so im a bit confused as to why its not working or showing up now, This is my first javascript project so would love some help explaining my error and how I can fix it. Thank you

https://jsfiddle.net/AoifeLarkin/odqhxtmj/#&togetherjs=2GOviaBkd1

Link to JSFiddle of Code

<html>
   

<head>
<meta charset="utf-8">
<title>Animal Quiz</title>
<link href="Styles/styles.css" rel="stylesheet" type="text/css">

</head>

 <body>
   
   <div id="wrapper">
     <h1>Animal Quiz</h1>

     <!--Start Button for Quiz to Begin-->
     <div class="start_button"><button>Start Quiz</button></div>

     <!--Box for Quiz-->
     <div class="box">
       <header>
         <h2>Question 1</h2>
       </header>
       <main>
         <div class="q">
           <!--Block Element-->
           <!--<span>The biggest predator in the animal kingdom?</span>-->
           <!--Inline Element-->
         </div>
         <div class="option_list">
           <!--<div class="option">
             <span>Whale</span>
           </div>
           <div class="option">
             <span>Lion</span>
           </div>
           <div class="option">
             <span>Crocodile</span>
           </div>-->
         </div>

       </main>



       <!--Footer for the quiz box-->

       <footer>
         <div class="total_q">
           <span> 1 of 15 Questions</span>
         </div>
         <button class="next_button">Next Question</button>


       </footer>


     </div>
about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You shuld use debugger (or console). You have not definied the array questions.From this point on, the execution of the entire code will stop (so nothing will be working).

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!