function createProject(info) {
  $('<div></div>').attr({ class: "project" })
    .append($('<div></div>').attr({ class: "projectImage" }).append($('<img>').attr({
      class: `projectPicture ${info.linkType}`, id: info.link, src: info.projectPicture, alt: info.title
    }).css("border-color", info.color)))
    .append($('<div></div>').attr({ class: "projectGithubLink projectText" }).text('View on ')
      .append($('<a></a>').attr({ title: "GitHub", href: info.gitHubURL }).text(" GitHub").append($('<img>').attr({ class: "gitHubImage", src: "img/GitHub-Mark-Trans.png", alt: "GitHub logo" }))))
    .append($('<div></div>').attr({ class: "projectTitle" }).text(info.title))
    .append($('<div></div>').attr({ class: "projectText" }).append($('<div></div>').attr({ class: "colorHighlight" }).css("background-color", info.color).text(`Tap/click image for ${info.videoOrDemo}`))
      .append($('<br>'))
      .append($('<div></div>').attr({ class: "projectTextItalic" }).text('Technologies: '))
      .append($('<div></div>').text(info.technologies))
      .append($('<br>'))
      .append($('<div></div>').attr({ class: "projectTextItalic" }).text('Knowledge gained: '))
      .append($('<div></div>').text(info.knowledge))
      .append($('<br>')))
    .appendTo($('.gridContainer'))
  return;
}
// function to create a Project "card" and append it to the div with class="gridContainer" 
function to create a Project "card" and append it to the div with class="gridContainer"
function to create a Project " card " and append it to the div with class = " gridContainer "
function createProject(info) {
  $('<div></div>').attr({ class: "project" })
    .append($('<div></div>').attr({ class: "projectImage" }).append($('<img>').attr({
      class: `projectPicture ${info.linkType}`, id: info.link, src: info.projectPicture, alt: info.title
    }).css("border-color", info.color)))
    .append($('<div></div>').attr({ class: "projectGithubLink projectText" }).text('View on ')
      .append($('<a></a>').attr({ title: "GitHub", href: info.gitHubURL }).text(" GitHub").append($('<img>').attr({ class: "gitHubImage", src: "img/GitHub-Mark-Trans.png", alt: "GitHub logo" }))))
    .append($('<div></div>').attr({ class: "projectTitle" }).text(info.title))
    .append($('<div></div>').attr({ class: "projectText" }).append($('<div></div>').attr({ class: "colorHighlight" }).css("background-color", info.color).text(`Tap/click image for ${info.videoOrDemo}`))
      .append($('<br>'))
      .append($('<div></div>').attr({ class: "projectTextItalic" }).text('Technologies: '))
      .append($('<div></div>').text(info.technologies))
      .append($('<br>'))
      .append($('<div></div>').attr({ class: "projectTextItalic" }).text('Knowledge gained: '))
      .append($('<div></div>').text(info.knowledge))
      .append($('<br>')))
    .appendTo($('.gridContainer'))
  return;
}
function createProject ( info ) { $ ( '<div></div>' ) . attr ( { class : "project" } ) . append ( $ ( '<div></div>' ) . attr ( { class : "projectImage" } ) . append ( $ ( '<img>' ) . attr ( { class : ` ${ info . linkType } ` , id : info . link , src : info . projectPicture , alt : info . title } ) . css ( "border-color" , info . color ) ) ) . append ( $ ( '<div></div>' ) . attr ( { class : "projectGithubLink projectText" } ) . text ( 'View on ' ) . append ( $ ( '<a></a>' ) . attr ( { title : "GitHub" , href : info . gitHubURL } ) . text ( " GitHub" ) . append ( $ ( '<img>' ) . attr ( { class : "gitHubImage" , src : "img/GitHub-Mark-Trans.png" , alt : "GitHub logo" } ) ) ) ) . append ( $ ( '<div></div>' ) . attr ( { class : "projectTitle" } ) . text ( info . title ) ) . append ( $ ( '<div></div>' ) . attr ( { class : "projectText" } ) . append ( $ ( '<div></div>' ) . attr ( { class : "colorHighlight" } ) . css ( "background-color" , info . color ) . text ( ` ${ info . videoOrDemo } ` ) ) . append ( $ ( '<br>' ) ) . append ( $ ( '<div></div>' ) . attr ( { class : "projectTextItalic" } ) . text ( 'Technologies: ' ) ) . append ( $ ( '<div></div>' ) . text ( info . technologies ) ) . append ( $ ( '<br>' ) ) . append ( $ ( '<div></div>' ) . attr ( { class : "projectTextItalic" } ) . text ( 'Knowledge gained: ' ) ) . append ( $ ( '<div></div>' ) . text ( info . knowledge ) ) . append ( $ ( '<br>' ) ) ) . appendTo ( $ ( '.gridContainer' ) ) return ; }
function to create a Project "card" and append it to the div with class="gridContainer"
function to create a Project " card " and append it to the div with class = " gridContainer "