Opens profile photo
Follow
Ritika Agrawal
@RitikaAgrawal08
Simplifying CSS & JS with tutorial threads • Technical Writer • DM for collaboration
Indialinkfree.eddiehub.io/Ritika-Agrawal…Born February 17Joined March 2020

Ritika Agrawal’s Tweets

🔺Favicon is a small image that appears beside the website name. 🔺It is known by many names like tab icon, bookmark icon because it is displayed on a browser's tab, bookmark bar etc. 🔺Most famous & widely used format for favicon is .ico ⬇️
Image
1
6
Show this thread
Which HTML tag is used to add a favicon for a website What do you think?💭
  • <a>
    16.5%
  • <meta>
    27.3%
  • <link>
    48.5%
  • <base>
    7.7%
777 votesFinal results
11
31
Hey everyone!! I am planning to write my first Ebook but not really able to decide on a good topic. I have only 3 topics in mind. Which one should I write on? If you have any other CSS/HTML related topic, please mention in the comments!!
  • CSS Box Model
    41.4%
  • CSS Variables
    39.1%
  • HTML forms
    19.5%
169 votesFinal results
21
26
⚡️Values ▪️ "accept" can take any one of the following values • file extension : like .gif , .jpg , .png etc. • audio/* : means user can select all sound files • video/* : user can select all video files • image/* : user can select any image file ⬇️
2
13
Show this thread
Which HTML attribute is used to specify the type of files allowed for input file tag What do you think?💭
  • type
    58.2%
  • accept
    35.4%
  • multiple
    4.3%
  • capture
    2.1%
373 votesFinal results
8
22
5. Adding ":checked" pseudo class ▪️ with :checked class we can easily style elements when a checkbox is clicked by pairing them up with appropriate selectors. ▪️ I've increased width to 100% for ::before of checkbox input tag ⬇️
Image
1
8
Show this thread
4. Styling "toggle-text" ▪️ pointer-events:none prevents <span> from obstructing the click event on checkbox input tag. ▪️ ::before of <span> is used to write "OFF" which changes to "ON" when toggle is clicked. ⬇️
Image
1
7
Show this thread
3. Styling checkbox input tag ▪️ apperance:none removes default styling of checkbox. ▪️ ::before pseudo element is used to add that reddish brown background when toggle button is clicked ▪️ z-index is -1 for ::before so that it appears behind the text written in <span> ⬇️
Image
1
6
Show this thread
2. Styling <label> tag ▪️ position:relative is used because checkbox tag and span are placed relative to this <label> tag. ▪️inline-block is used so that I can add width & height to <label> tag ⬇️
Image
1
7
Show this thread
4. Styling <span> tag ▪️position: relative is used because z-index property doesn't work without position property. ▪️z-index is set as 2 which is higher than ::before so that this text appears on top of stripes pattern. ▪️on hover text color is changed to white ⬇️
Image
1
10
Show this thread
3. Styling ::before ▪️left is set as 50% to start the transition from middle ▪️linear-gradient() is used to make stripes ▪️z-index is set to 1 so that this background appears below the text written inside <span> ▪️on hover, width is transitioned to 100% ⬇️
Image
1
10
Show this thread
12. checkCount() & resetValues() when a backspace is pressed, checkCount() is called to check for count variable values & accordingly remove the "checked" class from <li> resetValues() resets the variables & styling of <li> tags. ⬇️
Image
2
15
Show this thread