0TH0N/project-lvl3-s390

View on GitHub

Showing 2 of 2 total issues

Function formRender has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const formRender = (formState) => {
  const input = document.querySelector('#rsslink');
  const button = document.querySelector('#button');
  const info = document.querySelector('#info');
  info.innerHTML = formState.info;
Severity: Minor
Found in src/renderers.js - About 1 hr to fix

    Function handleForm has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    export const handleForm = (el, stateIn) => {
      el.preventDefault();
      const state = stateIn;
      const formData = new FormData(el.target);
      const newURL = formData.get('inputURL');
    Severity: Minor
    Found in src/handlers.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language