JSFiddle - React, Tailwind, and code Playground

by Santosh Mohanty

HTML

classes hold data, have methods that interact with that data, and are used to instantiate objects.dear 1 min

CSS

dear u therew yes

JavaScript

class Student

 def name
   @name = "Santa"
  end
  
  def info
   @@school = "MES"
   @@addr = "Jeypore"
  end
  
  def display
   name = @name #=> ERROR @name is undefined
   school = @@school #=> Success
   end
   
   def index 
    @@srudent = Student.all
    @students = @@students.paginate(:page => 1,10)
   end
    
   def paginate
   @student = @@student
   @student = @student.paginate(:page => 2,10)
   
   end
   end