Grace Griffin

1638205779

The top five courses websites for pakistani students

There are many courses websites that allow you to learn the things that interest you. Many of these sites offer course content which can be downloaded and printed, making learning even more convenient. One of the good things about online learning is that you can do it on your own time and pace. You can also contact a teacher to help out if you get stuck.

It's a very popular trend in Pakistan and today, I'm going to share the top five courses websites that our students use. Before we start, however, please note that these websites may not be 100% error free due to the fact that they are updated on an ongoing basis.

Email Course Content:

The following websites are 100% free to use and offer you DIY e-mails that serve as course DIYs, videos, discussions forums or PDF guides. You can take these courses at your own pace according to your schedule. Udemy : The online learning website has over 10 million students enrolled worldwide with 1,800 different courses. This site is aimed at teachers and professionals who want to share their knowledge with the world. Courses range from web development languages, entrepreneurship, public speaking, photography etc.

myHuddle: The online learning website offers free online courses in Pakistan and filled with thousands of educational videos uploaded by many people in the country. You can read, watch and listen to lessons from the website. Anyone can upload a course for free on myHuddle website.

Tuition: The online learning platform offers over 160 different courses in Pakistan. Courses are broken down into categories like Mathemetics, Arts & Design, Business, Computer Applications etc. You can learn these courses at your own pace.

MIT Open Courseware: You can learn many different subjects through this website, but the site is only available in English. The courses are broken down into categories like Interdisciplinary, Life Science & Technology etc. Most of these courses are created by students who study at MIT or professors there.

The Khan Academy : You can learn many different subjects through the courses on this website. The site is aimed at helping students who need extra help with their studies and for those who want to improve their grades. Courses range from Maths to Arts, Humanities etc.

There is one more fastest growing name in Pakistan which is Nearpeer.org who offer online courses Like: O-levels and A-levels and MDCAT and more.

Some of these courses are video-based while some offer text or audio material. If you're interested in learning something new, I highly recommend that you check out some of these websites. They're all free to use and can help you learn new things quickly.

 

What is GEEK

Buddha Community

How to Create an Image Clip Animation with Slider Controls using Only HTML & CSS

In this blog you’ll learn how to create an Image Clip Animation with Slider Controls using only HTML & CSS.

To create an Image Clip Animation with Slider Controls using only HTML & CSS. First, you need to create two Files one HTML File and another one is CSS File.

1: First, create an HTML file with the name of index.html

<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <title>Image Clip Animation | Codequs</title>
    <link rel="stylesheet" href="style.css">
  </head>
  <body>
    <div class="wrapper">
      <input type="radio" name="slide" id="one" checked>
      <input type="radio" name="slide" id="two">
      <input type="radio" name="slide" id="three">
      <input type="radio" name="slide" id="four">
      <input type="radio" name="slide" id="five">
      <div class="img img-1">
        <!-- <img src="images/img-1.jpg" alt="">
      </div>
      <div class="img img-2">
        <img src="images/img-2.jpg" alt="">
      </div>
      <div class="img img-3">
        <img src="images/img-3.jpg" alt="">
      </div>
      <div class="img img-4">
        <img src="images/img-4.jpg" alt="">
      </div>
      <div class="img img-5">
        <img src="images/img-5.jpg" alt="">
      </div>
      <div class="sliders">
        <label for="one" class="one"></label>
        <label for="two" class="two"></label>
        <label for="three" class="three"></label>
        <label for="four" class="four"></label>
        <label for="five" class="five"></label>
      </div>
    </div>
  </body>
</html>

2: Second, create a CSS file with the name of style.css

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: -webkit-linear-gradient(136deg, rgb(224,195,252) 0%, rgb(142,197,252) 100%);
}
.wrapper{
  position: relative;
  width: 700px;
  height: 400px;
}
.wrapper .img{
  position: absolute;
  width: 100%;
  height: 100%;
}
.wrapper .img img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  clip-path: circle(0% at 0% 100%);
  transition: all 0.7s;
}
#one:checked ~ .img-1 img{
  clip-path: circle(150% at 0% 100%);
}
#two:checked ~ .img-1 img,
#two:checked ~ .img-2 img{
  clip-path: circle(150% at 0% 100%);
}
#three:checked ~ .img-1 img,
#three:checked ~ .img-2 img,
#three:checked ~ .img-3 img{
  clip-path: circle(150% at 0% 100%);
}
#four:checked ~ .img-1 img,
#four:checked ~ .img-2 img,
#four:checked ~ .img-3 img,
#four:checked ~ .img-4 img{
  clip-path: circle(150% at 0% 100%);
}
#five:checked ~ .img-1 img,
#five:checked ~ .img-2 img,
#five:checked ~ .img-3 img,
#five:checked ~ .img-4 img,
#five:checked ~ .img-5 img{
  clip-path: circle(150% at 0% 100%);
}
.wrapper .sliders{
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  display: flex;
}
.wrapper .sliders label{
  border: 2px solid rgb(142,197,252);
  width: 13px;
  height: 13px;
  margin: 0 3px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
#one:checked ~ .sliders label.one,
#two:checked ~ .sliders label.two,
#three:checked ~ .sliders label.three,
#four:checked ~ .sliders label.four,
#five:checked ~ .sliders label.five{
  width: 35px;
  border-radius: 14px;
  background: rgb(142,197,252);
}
.sliders label:hover{
  background: rgb(142,197,252);
}
input[type="radio"]{
  display: none;
}

Now you’ve successfully created an Image Clip Animation with Sliders using only HTML & CSS.

#html #css 

中條 美冬

1639990140

Reactで動的テーブルを作成する方法

この記事では、reactで動的テーブルを作成する方法を教えます。非常に簡単なことは知っていますが、このチュートリアルは初心者向けであり、初心者はこの種の作業を行う方法を知っている必要があります。つまり、3×4のテーブルを生成したいとしますか?よくわかりませんが、行と列の数値を変数に格納し、それに基づいてテーブルを生成できます。、テーブルに検索と並べ替えを追加する方法

import React, { Component } from 'react'

class Table extends Component {
   constructor(props) {
      super(props) //since we are extending class Table so we have to use super in order to override Component class constructor
      this.state = { //state is by default an object
         students: [
            { id: 1, name: 'Wasif', age: 21, email: 'wasif@email.com' },
            { id: 2, name: 'Ali', age: 19, email: 'ali@email.com' },
            { id: 3, name: 'Saad', age: 16, email: 'saad@email.com' },
            { id: 4, name: 'Asad', age: 25, email: 'asad@email.com' }
         ]
      }
   }

   render() { //Whenever our class runs, render method will be called automatically, it may have already defined in the constructor behind the scene.
      return (
         <div>
            <h1>React Dynamic Table</h1>
         </div>
      )
   }
}

export default Table //exporting a component make it reusable and this is the beauty of react

 

renderTableData() {
      return this.state.students.map((student, index) => {
         const { id, name, age, email } = student //destructuring
         return (
            <tr key={id}>
               <td>{id}</td>
               <td>{name}</td>
               <td>{age}</td>
               <td>{email}</td>
            </tr>
         )
      })
   }

   render() {
      return (
         <div>
            <h1 id='title'>React Dynamic Table</h1>
            <table id='students'>
               <tbody>
                  {this.renderTableData()}
               </tbody>
            </table>
         </div>
      )
   }

 

renderTableHeader() {
      let header = Object.keys(this.state.students[0])
      return header.map((key, index) => {
         return <th key={index}>{key.toUpperCase()}</th>
      })
   }

   render() {
      return (
         <div>
            <h1 id='title'>React Dynamic Table</h1>
            <table id='students'>
               <tbody>
                  <tr>{this.renderTableHeader()}</tr>
                  {this.renderTableData()}
               </tbody>
            </table>
         </div>
      )
   }
#title {
   text - align: center;
   font - family: arial, sans - serif;
}

#students {
   text - align: center;
   font - family: "Trebuchet MS", Arial, Helvetica, sans - serif;
   border - collapse: collapse;
   border: 3 px solid #ddd;
   width: 100 % ;
}

#students td, #students th {
   border: 1 px solid #ddd;
   padding: 8 px;
}

#students tr: nth - child(even) {
   background - color: #f2f2f2;
}

#students tr: hover {
   background - color: #ddd;
}

#students th {
   padding - top: 12 px;
   padding - bottom: 12 px;
   text - align: center;
   background - color: #4CAF50;
  color: white;
}
if (errors.length) {
   alert("gikhare sag");
   setFormaState({
      ...formState,
      errors
   });
   return;
}
userService.addUser(formState.user);
setFormaState({
   errors: [],
   users: userService.getUsers()
});
return errors;

Cómo crear una tabla dinámica en React

En este artículo intentaré enseñar cómo crear una tabla dinámica en react. Ya sé que es bastante simple, pero este tutorial es para principiantes y un principiante debe saber cómo hacer este tipo de cosas. ¿Quieres decir que digamos que quieres generar una tabla 3 × 4? No estoy realmente seguro, pero puede almacenar números de filas y columnas en variables y, en función de eso, generar la tabla. , cómo agregar búsqueda y clasificación en la tabla

import React, { Component } from 'react'

class Table extends Component {
   constructor(props) {
      super(props) //since we are extending class Table so we have to use super in order to override Component class constructor
      this.state = { //state is by default an object
         students: [
            { id: 1, name: 'Wasif', age: 21, email: 'wasif@email.com' },
            { id: 2, name: 'Ali', age: 19, email: 'ali@email.com' },
            { id: 3, name: 'Saad', age: 16, email: 'saad@email.com' },
            { id: 4, name: 'Asad', age: 25, email: 'asad@email.com' }
         ]
      }
   }

   render() { //Whenever our class runs, render method will be called automatically, it may have already defined in the constructor behind the scene.
      return (
         <div>
            <h1>React Dynamic Table</h1>
         </div>
      )
   }
}

export default Table //exporting a component make it reusable and this is the beauty of react

 

renderTableData() {
      return this.state.students.map((student, index) => {
         const { id, name, age, email } = student //destructuring
         return (
            <tr key={id}>
               <td>{id}</td>
               <td>{name}</td>
               <td>{age}</td>
               <td>{email}</td>
            </tr>
         )
      })
   }

   render() {
      return (
         <div>
            <h1 id='title'>React Dynamic Table</h1>
            <table id='students'>
               <tbody>
                  {this.renderTableData()}
               </tbody>
            </table>
         </div>
      )
   }

 

renderTableHeader() {
      let header = Object.keys(this.state.students[0])
      return header.map((key, index) => {
         return <th key={index}>{key.toUpperCase()}</th>
      })
   }

   render() {
      return (
         <div>
            <h1 id='title'>React Dynamic Table</h1>
            <table id='students'>
               <tbody>
                  <tr>{this.renderTableHeader()}</tr>
                  {this.renderTableData()}
               </tbody>
            </table>
         </div>
      )
   }
#title {
   text - align: center;
   font - family: arial, sans - serif;
}

#students {
   text - align: center;
   font - family: "Trebuchet MS", Arial, Helvetica, sans - serif;
   border - collapse: collapse;
   border: 3 px solid #ddd;
   width: 100 % ;
}

#students td, #students th {
   border: 1 px solid #ddd;
   padding: 8 px;
}

#students tr: nth - child(even) {
   background - color: #f2f2f2;
}

#students tr: hover {
   background - color: #ddd;
}

#students th {
   padding - top: 12 px;
   padding - bottom: 12 px;
   text - align: center;
   background - color: #4CAF50;
  color: white;
}
if (errors.length) {
   alert("gikhare sag");
   setFormaState({
      ...formState,
      errors
   });
   return;
}
userService.addUser(formState.user);
setFormaState({
   errors: [],
   users: userService.getUsers()
});
return errors;

Как создать динамическую таблицу в React

В этой статье я постараюсь научить создавать динамическую таблицу в React. Да, я знаю, что это довольно просто, но этот урок предназначен для новичков, и новичок должен знать, как это сделать. Вы имеете в виду, что, скажем, вы хотите создать таблицу 3 × 4? Я не совсем уверен, но вы можете хранить номера строк и столбцов в переменной и на основе этого создавать таблицу. , как добавить поиск и сортировку в таблицу

import React, { Component } from 'react'

class Table extends Component {
   constructor(props) {
      super(props) //since we are extending class Table so we have to use super in order to override Component class constructor
      this.state = { //state is by default an object
         students: [
            { id: 1, name: 'Wasif', age: 21, email: 'wasif@email.com' },
            { id: 2, name: 'Ali', age: 19, email: 'ali@email.com' },
            { id: 3, name: 'Saad', age: 16, email: 'saad@email.com' },
            { id: 4, name: 'Asad', age: 25, email: 'asad@email.com' }
         ]
      }
   }

   render() { //Whenever our class runs, render method will be called automatically, it may have already defined in the constructor behind the scene.
      return (
         <div>
            <h1>React Dynamic Table</h1>
         </div>
      )
   }
}

export default Table //exporting a component make it reusable and this is the beauty of react

 

renderTableData() {
      return this.state.students.map((student, index) => {
         const { id, name, age, email } = student //destructuring
         return (
            <tr key={id}>
               <td>{id}</td>
               <td>{name}</td>
               <td>{age}</td>
               <td>{email}</td>
            </tr>
         )
      })
   }

   render() {
      return (
         <div>
            <h1 id='title'>React Dynamic Table</h1>
            <table id='students'>
               <tbody>
                  {this.renderTableData()}
               </tbody>
            </table>
         </div>
      )
   }

 

renderTableHeader() {
      let header = Object.keys(this.state.students[0])
      return header.map((key, index) => {
         return <th key={index}>{key.toUpperCase()}</th>
      })
   }

   render() {
      return (
         <div>
            <h1 id='title'>React Dynamic Table</h1>
            <table id='students'>
               <tbody>
                  <tr>{this.renderTableHeader()}</tr>
                  {this.renderTableData()}
               </tbody>
            </table>
         </div>
      )
   }
#title {
   text - align: center;
   font - family: arial, sans - serif;
}

#students {
   text - align: center;
   font - family: "Trebuchet MS", Arial, Helvetica, sans - serif;
   border - collapse: collapse;
   border: 3 px solid #ddd;
   width: 100 % ;
}

#students td, #students th {
   border: 1 px solid #ddd;
   padding: 8 px;
}

#students tr: nth - child(even) {
   background - color: #f2f2f2;
}

#students tr: hover {
   background - color: #ddd;
}

#students th {
   padding - top: 12 px;
   padding - bottom: 12 px;
   text - align: center;
   background - color: #4CAF50;
  color: white;
}
if (errors.length) {
   alert("gikhare sag");
   setFormaState({
      ...formState,
      errors
   });
   return;
}
userService.addUser(formState.user);
setFormaState({
   errors: [],
   users: userService.getUsers()
});
return errors;

So erstellen Sie eine dynamische Tabelle in React

In diesem Artikel werde ich versuchen zu lehren, wie man eine dynamische Tabelle in React erstellt. Ja, ich weiß, es ist ziemlich einfach, aber dieses Tutorial ist für Anfänger und ein Anfänger sollte wissen, wie man diese Art von Dingen erledigt. Ich bin mir nicht sicher, aber Sie können Zeilen- und Spaltennummern in Variablen speichern und darauf basierend die Tabelle generieren. ,wie man Suche und Sortierung in der Tabelle hinzufügt

import React, { Component } from 'react'

class Table extends Component {
   constructor(props) {
      super(props) //since we are extending class Table so we have to use super in order to override Component class constructor
      this.state = { //state is by default an object
         students: [
            { id: 1, name: 'Wasif', age: 21, email: 'wasif@email.com' },
            { id: 2, name: 'Ali', age: 19, email: 'ali@email.com' },
            { id: 3, name: 'Saad', age: 16, email: 'saad@email.com' },
            { id: 4, name: 'Asad', age: 25, email: 'asad@email.com' }
         ]
      }
   }

   render() { //Whenever our class runs, render method will be called automatically, it may have already defined in the constructor behind the scene.
      return (
         <div>
            <h1>React Dynamic Table</h1>
         </div>
      )
   }
}

export default Table //exporting a component make it reusable and this is the beauty of react

 

renderTableData() {
      return this.state.students.map((student, index) => {
         const { id, name, age, email } = student //destructuring
         return (
            <tr key={id}>
               <td>{id}</td>
               <td>{name}</td>
               <td>{age}</td>
               <td>{email}</td>
            </tr>
         )
      })
   }

   render() {
      return (
         <div>
            <h1 id='title'>React Dynamic Table</h1>
            <table id='students'>
               <tbody>
                  {this.renderTableData()}
               </tbody>
            </table>
         </div>
      )
   }

 

renderTableHeader() {
      let header = Object.keys(this.state.students[0])
      return header.map((key, index) => {
         return <th key={index}>{key.toUpperCase()}</th>
      })
   }

   render() {
      return (
         <div>
            <h1 id='title'>React Dynamic Table</h1>
            <table id='students'>
               <tbody>
                  <tr>{this.renderTableHeader()}</tr>
                  {this.renderTableData()}
               </tbody>
            </table>
         </div>
      )
   }
#title {
   text - align: center;
   font - family: arial, sans - serif;
}

#students {
   text - align: center;
   font - family: "Trebuchet MS", Arial, Helvetica, sans - serif;
   border - collapse: collapse;
   border: 3 px solid #ddd;
   width: 100 % ;
}

#students td, #students th {
   border: 1 px solid #ddd;
   padding: 8 px;
}

#students tr: nth - child(even) {
   background - color: #f2f2f2;
}

#students tr: hover {
   background - color: #ddd;
}

#students th {
   padding - top: 12 px;
   padding - bottom: 12 px;
   text - align: center;
   background - color: #4CAF50;
  color: white;
}
if (errors.length) {
   alert("gikhare sag");
   setFormaState({
      ...formState,
      errors
   });
   return;
}
userService.addUser(formState.user);
setFormaState({
   errors: [],
   users: userService.getUsers()
});
return errors;