Skip to content

DariaYurko/kottans-dom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Responsive menu

The goal

To make a responsive menu that will load some HTML content.

Description

In my work, I created a main menu, each element contains the name of the family of the lords of Westeros. Clicking on each menu item in the main menu will open a side menu with a list of lords from the selected family.

Example 1

example If you select the appropriate lord from the list of lords, will be displayed text information with a picture about the selected lord.

Example 2

example

Adaptive

  • for screen resolutions less than 992px example
  • for screen resolutions less than 768px example
  • for screen resolutions less than 768px with active burger-menu example
  • for mobile devices example

Using javascript

Also in my project I'm using javascript to listen event "click", that assigns the active classes to display the selected information.

Test of app

https://dariayurko.github.io/kottans-DOM/