<% if (ensureAuthenticated) { %>
This is bold text
This text is italicized
This was mistaken text
##################################
<% if(!user) { %>
Create your account here! Sign Up
<% } %>###########################################
<%= user.name %>
######################################## if(email.match !== validateEmail()){ errors.push({ msg:'Email is not valid' }) }
############################## Check password length... if(password.length < 6){ errors.push({ msg:'Password should be at least 6 characters' }) }
###############################
— No forum — Technology Food City Product
###############################
############################### route.post('/ask-question', (req, res) => { const { title, description, tags } = req.body; const askQuestion = new Question({ title, description, tags }) askQuestion.save() .then(item => { res.redirect('/'); }) .catch(err => console.log(err)); console.log(req.body); })