const h = require('virtual-dom/h');

module.exports = function (data) {
  return h('form', {method: 'post', action: '/new-player/' + data}, [
    h('label', [
      'Enter your name:',
      h('input', {type: 'text', name: 'name'})
    ]),
    h('button', {type: 'submit'}, 'Join Game!')
  ]);
};

@@ -74,16 +74,58 @@
  return 
+h('div', %7BclassName: 'new-player'%7D, %5B%0A    
 h('form'
@@ -181,16 +181,18 @@
 , %5B%0A    
+  
 h('label
@@ -202,16 +202,18 @@
 %5B%0A      
+ 
+ 
 'Enter y
@@ -224,16 +224,18 @@
 name:',%0A
+  
       h(
@@ -281,12 +281,16 @@
     
+  
 %5D),%0A
+  
     
@@ -333,16 +333,23 @@
 Game!')%0A
+    %5D)%0A
   %5D);%0A%7D;

Add className to new-player view