Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. P

    Why are these hover transitions not working?

    I am trying to get the hover feature to have a slower and smoother transition on the ul.navbar li a and the .button-apt, but for some reason these are not working. I cannot diagnose the problem. * { margin: 0; padding: 0; box-sizing: border-box; } body { font-size: 1.5rem...
  2. P

    Python Django. Filtering room search queries by room_type

    I am trying to make a basic hotel reservation system with Django. I want the users to be able to input dates on an index page and see a list of available room_types for the selected dates. The page should then direct the users to a reservation page for that room type (make_reservation.html...
  3. P

    JavaScript I am trying to make a blackjack game that shows scores responsively, but I can't get it to work factoring in the Ace

    I have made a few blackjack tutorials, and I am now trying to build my own. I want the game to be responsive and show players' scores in real time, but I can't figure out what to do about the Ace. The code that I currently have doesn't reduce the Ace to 1 in the HTML file when the player goes...
  4. P

    Python Flask: How do you loop over items in a database with SQLAlchemy?

    Hi, I am trying to loop over database entries for books and display them on an e-commerce page. The books are stored in an SQLAlchemy database with information on title, author, and price. I want to loop through the database and display the information for each book object in the database...
  5. P

    JavaScript How do I loop through an array and display each item in the HTML page on a new line?

    Hi, I am new to JS from Python. I am trying to create a To Do List in JS, and I am trying to loop over an array that contains the added items. I want each item in the array to appear on a new line in the web app. The best I can get is for the items to be displayed like this item1,item2,item3 I...
Back
Top Bottom