Recent content by Krygore

  1. Krygore

    JavaScript Return an array of names

    I ended up figuring it out with a map method. function listOfNames(array) { let newArray = array.map(({name}) => name) ; return newArray; } console.log(listOfNames(artists));
  2. Krygore

    JavaScript Return an array of names

    So, that returns just the first name in the array... Amedeo Modigliani It's a pre-generated list TBH. There is a total of 20 artists, Paul Klee and Georges Braque are not on it, but Picasso is
  3. Krygore

    JavaScript Return an array of names

    So I have an object array of classic artists, I need to create a function that creates a new array with just the artist names. I have tried using .map() and for..in loops with no success. Here is where I left off before giving up :sleep: const artists = [ { "id": 0, "name": "Amedeo...
  4. Krygore

    Website overview

    I really like the layout you have! Easy to navigate, everything is clearly visible. If I could change anything about it, it would be the animation on your main header text. Every time the image changes, the text spins in and that's a little obnoxious in my opinion, but please don't change it...
  5. Krygore

    HTML & CSS How To Nest Embedded Video and Audio In DIV?

    Why do you have html tag in there 3 times? All the contents should be within the same html tag. Also, all scripts go just before the closing </body> tag, in the order that you want them executed (yes, it matters). You had a typo in your frameborder properties as well. You could try using...
  6. Krygore

    HTML & CSS Bootstrap

    In my opinion, the only thing Bootstrap is good for is that you can use the templates to get you started on the general idea that you are looking for. Overall though, I agree with @OldMan, learn the coding languages yourself so you have an understanding of them. Implement BS if you want, but use...
  7. Krygore

    HTML & CSS Space between two <div> elements

    Your #info selector doesn't have a display property in use for the top: 0px; that you have there. The code doesn't know what to do with top: 0px; with out having display: absolute; or display: relative;. You should be looking at padding or margin. Also keep in mind the box model! Padding...
  8. Krygore

    HTML h1 as html5 header ?

    Place the header tag before your h1 tag and end it after the last element that you want in your header. So if you only want your h1 in the header, it would look like this: <header> <h1 header= class='post-title entry-title' style='margin: 10px 0;font-size: 17px;'> text title</h1> </header> That...
  9. Krygore

    HTML & CSS Help with border radius in wordpress app

    In your selector tag, delve deeper into the tag and select the img element as well. #mapsvg-map-5 .mapsvg-popover img{ background-color: #fffdf3; padding: 1px 1px; border-radius: 25px; } Give that a try. And what coding language is that?
  10. Krygore

    TailwindCSS

    Has anyone here used TailwindCSS? If so, how difficult is it to learn to use? I'd love to be able to just assign a class to get the effect I want without having to mess with a bunch of CSS properties and toy around with it til I figure out the right formula... My code looks like hell and I want...
  11. Krygore

    JavaScript Video coding lessons for absolute beginners

    Looks like you get quite a few views! My only suggestion (after watching about 15 min of part one intro to js) would be that you use a smaller portrait area for your visual person and let more of the computer screen be seen so you don't have to do things in half screen. Makes it harder for...
  12. Krygore

    JavaScript Why does javascript do not show the calculation on output?

    You don't need the quotations in the console.log. Quotations are used when you want to console.log a string. Mathematical equations are to be done without it. console.log (80 % 3);
  13. Krygore

    JavaScript jqeury why does my array not exist?

    In your variable naming the $array_to_json it includes "echo" whereas your for loop does not. //Your var declaration and for loop var dates = <?php echo $array_to_json ?>; for(var i = dates; i < <?php $array_to_json ?>. length ; i++) // Proper for loop name var dates = <?php echo...
  14. Krygore

    Your Toolbox

    OS: Windows 11 Web-Browser: Chrome Email-Client: Gmail Text-Editor for Coding: Microsoft Visual Studio IDE: Microsoft Visual Studio Documents/Presentations/Spreadsheets: WPS Office Image-Editing: GIMP
  15. Krygore

    greetings

    Welcome to the community @klaw7 ! Don't hesitate to ask any questions, a lot of knowledgeable people use this site regularly!
Top