This is the code for the fragment. Please help me place a button and `onClick` it should go to the respective activity

```
class boards extends Fragment {

@Nullable
@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, Bundle savedInstanceState) {
    return inflater.inflate(R.layout.boards, container, false);

}

}

```