Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8255853
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T01:40:07+00:00 2026-06-08T01:40:07+00:00

Hey guys plz help I am trying to convert this html to jade using

  • 0

Hey guys plz help I am trying to convert this html to jade using express but I am getting the following syntax error:Unexpected reserved word
This is my html code that I want to convert to jade

<html>

<head>

<title>New Todolist</title>

<link rel="stylesheet" href="/stylesheets/jquery-ui-1.8.20.custom.css"></link>

<link rel="stylesheet" href="/stylesheets/jquery.ui.selectable.css"></link>

<script type="text/javascript" src="/javascripts/jquery-1.7.2.min.js"></script>

<script type="text/javascript" src="/javascripts/jquery-ui-1.8.20.custom.min.js"></script>

<script type="text/javascript" src="/javascripts/jquery.ui.selectable.js"></script>

<script type="text/javascript" src="/javascripts/show.js"></script>

</head>

<body>

<h1>Checklist</h1>

<a href='' id='shorcuts' style="left: 90%; position: relative;">Shotcuts</a>

    <div class='display-url' style="left: 40%; position: relative; top: 70px; width: 400px;">

                <tr id='url'>

        <td>URL :</td>

        <td><input type='text' id='url-txt'></input></td>

        <td><input type='button' id='url-btn' value='Copy'></input></td>

       </tr>

    </tr>

        <td><input type='hidden' id='url-hidden'></input></td>

    </tr>

</div>  

<div class='display-title' style="left: 40%; position: relative; top: 150px; width: 400px;">

    <tr id='title'>

        <td>Title (optional) :</td>

        <td><input type='text' id='title-txt' autocomplete='off'></input></td>

    </tr>

</div>

<div class='display-content' style="left: 40%; position: relative; top: 200px; width:400px;">

    <table class='content' tabindex="0" style=" table-layout: fixed;">

        <tr>

            <td><input type="checkbox" class='task-done'></input></td>

            <td><input type="textArea" class="descript-task" autocomplete="off"        

                              autofocus="autofocus" ></input></td>

            <td><input type="hidden" class='hidden-input'></input></td>

        </tr>

    </table>

</div>  

</body>

</html>

And this is my jade code

h1 Checklist

div.display-url

 tr

  td

   p URL :

  td

   input(type='text')

  td

    input(type='button' ,value='Copy')

  tr

   td

    input(type='hidden',id='url-hidden')

div.display-title

 tr

  td 

   p Title (optional)

  td

   input(type='text',id='title-txt',autocomplete='off') 

div.display-content

 table.content

  tbody

   tr

    td

     input(type="checkbox" ,class='task-done')

    td

     input(type="textArea" ,class='descript-task',autocomplete="off" autofocus="autofocus") 

    td 

     input(type="hidden",class='hidden-input')

layout code

!!!

html

  head

    title= title

    link(rel='stylesheet', href='/stylesheets/jquery-ui-1.8.20.custom.css')

    link(rel='stylesheet', href='/stylesheets/jquery.ui.selectable.css')

    script(type="text/javascript",src="/javascripts/jquery-1.7.2.min.js")

    script(type="text/javascript",src="/javascripts/jquery-ui-1.8.20.custom.min.js")

    script(type="text/javascript",src="/javascripts/jquery.ui.selectable.js")

    script(type="text/javascript",src="/javascripts/show.js")

  body!= body

this is my app.cnfigure in app.js

app.configure(function(){

  app.set('views', __dirname + '/views');

  app.set('view engine', 'jade');

  app.set("view options", {layout: false});

  app.use(express.bodyParser());

  app.use(express.methodOverride());

  app.use(app.router);

  app.use(express.static(__dirname + '/public'));

});

app.get('/', function(req, res){

   res.render("show",{title:'newtodo'});

});
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T01:40:08+00:00Added an answer on June 8, 2026 at 1:40 am

    Look’s like you’re missing a comma after “checkbox”:

    input(type="checkbox" class='task-done')
                         ^
    

    and, as Jonathan pointed out, one after “autocomplete”:

    input(type="textArea" ,class='descript-task',autocomplete="off" autofocus="autofocus")
                                                                   ^
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey guys this is my html code: <div class=nakupy> <li class=icn_kategorie><a href=#>Nákupy</a> <div class=sub_menu>
hey guys having this really simple problem but cant seem to figure out have
hey guys I have the follow code in js: $(document).ready(function(){ $(.replyLink).click(function(){ $(#form-to-+this.id).html(htmlForm()).toggle(500); return false;
Hey guys I'm getting three things right now that I'm trying to take care
Hey guys, am trying to write to do type casting in java, but i
Hey guys, I'm just starting out with GWT and am getting the following error
hey guys, i'm getting an exception on the following inner exception: {Value cannot be
Hey guys I know that this is probably just a simple sql statement but
hey guys was hoping you could help me out.. The task seems simple but
hey guys i know this may sound stupid, but i am stuck with this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.