Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Recent content by anuraa

  1. A

    JavaScript Toggle four photos with a click

    Thanks. I like to learn your style of solution as well. I was not clear before telling this. In two div tags, I have got entirely two different set of images. I would love to see the complete set of codes, if you could please. Thanks again
  2. A

    JavaScript Toggle four photos with a click

    Hello friends: I found the following code to be working. However, there are two issues that I would like to get it clear. 1. to overcome the first click on first div, going to the third element, I coded the fist images array as follows. var images = ['four.jpg', 'one.jpg', 'two.jpg'...
  3. A

    JavaScript Toggle four photos with a click

    Thank you very much. It was working fine. Lots of new concepts. I was looking for two (now three) javascripts tagged/referenced with id of the dev. That way I can comfortably decorate my DOM. Thanks again
  4. A

    JavaScript Toggle four photos with a click

    Thank you very much. I learnt many things with your comments to explain. I am trying to expand your brilliant concept. That is to toggle 3 different images in a different div to that of 4 images inside the first div. I am struggling there. Hope, you could help me. I have attached here the...
  5. A

    JavaScript Toggle four photos with a click

    Hi friends: I was successful with toggling two photos. I am trying to expand it to four photos without any success. I am grateful for your helps. <!DOCTYPE html> <html> <head> <title>Switch Images</title> <style> *{margin: 0; padding: 0; box-sizing: border-box; }...
  6. A

    Answered I want my second <div> text to go down instead on top

    With absolute positioning, document flow is confused. I added a class where I specified float left as well as the position parms to get over the issue.
  7. A

    Answered I want my second <div> text to go down instead on top

    Thanks for the query. I have attached a photo. It was with running the code above. If you carefully see on the top right corner, you will see my text "<p>This has to go down the selectors</p>". Appreciate the guidance.
  8. A

    Answered I want my second <div> text to go down instead on top

    Hi: I want the second <div> text to go below the logo and my selectors. Thanks for your help. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> .floatleft{...
  9. A

    HTML & CSS To get the text inside the image

    Hello friends: I was fascinated with the website www.amaliyaFoundation.com. When I looked at the source code, it refers .php files as well. I am trying with what I know. I have attached my code. Right now, I am struggling with having to show the text inside the images. I used the guidance of...
  10. A

    Have the 3 images in the same line

    Thank you very much. Worked
  11. A

    Have the 3 images in the same line

    Hello Friends, I am trying to have the description of image come below the image. Once, I tried with figure and figcaption tags, the- second image goes below. I want to have the three images in same horizontal line while have the description to be below. If you run the code below, you may...
  12. A

    To have more space in right side

    I took out the padding in texta and textb classes. Replaced with margin-right: 15px. it worked.
  13. A

    To have more space in right side

    Hello Friends: I am trying to have more space in right side of after the text. Photo, then, text. I extracted the part of the code. If you look at www.sis.anura7.ca , On the right side of the text, there is no space at all, specially on a smart phone. Thanks for your help. <!DOCTYPE...
  14. A

    JavaScript Angular Project help

    Is this right if (value.length <= 0) {
  15. A

    JavaScript Angular Project help

    I am struggling. Hope you could help I have given the following code segment in an Angular Project. In this, teacher-table component's component.ts file, need the logic for searching inside the function Input : Searching text Output: Update the teacherdata array of the teacher class...
Back
Top Bottom