Skip to content

Commit

Permalink
finished
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakibhasaniu committed Oct 12, 2022
1 parent a926e00 commit 0e2239e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
Binary file modified README.md
Binary file not shown.
5 changes: 1 addition & 4 deletions src/components/Item/Item.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ import Topicdetails from '../Topicdetails/Topicdetails';

const Item = () => {
const allData = useLoaderData().data;
console.log(allData);





return (
<div className='px-4 py-16 mx-auto sm:max-w-xl md:max-w-full lg:max-w-screen-xl md:px-24 lg:px-8 lg:py-20' >
<div className='grid gap-8 row-gap-5 mb-8 lg:grid-cols-3 lg:row-gap-8'>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Quiz/Quiz.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import 'react-toastify/dist/ReactToastify.css';
const Quiz = ({ quiz }) => {

const { options, question,correctAnswer } = quiz;
console.log(quiz);

const[correct, setCorrect] = useState(false);
const[isshow, setIsshow] = useState(false);

Expand Down
2 changes: 1 addition & 1 deletion src/components/Statictics/Statictics.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import './Statistics.css'

const Statictics = () => {
const datas = useLoaderData().data;
console.log(datas);

return (
<div className='rechart'>
<div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Topics/Topics.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import Quiz from '../Quiz/Quiz';
const Topics = () => {

const allData = useLoaderData();
// console.log(allData);

const {data} = allData;

const quizs = data.questions;
console.log(quizs);



return (
Expand Down

0 comments on commit 0e2239e

Please sign in to comment.