Need help checking if a specific id has a particular class. Unsure of the process?
Here's the code snippet where the attempt at checking the id for a specific class is visible within the homeTransition function.
function homeTransition()
{
// Code snippet for checking specific class on a specified id
}
function aboutTransition()
{
// Code for aboutTransition function
}
function projectsTransition()
{
// Code for projectsTransition function
}
function contactTransition()
{
// Code for contactTransition function
}
//Menu
function expand(){
// Code to expand the menu
};
$(".button").on('click', expand);
CSS code block
HTML code block