Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 4 years ago

Space Tourism Multi-page Website

bootstrap, jss
Tharusha Induwara•250
@T-Induwara
A solution to the Space tourism multi-page website challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


There are some console issues that I want to address here. I received 3 issues,

  • script.js:186 Uncaught TypeError: Cannot read properties of null (reading 'classList') at script.js:186:10
  • script.js:64 Uncaught TypeError: Cannot set properties of null (setting 'onclick') at desFunc (script.js:64:21)
  • script.js:130 Uncaught TypeError: Cannot read properties of null (reading 'classList') at crewFunc (script.js:130:14)

But there are no malfunctioning sections or elements on the website. So, I couldn't manage to find solutions for these issues. If someone can explain or teach me why these issues occur, it will be so helpful to me for my future projects.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Tharusha Induwara's solution.

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License