Topic: Trying to run this code but it will not work (Source from the Learning Center)

yacozaragoza free asked 1 year ago

I am trying to run the "Double navbar with center search" code but it seems like it does not work when adding to a HTML page.. Can anyone tell me what I am missing...

This is what I have above the HTML snippit

<!DOCTYPE html>

Material Design for Bootstrap

<!-- Font Awesome -->
<link href=""
      rel="stylesheet" />
<!-- Google Fonts -->
<link href=",400,500,700&display=swap"
      rel="stylesheet" />
<!-- MDB -->
<link href=""
      rel="stylesheet" />

and this is what I have after the code

      <!-- MDB -->
  <script type="text/javascript"

yacozaragoza free commented 1 year ago

Here is the link I am using to get the HTML

Mateusz Lazaru staff commented 1 year ago

Do you have any errors in console? Make sure CSS imports are inside the <head> tag, and the code snippet and js import are inside the <body> tag.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 6.2.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No