function writeToFile(fileName, data) {
    fs.writeFileSync(fileName + '.md', data, (err) => {
        err ? console.log("whoops, error") : console.log("made my day")
    });
}
// TODO: Create a function to write README file
Create a function to write README file
Create a function to write README file
function writeToFile(fileName, data) {
    fs.writeFileSync(fileName + '.md', data, (err) => {
        err ? console.log("whoops, error") : console.log("made my day")
    });
}
function writeToFile ( fileName , data ) { fs . writeFileSync ( fileName + '.md' , data , ( err ) => { err ? console . log ( "whoops, error" ) : console . log ( "made my day" ) } ) ; }
TODO: Create a function to write README file
TODO : Create a function to write README file