ogagaoghene / online-conference-website

An online conference website that contains information about conference events and speakers from different parts of the world. Built with HTML, CSS3 and JavaScript.
7 stars 0 forks source link

Peer to Peer Code Review #2

Open trace-kadenyi opened 2 years ago

trace-kadenyi commented 2 years ago

Hi Esi, I'm @TracK92 and I will be reviewing your code today 😄. Firstly, you did a remarkable job on this project. You should be very proud of yourself dev Esi 😊

Highlights ✅

Issues ❎

Kindly observe the following issues to enhance your code.

image

image

image

const mobileMenu = () => {
  hamburger.classList.toggle('active');
  if (hamburger.classList.contains('active')) {
    hamburger.innerHTML = '<i class="fas fa-times"  style="color:#fff"></i>';
  } else { hamburger.innerHTML = '<i class="fas fa-bars style="color:#fff"></i>'; }
  navMenu.classList.toggle('active');
};

const closeMenu = () => {
  hamburger.innerHTML = "<i class='fas fa-bars' ></i>";
  navMenu.classList.remove('active');
  hamburger.classList.remove('active');
};
ogagaoghene commented 2 years ago

Okay thanks